ACF: Better Search

説明

このプラグインはデフォルトの WordPress検索エンジンにAdvanced Custom Fields プラグインの選択されたフィールドからのコンテンツで検索する機能を追加します。

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.

FAQ

What version of Advanced Custom Fields is supported?

バージョン5のAdvanced Custom Fields(これも無料)。バージョン5より下のACFはデータベース内のデータ構造が異なり、サポートされていません。

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.

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.

How does searching for whole phrases?

The default search in WordPress is to search for each of words listed. An additional option in the plugin settings allows you to search for occurrences of the whole phrase entered in the search field without word division.

You can enable it at any time.

ライトモードはどのように機能しますか?

このモードでは、プラグインはフィールドタイプをチェックしません。フレーズはすべての ACFフィールドで検索されます。これのおかげで、データベースへの問い合わせはより小さくそしてより速く約25%速くなります。ただし、検索時にどのフィールドを考慮に入れるかについては制御できません。

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!

評価

2023年11月8日
In the past, I've used pre_get_posts() to filter in some ACF fields to my searches. And, you know what they said about pre_get_posts(), if that's the solution to your problem, now you have 2 problems. This plugin has been immensely helpful in simplifying the process of adding ACF fields to search queries. Huge thanks!
2023年11月7日
This plugin saved me so much time and made it possible to quickly and easily include Custom fields added via ACF Pro to the search results. Both my Theme provider and ACF Pro themselves told me that it was not possible to do what this plugin enabled me to do in seconds.
2023年10月27日
Can't fault it - it works with no configuration, but looks to have settings for those who need them, thanks for a useful plugin.
2023年9月11日
Really helpful especially if you have multiple different types of custom fields. We've used it in multiple projects by now - it has lots of options and saves a ton of time. Great support as well! 👍
150件のレビューをすべて表示

貢献者と開発者

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.