custom-fields-search

Description

This plugin was closed on April 24, 2018 and is no longer available for download. Reason: Author Request.

Reviews

Please use my patch to treat UTF-8 Japanese

I try the plugin to search UTF-8 Japanese. But the result was unstable.

One word is ok, but another word return no result.

I checked the code, then found preg_split and “u” options not using.

— C:/temp/custom-fields-search.php-rev1549.svn000.tmp.php 火 11 14 15:22:31 2017
+++ D:/data/wordpress_customfieldsearch/custom-fields-search.php 火 11 14 15:26:46 2017
@@ -167,7 +167,7 @@
}

$user_request = esc_sql( trim( $wp_query->query_vars[‘s’] ) );
– $user_request_arr = preg_split( “/[\s,]+/”, $user_request ); /* The user’s regular expressions are used to separate array for the desired keywords */
+ $user_request_arr = preg_split( “/[\s,]+/u”, $user_request ); /* The user’s regular expressions are used to separate array for the desired keywords */

if ( ! empty( $cstmfldssrch_options[‘fields’] ) ) {
$cusfields_sql_request = “‘” . implode( “‘, ‘”, $cstmfldssrch_options[‘fields’] ) . “‘”; /* forming a string with the list of meta_key, which user has selected */

It works!

I have a lot of custom fields, not all needed to be searchable. With this plugin I was able to select which custom fields could be included in the search. Plugin is always kept up to date and I’ve never had any problems. Other search plugins slowed down my website while this one never has.

Read all 34 reviews

Contributors & Developers

“Custom Fields Search by BestWebSoft” is open source software. The following people have contributed to this plugin.

Contributors

“Custom Fields Search by BestWebSoft” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Custom Fields Search by BestWebSoft” into your language.

Interested in development?

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