[wordpress插件] Category Ajax Chain Selects类别Ajax链选择

wordpress 插件 文章 2020-03-18 04:00 521 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin makes it easy to have chain select category/custom taxonomy drop downs in your theme using Ajax.

使用此插件,可以轻松使用Ajax在主题中添加链选择类别/自定义分类法。

The plugin was created as a way for me to use chain selects on a number of websites I have built over the past few

创建该插件是为了让我能够在过去几年中建立的许多网站上使用链选择功能

years.

年份。

As it was my first attempt at making a WordPress plugin, I thought it would be best to go back and update it to work with the latest version of WordPress and is now compatible with custom taxonomies.

因为这是我第一次尝试制作WordPress插件,所以我认为最好返回并对其进行更新以与最新版本的WordPress一起使用,并且现在与自定义分类法兼容。

Feel free to visit my website www.peterjharrison.me or contact me at

请随时访问我的网站www.peterjharrison.me或通过以下网址与我联系

me@peterjharrison.me

me@peterjharrison.me

Have fun!

玩得开心!

安装步骤

    1. Upload the full directory into your wp-content/plugins directory
    2. 将完整目录上传到您的wp-content / plugins目录

    3. Activate it in the Plugin options
    4. 在“插件”选项中激活它

    5. Add the template tag:

    6. 添加模板标签: <?php echo chainselect_getcategories('taxonomy name');

      ?> into you page template.

    7. ?> 进入页面模板。

    8. For more options please see the plugin page.
    9. 有关更多选项,请参见插件页面。

下载地址
https://downloads.wordpress.org/plugin/category-ajax-chain-selects.3.7.zip
-EOF-

AI助手支持GPT4.0