Plugin Directory

Better Search

Better Search replaces the default WordPress search with a better search that gives contextual results sorted by relevance

If your question isn't listed here, please open a new thread at the WordPress.org support forum. I monitor the forums on an ongoing basis. If you're looking for email based support, please see details here.

Can I customize the output?

Better Search has a huge set of options that help you customise 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.

Take a look at http://ajaydsouza.com/wordpress/plugins/better-search/bsearch-templates for use of custom templates and template tags supported by Better Search

Can you create a search template for my theme?

Yes I can. However, there are no guarantee on the time frame for the same. Additionally, if I am unable to access the theme for testing, e.g. with paid premium themes, I won't be able to create this template.

If you have already created a template that you would like to share with the WordPress Community, you can contact me and I will add it into the package.

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

From v1.3.2, Better Search includes a very cool profanity filter using the script from Banbuilder. You can customise 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.



Returns a formatted heatmap of popular searches. You can use this function in your search template or anywhere in your WordPress theme pages.

Example Usage:

<?php if function_exists( 'get_bsearch_heatmap' ) {
    $args = array(
        'daily' => FALSE,
        'smallest' => '10',          // Heatmap - Smallest Font Size
        'largest' => '20',           // Heatmap - Largest Font Size
        'unit' => 'pt',              // Heatmap - We'll use pt for font size
        'cold' => 'ccc',         // Heatmap - cold searches
        'hot' => '000',              // Heatmap - hot searches
        'before' => '',              // Heatmap - Display before each search term
        'after' => '&nbsp;',     // Heatmap - Display after each search term
        'heatmap_limit' => '30', // Heatmap - Maximum number of searches to display in heatmap
        'daily_range' => '7',        // Daily Popular will contain posts of how many days?

    echo get_bsearch_heatmap( $args );

Requires: 3.5 or higher
Compatible up to: 4.3
Last Updated: 2015-5-9
Active Installs: 5,000+


4.1 out of 5 stars


1 of 16 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,3,3
100,1,1 100,3,3
100,1,1 100,2,2
100,1,1 100,1,1
100,1,1 100,2,2
100,1,1 100,1,1
100,2,2 100,2,2
100,1,1 100,1,1
100,1,1 100,1,1