Install the plugin
Download the zip, upload it in WordPress, and activate SearchCue from your plugins screen.
SearchCue
The SearchCue WordPress plugin makes it easy to add SearchCue to your WordPress site. You can read the source code below, or download the plugin ready to install.
Download the zip, upload it in WordPress, and activate SearchCue from your plugins screen.
Sign in to SearchCue, copy your site settings, and let the hosted crawler index your public content.
SearchCue runs search and answers from our hosted index instead of adding a heavy search engine to your database.
The browser below is generated from the plugin files during the site build. Pick a file to read it without downloading anything.
searchcue SearchCue WordPress plugin source code
# SearchCue - WordPress Plugin
SearchCue is a hosted site search service with results that appear as visitors type, typo-tolerant matching, semantic search, and optional cited AI answers grounded in indexed content from your site.
The SearchCue WordPress plugin connects supported public pages, documents, and image content to that hosted search service. It can also notify SearchCue when public content changes, helping the hosted index stay current without building a search index in the WordPress database.
Please note that SearchCue is a paid service. You can try it for free for 15 days, and there are no bad feelings if you decide it isn't for you. We won't try to upsell you or trick you to become a customer. If you want more information about what the service costs before getting started, please check our [website here](https://searchcue.com).
## Plugin features
- Adds the SearchCue embed script into the `<head>` of every public page
- Adds a **SearchCue** admin menu page to configure SearchCue
- Optional automatic pings to SearchCue when content changes in order to keep the search index up to date
- No third-party PHP dependencies
- The search index is hosted by SearchCue rather than built or queried in the WordPress database
## SearchCue features
- Typeahead keyword search
- AI answers and conversational search
- Design editor making it easy to adapt the search interface to the design of your site
- Search analytics
- Advanced tuning controls
- The ability to upload additional custom data you want to make searchable
## Installation
### From ZIP (for production use)
1. Download the plugin ZIP
2. In WordPress admin, go to **Plugins > Add New > Upload Plugin**
3. Upload the ZIP and activate
## Configuration
1. Open **SearchCue** from the WordPress admin menu
2. Enter your email and follow the sign-in link to connect the site
3. Keep **Automatic updates** checked if you want SearchCue to re-index changed pages automatically
4. Optionally set a different Site ID under **Advanced settings**
5. Save changes
The embed script will appear in the `<head>` of all public pages that call `wp_head()`.
## External Service and Privacy
The plugin requires the hosted SearchCue service; it has no third-party PHP dependencies. A SearchCue account is required, and continued service after the free trial requires a paid subscription.
Once connected, the plugin loads SearchCue's executable browser embed, sends public content updates when enabled, and exchanges setup and analytics data with SearchCue. The embed processes visitor searches and interaction metrics. The settings page uses locally bundled SearchCue font files under the SIL Open Font License 1.1.
See the complete data-flow disclosure in [`readme.txt`](readme.txt), the [SearchCue terms and conditions](https://searchcue.com/terms/), and the [SearchCue privacy policy](https://donoharm.world/privacy-policy/searchcue/).
## Uninstalling
When you delete the plugin through WordPress, `uninstall.php` runs automatically and removes all stored options from the database.
## License
This plugin is licensed under the [GNU General Public License v2.0 or later](https://www.gnu.org/licenses/gpl-2.0.html) (GPLv2+), which is the same license as WordPress itself. This is required for plugins published in the [WordPress.org Plugin Directory](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#1-plugins-must-be-compatible-with-the-gnu-general-public-license).