[wordpress插件] Category Search分类搜索

wordpress 插件 文章 2020-03-18 16:00 644 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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

Category Search是免费软件:您可以根据自由软件基金会发布的GNU通用公共许可的条款(许可的版本3)或(根据您的选择)以后再分发和/或修改它

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.

有关更多详细信息,请参见GNU通用公共许可证。

You should have received a copy of the GNU General Public License along with Category Search.

您应该已经收到了GNU通用公共许可证的副本以及“类别搜索”。

If not, see http://www.gnu.org/licenses/.

如果没有,请参见 http://www.gnu.org/licenses/

安装步骤

    1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
    2. 将整个插件文件夹上传到您的/ wp-content / plugins /文件夹中。

    3. Go to the Plugins page and activate the plugin.
    4. 转到“插件”页面并激活插件。

    5. Use the Options page to change your options
    6. 使用“选项”页面更改选项

    7. Use the following code in your theme template most probably Search Results (search.php)
    8. 很可能在主题模板中使用以下代码搜索结果(search.php)

    Show();

    Show();

    ?>

    ?>

    Also, CategorySearch is fully compatible with wp_list_categories() <

    此外,CategorySearch与 wp_list_categories() <

    /p>

    / p>

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

    这意味着您可以通过添加其他参数来进一步调整类别搜索结果。

    Example:

    示例:

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

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

下载地址
https://downloads.wordpress.org/plugin/category-search.zip
-EOF-

AI助手支持GPT4.0