Dynamic Category Slug Filter

Dynamic Category Slug Filter

Details
View on WordPress

This plugin dynamically generates category filter buttons using slugs declared in your HTML (e.g., in a Grid block). It fetches category names using the WordPress REST API, eliminating manual slug-to-name mapping.

Features include:

  • Auto filter display from data-cat-slug attribute
  • Smart category name resolution via REST API
  • Works with Betheme’s .btCatFilter structure
  • No PHP or theme file edits needed
  • Supports multilingual category names

License

This plugin is licensed under GPLv2 or later.

Details

Plugin code:
dynamic-category-slug-filter
Plugin version:
1.0
Author:
Outdated:
No
WP version:
5.0 or higher
PHP version:
7.0 or higher
Test up to WP version:
6.8.1
Total installations:
0
Last updated:
2025-07-12
Rating:
Times rated:
0
category-filter
dynamic-filter
javascript
multilingual
rest-api