描述
此插件已于 2018 年 4 月 24 日 关闭,无法下载。 此关闭是永久的。 原因:由作者请求。
评价
2017 年 11 月 14 日
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 */
2017 年 3 月 5 日
I couldn't check each custome field
2017 年 3 月 3 日
yes
2017 年 3 月 1 日
very good
2016 年 10 月 27 日
1 回复
not working for me
2016 年 9 月 3 日
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.