=== GPSE Search === Contributors: ACLabs Tags: search, google, gcse, programmable search, cse Requires at least: 6.4 Tested up to: 6.9.1 Stable tag: 1.2.3 Requires PHP: 8.2 License: AGPL v3 or later License URI: https://www.gnu.org/licenses/agpl-3.0.html
Redirects WordPress searches to display Google Programmable Search Engine (GCSE) results.
- Seamless Integration: Works with the standard WordPress Search block or your theme's search form.
- Search Results Page: Redirects all searches to a dedicated page of your choice.
- Configurable: Easy settings to add your Search Engine ID (CX) and select the results page.
- Google-Powered Results: Display Google CSE results using the GPSE Search Results block or
[gpse_results]shortcode.
- Install the Plugin: Upload the
gpsefolder to your/wp-content/plugins/directory and activate it. - Create a Results Page:
- Create a new Page in WordPress (e.g., "Search Results").
- Add the GPSE Search Results block (or the
[gpse_results]shortcode) to the page content. - Publish the page.
- Configure:
- Go to Settings > GPSE.
- Enter your Google Search Engine ID (CX). (Get this from programmablesearchengine.google.com).
- Select your "Search Results" page from the dropdown.
- Save Changes.
- Add Search Form:
- Add the standard WordPress Search block to your site (header, sidebar, page, etc.).
- Or use your theme's built-in search form.
- Search Box: Use the standard WordPress Search block or your theme's search form to allow users to search your site.
- Redirection: When a user searches (e.g.,
/?s=myquery), they are automatically redirected to your custom Results Page (e.g.,/search-results/?q=myquery). - Google CSE Results: The Results Page displays Google-powered search results using your configured Google Programmable Search Engine.