Added a post type selector in the block editor to switch between posts and custom post types registered with the default Categories taxonomy.
Added REST support to load category options and frontend category trees by selected post type.
Updated category picker behavior to refresh category options when changing the selected post type.
Added a new block setting to open category links in a new page (target=”_blank”).
Added backward-compatible post type fallback to post when older block instances do not have post_type saved.
4.1.0
Standardized the plugin text domain to jquery-categories-list across PHP, block metadata, JavaScript, and bundled translation files for better WordPress.org compatibility.
Improved legacy widget, block, and REST code to better follow WordPress coding standards, sanitization, escaping, and inline documentation practices.
Added the remaining editor translation string and wired block script translations through the generated editor asset handle.
Hardened shortcode category parsing so user-provided exclude values are treated strictly as ID lists and are never unserialized, while keeping backward compatibility for stored serialized widget values.
4.0.3
Escaped category names/links/counts in the legacy frontend output, fixed
active child detection, and made exclude parsing safe with unserialize(…,
[‘allowed_classes’ => false]) + wp_parse_id_list in classes/legacy/class-
jcl-legacy-html-builder.php.
Added spaces between data-* attributes, escaped admin form values/IDs/names,
sanitized stored exclude lists, and safely deserialized excludes in classes/
legacy/class-jcl-legacy-widget.php.
Validated REST params (orderby, orderdir, parent, cats) and normalized them
to safe values in classes/class-js-categories-list-rest-endpoints.php.
4.0.2
Improve compatibility with WordPress standards
4.0.1
Added support for WordPress Playground.
Updating tests to the latest react-testing-library version.
Updating JS dependencies to latest version. This will fix security issues and improve performance.
Legacy version: added jcl_widget_title hook to allow changing the widget’s title (helpful for translations).
4.0.0
Code migrated to Gutenberg block. Now you can use this plugin as a Gutenberg block on any modern theme.
The block version reads the categories dynamically. It saves bandwidth and reduces old DOM size on old sites.
JS code is only loaded if there’s a widget or block is added to page. No more always loading JS and CSS code.
Deprecated old php version. It will only be on maintenance mode and new Gutenberg block will be supported.
Improved automated tests and code, to make future versions easier to develop.
3.0
Solved accordion bug with Intenet Explorer 8
2.2.2
Solved expansion/contraction bug when using sub-categories.
Added support for HTTPS, now the plugin generates the correct link if HTTPS is being used, thanks to bridgetwes for the patch.
Added ordering by category’s slug.
2.2.1
Fixed the problem of a warning message being shown when a post had a single category.
Added a CSS class to li elements with child categories.
Improved category HTML generation code to make future modifications easier.
2.2.
Fixed category’s post count when excluding some categories, now it uses the same algorithm as the standard WP widget.
Finally the list expands to the opened/click category! It remembers where you clicked! Just select the expand option to ‘Clicked Category’.
Wrapped post count (if activated) inside a span to apply CSS rules.
Added a active class for current category.
Fixed some spanish translations.
Plugin translated to Russian by Матвеев Валерий.
2.1
Added option to exclude categories when using shortcodes, just add categorie’s ID separated by commas in the exclude attribute.
Solved bug of not including JS file when using a filter without any widget.
Solved bug of not including JS in some WP installlations under Windows.
2.0
Huge update thanks to donations! If you upgrade to this version you’ll NEED to configurate the widget AGAIN, due to architecture rewriting configuration may get lost.
Added support for multiples instances, finally you can have as many widgets as you want without any hack 🙂
Added support for dynamic widgets
Added an option to not have any effect when expanding or collapsing.
Added an option to select if you want the symbol on the left or on the right.
Added an option to autoexpand all categories by default.
Removed dynamic generation of the JS file, now you don’t need write permissions on the folder.
Rewroted JS code, now it is a single JS file for all instances, improved perfomance and compatible with all cache plugins.
Updated translation files for Spanish, Czech, Slovak and Italian.
1.3.2
Fixed some several bugs, thanks to Marco Lizza who reviewed the code and fixed them. Plugin should be more stable and won’t throw errors when display_errors is on.
Added italian translation.
1.3.1
Added option to show or hide empty categories.
Improved shortcode, now parameters accepts yes, no, 1, or 0 as input.
1.3
Improved Javascript code (please save again the configuration to take effect)
Better shortcode/filter support. now it has attributes for different behavior on instances. (There’s no support for effect and symbol because it is managed through the JS filse )
1.2.5
Fixing i18n bug due to new wordpress changes, now it loads your language (if it was translated) correctly.
1.2.4
JS code is not generated dynamically, now it is generated in a separated file. For better performance and to support any minify plugins.
1.2.3
Improved generated HTML code to be more compatible when JS is off, also helps to search engines to navigate through archives pages.
Added Slovak translation.
Cleaned code and make it more readable for future hacks from developers.
1.2.2
Changed plugin’s JS file loading to the footer, so it doesn’t affect your site’s loading speed.
Added default value for widget’s title. And it is included in translation files, so this can be used in multi-language sites.
Plugin translated to Czech (CZ) thanks to Tomas Valenta.
1.2.1
Solving sorting bug, now you can choose the categories display order.
1.2
Added support for multiples instances (by writing [jQuery Categories List] on any Text widget).
Fixed a bug when no categories were selected to be filtered.