plugin-icon

Dynamic Category Slug Filter

作者 Tony Huynh·
Automatically generates filter buttons based on category slugs using the WordPress REST API. No PHP editing required. Multilingual support included.
版本
1.0
最近更新:
Jul 12, 2025

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.

目前已測試版本
WordPress 6.8.5
此外掛程式已可供下載,並可用於你 系統。