[wp-edu] Google Custom Search Engine (CSE)

Berardi, Richard rberardi at georgian.edu
Tue Feb 28 15:34:53 UTC 2017


Good morning colleagues,
We have been successfully using Google CSE<https://cse.google.com/cse/> within our WordPress environment since our new site launch, which is going on two years.
I have changed the searchform.php page code to call up Google search results into a /search/ page, using the “Results only” option, under Look and feel within the Custom Search website options. Again, this has been working fine until a few days ago.

We have been using the WP Google Search<https://wordpress.org/plugins/wp-google-search/> plugin.
It is now working sporadically.
It seems to work ok in Safari and IE, but not Chrome or Firefox.

If I switch to using the CSE supplied code, instead of the plugin, it works ok in Chrome and Firefox but not in Safari or IE!

I have spent four days trying to troubleshoot this. Being a one-man operation, I am out of resources and need to focus on my projects.

Here is an example search:
http://georgian.edu/search/?q=admissions

I am currently using the CSE supplied code, and not the plugin – so Safari and IE are having trouble.
I have also change the Look and feel to display a search box on the page itself. (which has no issues with searching the site)
This tells me that there is some type of disconnect with the Wordpress search displaying the results. Again, the search box on the page itself works perfectly.

If you reload the page a few times, it displays the results!

Does anyone have any insight in getting Google CSE to work correctly within WordPress, using the built-in search?

Thank you,
Rich

--
Richard Berardi
Web Administrator
Marketing & Communications
Georgian Court University
900 Lakewood Ave.
Lakewood, NJ 08701
p: 732-987-2469<tel:732-987-2469>
e: rberardi at georgian.edu<mailto:rberardi at georgian.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-edu/attachments/20170228/bb874466/attachment.html>


More information about the wp-edu mailing list