Better Search – Relevant search results for WordPress

外掛說明

Supercharge your WordPress site search with Better Search – a powerful replacement for the default WordPress search engine that delivers more relevant results and a richer search experience.

Better Search gives you complete control over your site’s search results. Fine-tune relevance, search across different fields and post types, track popular queries, and customise the output — all without writing a single line of code.

Make your search more intuitive and engaging with a search heatmap of popular queries, display results as users type with AJAX Live Search, and tailor the look to your theme with custom templates and styles.

Built with performance in mind, Better Search includes its own caching system and works smoothly with popular caching plugins like WP Super Cache and W3 Total Cache. It also features a profanity filter and is translation-ready for global use.

Here are some of the main features of Better Search:

  • Automatic: Just activate the plugin and enjoy better search results right away
  • Seamless integration: No need to edit any code or create custom search templates
  • Relevance: Sort the results by relevance or date, and assign different weights to title and content
  • Control the results: Search within title, content, excerpt, meta fields, authors, tags and other taxonomies and comments
  • Popular searches: Show a heatmap of the most popular searches on your site, either as a widget or a shortcode
  • AJAX Live Search: Show search results as you type in any search form on your site
  • Customisation: Use your own template file and CSS styles for the ultimate look and feel
  • Supports cache plugins: Works seamlessly with caching plugins like WP-Super-Cache and W3 Total Cache
  • Profanity filter: Filter out any words that you don’t want to appear in search queries
  • Translation ready: Use the plugin in any language

If you want to improve your site search, download Better Search today and experience the difference for yourself.

Features in Better Search Pro

Better Search Pro gives you even more control and performance:

MySQL FULLTEXT indices

Better Search adds the following MySQL FULLTEXT indices to the wp_posts table:

  • post_content
  • post_title
  • (post_title, post_content)

On multisite, these are added to each blog upon activation. These indices power the relevance-based search and are required for full functionality.

Contribute

Better Search is also available on Github. If you’ve got some cool feature 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.

Plugins by WebberZone

Better Search is one of the many plugins developed by WebberZone. Check out our other plugins:

  • Contextual Related Posts – Display related posts on your WordPress blog and feed
  • Top 10 – Track daily and total visits to your blog posts and display the popular and trending posts
  • Knowledge Base – Create a knowledge base or FAQ section on your WordPress site
  • WebberZone Snippetz – The ultimate snippet manager for WordPress to create and manage custom HTML, CSS or JS code snippets
  • Auto-Close – Automatically close comments, pingbacks and trackbacks and manage revisions on your WordPress site

螢幕擷圖

  • Better Search Dashboard
  • Better Search Popular Searches table in Admin
  • Better Search widget

安裝方式

WordPress install

  1. Navigate to Plugins within your WordPress Admin Area.

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

  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 better-search.zip 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

常見問題集

If your question has not been covered here, please create a new post in the WordPress.org support forum. I monitor the forums regularly. If you want more advanced paid support, please see details here.

Will this work with any WordPress theme?

Yes! It replaces the default WordPress search and integrates with most themes out of the box.

Does it support WooCommerce or custom post types?

Yes, you can enable searching in any public post type from the settings.

How does it affect performance?

Better Search uses MySQL FULLTEXT indexes and includes internal caching. It also works well with external caching plugins.

Can I customise the search results template?

Yes, you can override the results template by copying the file to your theme directory. More info in the documentation.

What is the Profanity Filter?

It filters out selected keywords from being searched. Handy for family-safe sites.

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 partial and complete references to these words. You can turn the filter off by emptying the list.

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

使用者評論

2025 年 5 月 1 日 1 則留言
Purchased this plugin to use on a college website – had some issues getting it setup initially – but support was quick to respond and stayed with the ticket until it was resolved. They were helpful, and fast. Highly recommend if you need to up your site search game!
2024 年 1 月 13 日 1 則留言
<!– wp:paragraph –> <p class=””>Works great. I use this on almost evey WordPress site I build. Pretty much a “must-have” for sites that are heavy in content.</p> <!– /wp:paragraph –>
閱讀全部 55 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Better Search – Relevant search results for WordPress〉的開發相關工作。

參與者

〈Better Search – Relevant search results for WordPress〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Better Search – Relevant search results for WordPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

4.1.2

  • Features:

    • Added SQL injection detection for search terms.
    • New setting to set the minimum characters required for a fulltext search.
  • Enhancements:

    • Live Search enhancements:
      • Added caching to improve performance.
      • Improved accessibility and keyboard navigation.
  • Bug fixes:

    • Fixed an issue where post score was not being displayed.
    • Better Search form post type correctly uses post_type instead of post_types for better compatibility.
    • Fixed issue with search results not loading properly when Fuzzy Search is enabled and the search term is less than four characters.
    • Fixed issue with ordering by date didn’t work when using Fuzzy Search.

4.1.1

  • Bug fixes:
    • Fixed an issue where shortcode attributes were not properly sanitized.

4.1.0

Release post: https://webberzone.com/announcements/better-search-v4-1-0/

  • Features:

    • Better Search now loads globally and can be accessed using better_search().
  • Modifications:

    • Query improvements for better compatibility with Better Search Pro.
    • Improved accessibility of live search results particularly better keyboard navigation.
    • [Pro] Multisite search now respects the settings of each site.
    • [Pro] Better Fuzzy search compatibility with multisite search.
    • [Pro] Better compatibility with PolyLang when using Multisite search. However, PolyLang must be set up exactly the same on all sites of the multisite setup.
  • Bug fixes:

    • [Pro] Fixed issues with permalinks and titles not loading properly when Multisite search is enabled.
    • [Pro] Fixed Multisite search when Seamless Mode is off.
    • [Pro] Fixed bugs with Fuzzy Search query in some cases.

For previous changelog entries, please refer to the separate changelog.txt file or Github Releases page