Dynamic Category Slug Filter
Automatically generates filter buttons based on category slugs using the WordPress REST API. No PHP editing required. Multilingual support included.
Plugin info
Maintenance & Compatibility
Maintenance score
Maintained • Last updated 172 days ago
Is Dynamic Category Slug Filter abandoned?
Likely maintained (last update 172 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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.
Installation
- Upload the ZIP file via WordPress Admin Plugins Add New Upload Plugin.
- Activate the plugin.
- Edit your page or post with a Grid or blog section.
- Add the attribute
data-cat-slug="slug1,slug2"to the element. - Ensure filter container uses
.btCatFilterand items use.btCatFilterItem.
Frequently Asked Questions
No. It uses vanilla JavaScript.
Yes. It works with category names in any language.
Yes, with minor tweaks to REST API endpoint logic.
Review feed
Screenshots
Changelog
1.0
- Initial release.