Integrating Google Search Appliance with WordPress
-
Our company has a Google Search Appliance and it’s up to me to integrate it into our WordPress install. This post from Brad Westness has helped me quite a bit -> https://www.bradwestness.com/2010/04/writing-an-ajax-google-search-appliance-connector-part-1-php/
Since I’m ignoring the AJAX part of that post I need to make my own pagination links. I could write completely new pagination code but I’d like to use the pagination functionality already built into WordPress. I figured if I could just set the found_posts property of the $wp_query object to the total number of results from the Google Search Appliance the pagination would just work. From there I could just extract the page number and run my Google Query and display the results. The problem is that doesn’t work.
Anyone have any ideas on how I can make paginating my Google Search Appliance results work without writing duplicate pagination code?
- The topic ‘Integrating Google Search Appliance with WordPress’ is closed to new replies.