跳到内容

JS Categories List Widget

v4.1.1

Miguel Useche · 2010年12月7日 上架

A simple Gutenberg block and JS widget (can be called from posts) for displaying categories in a list with some effects.

正在使用
1,000+
评分
4.8 / 5
累计下载
7.7 万
最近更新
2026年4月4日
15 条评价需要 WordPress 6.1+已测试到 7.0.9PHP 7.0+

贡献者

截图

Here you can see a list of categories, those with sub-categories will habe a link on the right to expand its childs.
Here you can see a list of categories, those with sub-categories will habe a link on the right to expand its childs.
Here you can see a list of categories and its sub-categories expanded.
Here you can see a list of categories and its sub-categories expanded.
JS Categories List Widget

This plugin provides a widget and a filter to display a collapsible list of categories in your sidebar or posts by using vanilla Javascript.

Features

  1. Support for Gutenberg blocks. Add it to any FSE theme or Gutenberg compatible theme.
  2. Display a collapsed list of your archives to reduce space.
  3. Uses vanilla JS to add effects and to be compatible with all browsers.
  4. Select the symbol for expanding/collapsing categories
  5. Select categories to exclude, so it shows only the categories you want.
  6. Autoexpand selected category (including it parent or child).
  7. Support for multiple instances.
  8. Simple layout configuration
  9. Shortcode support [JsCategoriesList]
  10. Translated to Spanish, Italian Russian, Slovak, Czech.
  11. Compatible with most JS cache and minify plugins.
  12. And more to come…

Configuration

  • Title: title of the widget.
  • Trigger Symbol: characters to be displayed as a bullet.
  • Symbol position: where to put the expand/collapse symbol.
  • Effect: JS’s effect to use.
  • Order by: display order of categories.
  • Expand: if list should be expanded or callapsed by default.
  • Show number of posts: display how many post are published in the category.
  • Show empty categories: display categories with no posts.
  • Open links in a new page: render category links with target=”_blank”.
  • Categories to include: categories to be included from the list.
  • Categories to exclude: categories to be excluded from the list.

Plums

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

导航

说明

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

© 2026 Plums