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

Taxonomy List

描述

This plugin help you to display any taxonomy terms by using shortcode. you can use the shortcode any where like in pages, post, widgets. You can filter the taxonomy terms by typing their related words in the search bar, you can enable/disabled search bar field from the shortcode attribute.

- [taxonomy_list name="category"]

Just place this shortcode any where you want to display taxonomy list

shortcode attributes

- name = taxonomy name ( default: category )
- hide_empty = show/hide empty category/term ( default: false )
- include = show only specific terms
- exclude = hide specific terms
- order = option to set display order in ASC/DESC ( default: ASC )
- orderby = option to set orderby id or title ( default: id )
- search_bar = search field to filter terms list ( default: 0 )
- show_count = display number of child terms ( default: false )
- count_type = Set "terms" for display terms count, and set "post" for display posts count next to the category name ( default: terms )

example shortcode

- [taxonomy_list name="category" hide_empty="false" exclude="11,12,13" orderby="id" order="ASC" search_bar=1 show_count="true" count_type="terms"]

屏幕截图

安装

To add a WordPress Plugin using the built-in plugin installer:

Go to Plugins > Add New.

  1. Type in the name \”Taxonomy List\” in Search Plugins box
  2. Find the \”Taxonomy List\” Plugin you wish to install.
  3. Click Install Now to install the WordPress Plugin.
  4. The resulting installation screen will list the installation as successful or note any problems during the install. If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

常见问题

How to use this plugin?

Just after installing Taxonomy List, You can use any of the provided shortcodes by Taxonomy List

评价

2022 年 5 月 18 日
Works well, specially when we work in FSE, and the query loop block is not displaying custom taxonomies. So i use it as a second menu on an custom post archives template, without the complexity of adding any gutenberg addons From my Pov there is still little improvments before rating 5 stars : > like when there is no image or no description, i’d rather not see that in the source code: <div class="tax-image"> <img src="" width="50"> </div>…… <div class="tax-desc"></div> > i think the css should be simplified, with the flexbox properties and avoiding any float positionning. For the rest, did not test for other functionality than its name supposed : list custom taxonomy
2022 年 3 月 4 日
Great way to show call my custom taxonomy as an organized, ordered list. My favorite feature is the little search bar. For a site with a lot of taxonomy it makes my list so much more usable.
2021 年 12 月 16 日
The plugin works great. If you have any questions, the plugin creator helps you in any way and makes things easier for you. Thank you Muhammad Rehman
2021 年 10 月 11 日
I have been buggering around for hours trying to solve this. Then found this plugin. quick and easy… thank you (and thanks for your exaple shortcode- worked perfectly).
2021 年 9 月 22 日
I installed this and entered the short code… and it worked! I created my first non-trivial custom post type with a couple of taxonomies, one with many entries. I wanted to create a simple page that listed the taxonomies and provided links for each that would display the archive of posts with the selected taxonomy. I’ve been doing web site maintenance for years, and I _hate_ having to delve into the php just to get something simple done. This was easy!
阅读所有9条评价

贡献者及开发者

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

贡献者

帮助将「Taxonomy List」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.1.4

  • Tested up to latest WordPress

1.1.3

  • Compatible with WP v6.1.1

1.1.2

  • Compatible with WP 6.0

1.1.1

  • Fix – post count not working in some conditions

1.1

  • New – Add count_type attribute in shortcode
  • New – Add orderby attribute in shortcode
  • New – Display term description on term hover
  • New – Option to display post count or term count
  • Fix – order ASC/DESC not working
  • Fix – show_count not working
  • Fix – hide_empty attribute not working

1.0.3

  • Tested upto WordPress 5.7
  • New – Add show_count attribute in shortcode
  • Fix – Search not working in some cases

1.0.2

  • Improvement – Search filter results

1.0.1

  • Tested upto WordPress 5.0.3
  • New Feature – Added search bar functionality to filter specific term from the taxonomy list.
  • Improvement – Remove FontAwesome external Library to reduce load time.

1.0.0

  • Initial release.