ACF: Better Search


This plugin adds to default WordPress search engine the ability to search by content from selected fields of Advanced Custom Fields plugin.

Everything works automatically, no need to add any additional code.

Additionally you can search for whole phrases instead of each single word of phrase. As a result, search will be more accurate than before.

New search core

We modified the code of search engine. Content search is now faster by about 75% (depending on the level of complexity of searched phrase)!

Please also read the FAQ below. Thank you for being with us!


  • Screenshot of the options panel


  1. Upload the plugin files to /wp-content/plugins/acf-better-search directory, or install plugin through the WordPress plugins screen directly.
  2. Activate plugin through Plugins screen in WordPress Admin Panel.
  3. Use Settings -> ACF: Better Search screen to configure the plugin.


What version of Advanced Custom Fields is supported?

Advanced Custom Fields in version 5 (also free). ACF below version 5 has a different data structure in database and is not supported.

In what fields does the plugin search?

Our plugin supports the following fields: Text, Text Area, Number, Email, Url, File, Wysiwyg Editor, Select, Checkbox and Radio Button.

All these fields may be located in both the Repeater or Flexible Content field.

How does this work?

Plugin changes all SQL queries by extending the standard search to selected fields of Advanced Custom Fields.

The plugin in admin panel works same as for the search page.

It works for WP_Query class.

Do I need to add some arguments to my function to activate advanced search?

Everythings works automatically. For custom WP_Query loop and get_posts() function also if you add Search Parameter.

How does searching for whole phrases?

The default search in WordPress is to search for each of words listed. This feature allows you to search for occurrences of the whole phrase entered in the search field without word division.

How does Lite mode work?

In this mode, the plugin does not check the field types. Phrases are searched in all ACF fields. Thanks to this, the query to the database is smaller and faster by about 25%. However, we do not have control over which fields are taken into account when searching.

Is the plugin completely free?

Yes. The plugin is completely free.

However, working on plugins and technical support requires many hours of work. If you want to appreciate it, you can provide us a coffee. Thanks everyone!

Thank you for all the ratings and reviews.

If you are satisfied with this plugin, please recommend it to your friends. Every new person using our plugin is valuable to us.

This is all very important to us and allows us to do even better things for you!


27 ਫਰਵਰੀ 2020
We write web sites using ACF fields to allow clients to have an easier management experience. We also use ACF to format Schema text and structured data. We couldn't search WYSIWYG, Reviews, and other fields. Now we can. Installed it, activated it, selected lite mode, re-ran the search and it worked. Thanks - there's a coffee coming your way
7 ਫਰਵਰੀ 2020
This plugin easy to used, and powerful, thanks for this grate plugin
13 ਜਨਵਰੀ 2020
[PL] Wtyczka działa znakomicie, zaoszczędziła mi dużo czasu. [ENG] The plugin works great, it saved me a lot of time.
1 ਦਸੰਬਰ 2019
I installed this and tested to see if it would pick up keywords and phrases I left within custom fields I created and sure enough, it was able to find them and display the correct search results.
Read all 72 reviews

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“ACF: Better Search” is open source software. The following people have contributed to this plugin.


“ACF: Better Search” has been translated into 2 locales. Thank you to the translators for their contributions.

“ACF: Better Search” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • New filter acfbs_search_post_object_fields to select post fields using to search


  • Fix for posts_join filter
  • Update priority of posts_search filter (from 10 do 0)


  • New filter acfbs_search_is_available to block search


  • New way to start search engine
  • New filter acfbs_is_available to turn off search engine


  • Validation for fields types on settings page


  • Security changes


  • New settings page
  • New admin notice


  • Changes in plugin structure
  • New mode to ability using only selected fields for searching
  • Filters to extend plugin capabilities


  • Full path for loaded PHP files


  • Support for free version of ACF 5


  • Default hidden admin notice


  • Improved search engine
  • Support for AUTO_INCREMENT field in database other than 1
  • Possibility of permanent turn off admin notice
  • Modifications on settings page


  • Withdrawal of support for old WordPress versions
  • Minor fixes


  • Search in admin panel
  • Support for get_posts() function
  • Support for internationalization
  • Changes in plugin structure


  • Cleaning database after removing plugin


  • Compatibility fix for Polylang plugin


  • Support for File type field


  • Modification of admin notice


  • Faster search using lite mode
  • Improved PHP code


  • Turn off plugin core while searching uploads media items


  • Support for WordPress Multisite


  • Changed closing notice in admin panel


  • Support for WP AJAX
  • Changed access to settings page


  • Improved text search with apostrophe and quotation marks


  • Withdrawal of support for get_posts()


  • Fixes for PHP 7


  • Improved search engine
  • The ability to search whole phrases
  • Changed plugin settings page
  • Notifications in admin panel


  • The first stable release