WordPress lets administrators search comments from the dashboard, but that search is not a public feature for site visitors. To let visitors search comment text, use a plugin only after verifying its current capabilities, or have a developer build a search interface using WordPress’s WP_Comment_Query API.
Search comments in the WordPress dashboard
If you need to find a comment for moderation or to locate an earlier discussion, the built-in Comments screen is the simplest option. In WordPress admin, open Comments, enter a word or phrase in the search box above the comments table, and select Search Comments. The results are for administrators using the dashboard; they do not add search to the public site. WordPress.org’s Comments screen documentation describes this search as matching comments to the words entered.
The Comments screen also lets you filter the list by status, including All, Pending, Approved, Spam, and Trash, and by type, such as comments or pings. Use those filters alongside search when you are tracking down a moderation issue or a particular message.
Make comment search available to visitors
The sources reviewed document the dashboard workflow, not a built-in visitor-facing comment-search form. A public feature needs to provide more than a query: it needs an input form, a useful way to display matches, links to the posts containing them, and pagination if results span multiple pages.
#1 Best Overall
Build a custom feature with WP_Comment_Query
For a custom implementation, WordPress provides WP_Comment_Query, a core developer API for querying comments. Its documented search capability generates SQL to search across multiple comment columns. A developer can use it to retrieve matching comments and then build the visitor-facing form and results around the needs of the site.
Decide which comment statuses the query may return before making results public. A public search should generally be designed around comments approved for display, rather than exposing pending, spam, or trashed content. WordPress distinguishes these statuses, and the site’s moderation policy should determine what visitors can see. Test the resulting query and interface on the actual site; the API does not supply a complete search feature or establish that a particular query will perform well at every scale.
Rank #2
Evaluate a comment-aware search plugin
Plugin-based approaches have been discussed in WordPress support forums, including a Relevanssi guide for targeting comments and advice about configuring Ivory Search. These forum references are starting points for evaluation, not confirmation that a plugin currently offers every feature a site may need. Check the plugin’s own current documentation and settings before relying on it.
- Does it search comment text, and can it search comments alone or only mix them into post results?
- Which comment statuses does it index, and can you restrict results to approved comments?
- Do results link to the containing post in a useful way?
- Does it support the site’s WordPress version, and are the needed features included in a paid tier?
- Is it maintained, and are its support and pricing terms suitable for the site?
One support-forum participant reported disappointing relevance with Ivory Search and mentioned considering Algolia or Elasticsearch. That is an individual account, not a comparative test or evidence that either alternative will suit a particular site.
Rank #3
Choose the route that matches the need
| Route | Where search appears | Implementation effort | Key consideration |
|---|---|---|---|
| Comments screen | WordPress admin only | Use the existing search and filters | Useful for finding and moderating comments; visitors cannot use it. |
| Search plugin | Potentially on the public site | Configure a plugin, then verify its current behavior | Confirm comment coverage, result format, status handling, compatibility, and any paid-tier requirement. |
| Custom implementation | On the public site, as designed | Developer work using WP_Comment_Query |
Requires a form, results, pagination, post links, and an explicit visibility policy. |
Use the dashboard search when the goal is an administrator finding a message. For visitor search, choose a plugin only if its current documentation confirms the required behavior; otherwise, a custom implementation gives a developer control over result display and comment visibility. In either case, make clear whether visitors are searching comments only or seeing comments alongside posts.
Quick Recap
Best Value
Rank #4
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

