Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/258.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何自定义WordPress中的搜索功能,使其不按帖子内容进行搜索?_Php_Wordpress_Function_Search - Fatal编程技术网

Php 如何自定义WordPress中的搜索功能,使其不按帖子内容进行搜索?

Php 如何自定义WordPress中的搜索功能,使其不按帖子内容进行搜索?,php,wordpress,function,search,Php,Wordpress,Function,Search,我想将WordPress的默认搜索功能限制为不搜索帖子内容。我是怎么做到的? 我只想要标题、标签等,不想搜索帖子的内容。欢迎来到StackOverflow!看一看。添加更多信息,并告诉我们您尝试了什么,以使其更有可能得到答案。看看这个答案:它可能会有所帮助

我想将WordPress的默认搜索功能限制为不搜索帖子内容。我是怎么做到的?
我只想要标题、标签等,不想搜索帖子的内容。

欢迎来到StackOverflow!看一看。添加更多信息,并告诉我们您尝试了什么,以使其更有可能得到答案。看看这个答案:它可能会有所帮助