
JS Categories List Widget
v4.1.1Miguel 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+
贡献者
截图
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
- Support for Gutenberg blocks. Add it to any FSE theme or Gutenberg compatible theme.
- Display a collapsed list of your archives to reduce space.
- Uses vanilla JS to add effects and to be compatible with all browsers.
- Select the symbol for expanding/collapsing categories
- Select categories to exclude, so it shows only the categories you want.
- Autoexpand selected category (including it parent or child).
- Support for multiple instances.
- Simple layout configuration
- Shortcode support [JsCategoriesList]
- Translated to Spanish, Italian Russian, Slovak, Czech.
- Compatible with most JS cache and minify plugins.
- 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.


