跳到内容

CatBranchNest

v0.1.0

janiko · 2026年10月15日 上架

A configurable hierarchical category widget with depth, counts, descendant counts, sorting and exclusions.

正在使用
10 以下
评分
暂无
累计下载
176
最近更新
2026年10月15日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Widget settings in the WordPress administration area, including depth, category counts, sorting and exclusions.
Widget settings in the WordPress administration area, including depth, category counts, sorting and exclusions.
Example hierarchical category list displayed in a theme sidebar.
Example hierarchical category list displayed in a theme sidebar.

Category Nested Branches provides a native WP_Widget for category trees. Use it in classic widget sidebars or through the Legacy Widget block.

Configure the title, depth, content counts, descendant counts, empty-category visibility, sorting and excluded category IDs. Depth 0 shows all levels; 1 shows roots; 2 shows roots and children.

Rendering uses wp_list_categories(), canonical WordPress category links and native cat-item, current-cat, current-cat-parent and children classes. Sidebar wrappers come from the theme.

Counts follow native WordPress taxonomy rules for published content. Descendant counts include deeper levels even when those levels are hidden by the display depth. Each eligible content item is counted once per parent. Sorting by count uses direct category counts, not padded totals. Exclusions omit a category and its descendants; they do not change stored categories or relationships.

No JavaScript, theme dependency, custom SQL, telemetry, remote requests or generated content. Only normal widget settings are saved. Theme styles control the appearance.

All interface strings are translatable with the catbranchnest text domain.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums