[wordpress插件] Drop-down-taxonomy下拉分类法

wordpress 插件 文章 2020-04-22 08:21 662 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin will help the user to add a drop-down-custom-taxonomy box with the help of small code on his desired location.

此插件将帮助用户借助所需位置上的小代码添加一个下拉自定义分类框。

Options

选项

just place this small code into your theme file and the drop-down box will appear on that page

只需将此小代码放入您的主题文件中,下拉框就会出现在该页面上

code:

代码:

for example, if you want to display it on home page,

例如,如果要在主页上显示,

then navigate to index.php, the inside that put this code, if you want to display the custom taxonomies, then just replace category with your custom taxonomy name.

然后导航到放置此代码的内部index.php,如果要显示自定义分类法,则只需将类别替换为自定义分类法名称即可。

安装步骤

    1. Download
    2. 下载

    3. Unzip the package and upload to your /wp-content/plugins/ directory.
    4. 解压缩该软件包并上传到您的/ wp-content / plugins /目录。

    5. Log into WordPress and navigate to the “Plugins” panel.
    6. 登录WordPress并导航到“插件”面板。

    7. Activate the plugin.
    8. 激活插件。

    9. If you want to put the drop-down box on the home-page then goto your index.php file and add this code without quotes
           

    10. 如果要在主页上放置下拉框,请转到index.php文件,并添加此代码(不带引号)
           

      replace “category” with the name of your custom taxonomy

    11. 用自定义分类法的名称替换“类别”

    You can find the example demo on this website http://mbas.in

    您可以在此网站http://mbas.in 上找到示例演示。

下载地址
https://downloads.wordpress.org/plugin/drop-down-taxonomy.zip
-EOF-

AI助手支持GPT4.0