Better Search


Better Search replaces the default WordPress search engine with a more powerful search engine that gives search results relevant to the title and content of the post. This means that visitors to your blog will find what they are looking for quicker than if you didn’t have Better Search installed.

Better Search can search through not just posts, but also pages and other custom post types. Let your visitors find what they are looking for.

The plugin is packed with options to allow you to easily customize the output. You can also fine tune the results by assigning a greater weight to either the title or the content. The default mode is a seamless integration with your WordPress theme. And, for power users, Better Search supports templates for that extra something.

And for even more advanced users, Better Search is packed with filters and actions that allow you to easily extend the plugin’s feature set.

Additionally, the plugin also tracks the searches and you to display a “search heatmap” of the most popular searches. Support for WordPress widgets will allow you to easily add this heatmap to your theme’s sidebar or footer.


  • Automatic: Once activated, Better Search will automatically replace your default WordPress search with more relevant search results
  • Seamless integration: Search results are perfectly integrated into your theme without the need for custom search templates
  • Relevance: Search results are automatically sorted by relevance. You can also turn off relevancy based searching, in which case, results are sorted by date
  • Control the results: Search within title, content, excerpt, meta fields, authors, tags and other taxonomies and comments
  • Popular searches: Find out what visitors are searching for on your blog. Display a list of popular search terms (daily and overall) on your blog in the form of a heatmap. Widget support for easy integration in your theme as well as a shortcode [[bsearch_heatmap]]
  • Customisation: Use your own template file for perfect integration into your blog template. Input your own CSS styles in the Custom Styles tab in the Settings Page. Check the FAQ for more information
  • Supports cache plugins: Works with caching plugins like WP-Super-Cache and W3 Total Cache
  • Profanity filter: customize the list of stop words that will automatically be filtered out of search queries
  • Translation ready: Better Search is translation ready


Better Search is also available on Github
So, if you’ve got some cool feature that you’d like to implement into the plugin or a bug you’ve been able to fix, consider forking the project and sending me a pull request.


  • Options in WP-Admin - General options
  • Options in WP-Admin - Search results options
  • Options in WP-Admin - Heatmap options
  • Options in WP-Admin - Custom styles
  • Options in WP-Admin - Tools
  • Better Search widget
  • Better Search Popular Searches table in Admin


WordPress install

  1. Navigate to Plugins within your WordPress Admin Area

  2. Click “Add new” and in the search box enter “Better Search”

  3. Find the plugin in the list (usually the first result) and click “Install Now”

Manual install

  1. Download the plugin

  2. Extract the contents of to wp-content/plugins/ folder. You should get a folder called better-search.

  3. Activate the Plugin in WP-Admin.

  4. Goto Settings > Better Search to configure

  5. Goto Appearance > Widgets to add the Popular Searches sidebar widgets to your theme

  6. Optionally visit the Custom Styles tab to add any custom CSS styles. These are added to wp_head on the pages where the posts are displayed

Συχνές Ερωτήσεις

If your question isn’t listed there, please create a new post in the support forum. I monitor the forums regularly. If you’re looking for more advanced paid support, please see details here.

Can I customize the output?

Better Search has a huge set of options that help you customize the output or fine tune the results without leaving the comfort of your WordPress site. Goto Settings > Better Search to configure.

The plugin also supports the use of template files within your theme. You can create a file called better-search-template.php in your theme’s directory and the plugin will use it to display the results.

My search words are getting filtered or *How does the profanity filter work*

Better Search includes a very cool profanity filter using the script from Banbuilder. You can customize which list of words you want to filter out from the Better Search settings page. Find the setting called “Filter these words:”. The plugin will automatically strip out both partial and complete references of these words.
You can turn the filter off by emptying the list.

Know of a better profanity filter? Suggest one in the forums.


12 Φεβρουαρίου 2021
I like the functionality of the search field a lot, but the actual search results are not fantastic. It brings up reasonably similar content, but the posts I would want it to show at the top are way down, and I found no way to finetune it to get better results. It’s that I like the functionality of the search field so much that I haven’t switched to Ivory Search yet, which yields far superior search results. But as a search plugin, it’s honestly not the best. I think it would have to assess the content of the posts to get better results. I do hope you will consider adding that.
30 Σεπτεμβρίου 2020
I created this wordpress account just to rate 5 star for this and this is my first ever rating in wordpress.I tried many plugin ,none fulfilled my needs except this .Huge thanks to you
12 Ιουλίου 2020
Overall, nicely done, but returns too many results with low relevancy, and no apparent way to control that.
24 Μαΐου 2020
This really makes a big difference on search quality.
Ανάγνωση όλων των 45 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Better Search” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.


Το “Better Search” έχει μεταφραστεί σε 1 γλώσσα. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “Better Search” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών


Release post:

  • Bug fixes:
    • With seamless mode OFF, by default, all post types were being pulled even those not selected in the settings page
    • With seamless mode ON, caching incorrectly gave the same set of results
    • Exclude categories didn’t save properly if the field is blanked out


  • Enhancements/modifications:

    • New options to disable the display of relevance, post type, author, post date and taxonomies list on the custom search results page
  • Bug fixes:

    • Fixed excerpt_length setting not used in the default template
    • All required attributes are now passed to the shortcodes


  • Enhancements/modifications:

    • New option to disable the automatic addition of the stylesheet
    • Custom search results page now displays Sort by and Sorted by
    • New constant BETTER_SEARCH_VERSION that is used to enqueue scripts and styles
  • Bug fixes:

    • If no excerpt_length is passed, the plugin will use the default value from the settings page
    • Better_Search is only initiated if it is a search results page
    • Custom results page excerpt is now highlighted


  • Features:

    • New classes Better_Search_Query and Better_Search. The latter is a wrapper for WP_Query and brings all the power of WP_Query to Better Search. The former is the core class that filters the required functions as well as replaces the older seamless mode implementation
    • New settings to search taxonomies, comments, excerpt, meta, authors and comments. These will all return the posts corresponding where the search term is found in the above fields
    • New parameter bydate if set to true will sort posts by date
    • Advanced Search form now displays the select dropdown of post types that allows to search a specific post type
    • Highlight search terms on pages referred from the search results page
    • New stylesheet which is enqueued on search results page and singular posts/pages
  • Enhancements/modifications:

    • hellip wrapped in bsearch_hellip span tag for easy access
    • Transients will be deleted when the plugin is removed
  • Bug fixes:

    • Resetting settings caused issues for the default styles and color fields
    • Uninstalling didn’t delete the option key from database.
  • Deprecated:

    • PHP 5.x support has been dropped and attempting to install the plugin on these installs will throw errors!
    • Multitude of functions have been deprecated. Check the deprecated.php file for the full list. Deprecated functions will also throw up a warning
    • Aggressive Search mode has been removed