Linux 软件免费装

List Custom Taxonomy Widget

开发者 celloexpressions
更新时间 2024年7月13日 09:39
PHP版本: 3.3 及以上
WordPress版本: 6.6
版权: GPLv2

标签

widget sidebar categories taxonomy custom post types category post types custom taxonomy custom category custom tax custom categories custom post type categories

下载

1.0 2.0 3.2.1 3.0 3.1 3.1.1 3.2 3.3 4.0 4.1 4.2

详情介绍:

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. 通过 WordPress 的的“Plugins”菜单激活插件
  4. Add the widget to your sidebar(s) in the Customizer to live-preview the options before publishing.

升级注意事项:

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

常见问题:

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.

更新日志:

4.2 4.1 4.0 3.3 3.2.1 3.2 3.1.1 3.1 3.0 2.0 1.0