List Custom Taxonomy Widget

설명

The List Custom Taxonomy Widget is a quick and easy way to display custom taxonomies. Simply choose the taxonomy name you want to display from an auto-populated list. You can also set a title to display for the widget. Multiple list custom taxonomy widgets can be added to the same and other sidebars as well. There are several display options (including as a dropdown), and it generally behaves similarly to the built-in categories widget but with the addition of custom taxonomies.

설치

  1. Take the easy route and install through the wordpress plugin installer OR
  2. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
  3. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  4. Add the widget to your sidebar(s) in the Customizer to live-preview the options before publishing.

FAQ

Can I Show Custom Taxonomies in a [Page/Header/non-widget-area]

I’ll save you the hassle of downloading the plugin and digging through its source code. Just use the wp_list_categories() function in your theme (or plugin) to display custom taxonomies as a list, and use wp_dropdown_categories for a dropdown (this one does require some supplementary html). This plugin is essentially a widget UI shell for these functions. If you want to use the plugin’s code for it, go right ahead, but it really does just widgetize those functions.

Where’s the settings page?

There is no (need for a) settings page. Simply go to Appearance -> Customize -> Widgets, select the widget area where you want to add the widget, and add the List Custom Taxonomy widget.

Can I Do ___?

If you’d like to do something outside of the configuration options of this plugin, look at the WordPress Codex documentation on the function this plugin implements, wp_list categories. If this function can do it, the plugin can do it with minor edits, just look in list-custom-taxonomy-widget.php in the plugin editor.

후기

2023년 6월 22일
Always appreciate a simple 1 task plugin without too much fluff. It works well. Until WordPress implements this natively (I don’t really understand why it’s not the case), it’s my go to plugin.
2018년 10월 10일
Simple and Lite Plugin/Widget, that offers custom settings inside the widget. Works well and you can have multiple taxonomies instances/configurations.
2016년 9월 3일
I just have to say taht I love u and keep going with plugins likes this!
2016년 9월 3일
I love plugins that just do what they say and work out of the box. Thanks
모든 21 평가 읽기

기여자 & 개발자

“List Custom Taxonomy Widget”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “List Custom Taxonomy Widget”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

4.2

  • Fix default extended options display.
  • Add additional escaping and sanitization.

4.1

  • Add support for selective refresh in the customizer, available in WordPress 4.5.

4.0

  • Add option to show empty terms.
  • Fix PHP strict standards warnings, present since WordPress 3.7.
  • Fix broken navigation when displaying as a dropdown, and explicitly prevent built-in taxonomies from being displayed as dropdowns (they don’t work).
  • Fix compatibility with deprecated widget constructors in WordPress 4.3.
  • Fix persistently-open options actually being accessible after initial configuration.

3.3

  • Fixed bug where dropdown input 404d unless it was the built-in category taxonomy; dropdown option should work properly now
  • Plugin is WordPress 3.6 compatible

3.2.1

  • Added classes/ids and containers to widgets to alow easier selecting with CSS and JavaScript

3.2

  • Added ability to display categories with dropdown (and go button) instead of as a list (the default), find it at the bottom of the “more options” section’
  • Improved documentation

3.1.1

  • For some reason, I have no idea why, the line that executed the “exclude” capability was commented out. Update fixes the bug.

3.1

  • Fixed major bug where “categories” was displayed first, with everything else as a child, for many users
  • Updated readme

3.0

  • Confirmed compatibility with WordPress 3.5
  • Added many new features. Click the more options button to view all of the available configuration options. Features include:
  • Order by count, id, slug, name, or term group; ascending or descending
  • Exclude categories by id
  • Only show children of a particular category (useful for nested/hierarchical category systems)
  • Detailed configuration options are hidden by default

2.0

  • Available Taxonomies are now listed in a automatically, so it isn’t necessary to go searching for the taxonomy’s name
  • Ability to show count (or hide it)
  • Ability to specify to display hierarchically (like in builtin categories widget)
  • Confirmed WordPress 3.4.2 compatibility

1.0

  • First publicly available version of the plugin.
  • Compatible with WordPress 3.3.0 through 3.4.1