Home Plugins jquery categories list
JS Categories List Widget logo

JS Categories List Widget

by Miguel Useche on WordPress.org

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

(16)
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.

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.
  • Categories to include: categories to be included from the list.
  • Categories to exclude: categories to be excluded from the list.
Active installations1K+
Weekly downloads
44+109.52%
Version4.0.2
Last updated8/7/2025
WordPress version6.1
Tested up to6.8.2
PHP version7.0
Tags
blockcategoriesgutenbergjavascriptwidget