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. The plugin does not create a search results page, but modifies the SQL database query to make your search engine work better.

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)!

Support to the development of plugin

We spend hours working on the development of this plugin. Technical support also requires a lot of time, but we do it because we want to offer you the best plugin. We enjoy every new plugin installation.

If you would like to appreciate it, you can provide us a coffee. If every user bought at least one, we could work on the plugin 24 hours a day!

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.

Часто задаваемые вопросы

Какая версия Advanced Custom Fields поддерживается?

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

В каких полях плагин ищет?

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.

Как это работает?

Плагин изменяет все запросы SQL, расширяя стандартный поиск для выбранных полей плагина Advanced Custom Fields.

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

It works for WP_Query class.

How to activate advanced search?

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

What to do when not searching for posts?

Sometimes it happens that the data in your database is incorrectly arranged. This happens when you import or duplicate posts.

You can use Incorrect Mode. This is a slower search, but it does not take into account the order of records in the _postmeta table. This solution should help in this situation. Use of this mode is allowed without restrictions. This does not mean any problems with your website.

Как работает поиск целых фраз?

По умолчанию в WordPress выполняется поиск по каждому из перечисленных слов. Эта функция позволяет искать вхождения всей фразы, введенной в поле поиска, без разделения слов.

You can enable it at any time.

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!

Отзывы

15.07.2024
It’s a good plugin, just not enough features. Thanks to the devs !
10.07.2024
Hi guys! First of all: thank you for this plugin. It’s a must if you use ACF. …I switched from GUI defined ACF fields to PHP defined fields (trough the ACF export to PHP utility) and the plugin stopped working. Fortunately I seen this thread: «Problem with search from imported fields (acf-json)» (sorry, WP don’t allow links in reviews) and I activated the «Lite Mode»: all worked again fine. …I think you should detect it and advice your users, or at least explain it in the settings pane, because if my first testing was with the PHP fields, maybe I was discarded your great plugin. Anyway: Thanks guys! Great plugin!!!
02.05.2024
I spent the good part of a day trying to customise my wp_query object to search by keyword in post content and acf field and failed. I installed this and it worked out of the box. No config required. I fixed a problem in 15 seconds that I had been trying to resolve for hours.
Посмотреть все 156 отзывов

Участники и разработчики

«ACF: Better Search» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«ACF: Better Search» переведён на 7 языков. Благодарим переводчиков за их работу.

Перевести «ACF: Better Search» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

4.2.1 (2024-04-12)

  • [Fixed] Searching for content in file field when Lite Mode is active
  • [Fixed] UX of plugin settings page
  • [Added] Support for WordPress 6.5

4.2.0 (2023-09-11)

  • [Fixed] Duplicated search results for modified SQL query

4.1.1 (2023-06-29)

  • [Added] Filter acfbs_field_types to add new supported field types

4.1.0 (2023-03-02)

  • [Changed] Appearance of plugin settings page
  • [Added] Support for Table field type generated by Advanced Custom Fields: Table Field plugin
  • [Added] Support for WordPress 6.2

See changelog.txt for previous versions.