Dynamic Category Slug Filter
v1.0Tony Huynh · 2025年7月12日 上架
Automatically generates filter buttons based on category slugs using the WordPress REST API. No PHP editing required. Multilingual support included.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 740
- 最近更新
- 2025年7月12日
需要 WordPress 5.0+已测试到 6.8.13PHP 7.0+
贡献者
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.