该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Category Search

描述

Category Search adds the option to display category names in search results. Useful when you have a lot of categories and you want to display them as a part of search results.

Plugin by Vladimir Prelovac.

License

This file is part of Category Search.

Category Search is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Category Search is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Category Search. If not, see http://www.gnu.org/licenses/.

屏幕截图

安装

  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.
  3. Use the Options page to change your options
  4. Use the following code in your theme template most probably Search Results (search.php)
Show(); ?>

Also, CategorySearch is fully compatible with wp_list_categories()

This mean you can further tweak the category search results by adding additional parameters. Example:

$CategorySearch->Show(‘orderby=count’);

常见问题

How do I correctly use this plugin?

In order for category search results to show you need to add the follwoing code to your theme search.php template.

Show(); ?>

评价

此插件暂无评价。

贡献者及开发者

「Category Search」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Category Search」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志