AI Search for WordPress
Treyworks Search Plugin
Use AI-generated summaries to give your visitors the answers they need, fast.
Why You Need An AI Search Plugin for WordPress
Standard WordPress search often returns a long list of links, forcing users to hunt for the information they need. This frustrating experience leads to high bounce rates and lost opportunities. Your valuable content remains buried, and users leave without finding their answer. An AI-powered search engine, on the other hand, understands what your users are asking and gives them a direct answer, sourced from your own content.
[treyworks_search]
Key Features
The Treyworks Search Plugin uses the power of AI (OpenAI or Google Gemini) to analyze search results and generate a concise, accurate summary that directly answers the user’s query. It’s not just search; it’s an answer engine for your website.
- AI-Powered Summaries: Delivers direct answers instead of just a list of links.
- Multi-Provider Support: Choose between OpenAI and Google Gemini.
- Seamless Integration: Works with your existing WordPress content and search functionality.
- Powerful Shortcodes: Easily place search or Q&A boxes anywhere on your site.
- Search Logging: Track what your users are searching for to gain valuable insights.
- Developer Friendly: Includes a REST API for integration with external applications.
Getting Started
Getting started with the Treyworks Search Plugin is easy. Follow these simple steps to add AI-powered search to your WordPress site.
- Install the Plugin: Download the plugin from GitHub, then upload and activate it on your WordPress site.
- Add Your API Key: Go to
Treyworks Search > Settingsand add your API key for either OpenAI or Google Gemini. - Place the Shortcode: Add the
treyworks_searchshortcode to the page where you want your search box to appear.
Installation and Configuration
For a detailed guide on installation and configuration, please refer to the Treyworks Search Plugin README. This guide covers everything from the pre-installation checklist to advanced configuration options.
Using Shortcodes
The plugin includes two powerful shortcodes:
treyworks_search: This shortcode displays a standard search box. When a user submits a query, it will return a list of relevant pages along with an AI-generated summary of the answer.treyworks_answer: This shortcode is designed for creating Q&A sections. It displays a text area where a user can ask a question and receive a direct answer from the AI. You can use thepost_idsparameter to limit the search to a specific set of pages, like so:treyworks_answer post_ids="1,2,3".
Client Handoff
Once the plugin is installed and configured, we recommend providing your client with a brief walkthrough of how it works. Show them how to view the search logs in the Treyworks Search > Logs section of the admin panel so they can see what their users are searching for.
Frequently Asked Questions
Is this difficult to set up?
Not at all. The setup process is designed to be simple. All you need is a valid API key from either OpenAI or Google Gemini to get started.
Can I limit the search to specific pages?
Yes! The treyworks_answer shortcode includes a post_ids parameter that allows you to restrict the search to a specific set of posts or pages, perfect for product documentation or course materials.
Is the plugin free?
Yes, the plugin itself is free and open source. However, you will need to have your own API keys for the AI services it uses (OpenAI or Google Gemini), which may have associated costs.
Upgrade Your Site’s Search Today
The Treyworks Search Plugin is open source and free to use. Give your users the modern search experience they deserve.
Download from GithubKarl B GPT Case Study: An AI Advocacy Assistant for Music and Arts Education
August 17, 2026
Built for the teachers, parents, and advocates making the ask for music and arts programs Why we took this…
Read ArticleWhat Does Human Review Mean When a Nonprofit Uses AI?
June 10, 2026
Turn human review into a clear nonprofit workflow with a named reviewer, five practical checks, and a simple record for improving AI-assisted work.
Read ArticleWhat Information Should Never Go Into an AI Assistant?
June 6, 2026
As a default, do not put sensitive information, secrets, or unapproved public claims into a general AI assistant. For…
Read Article