Title: Dynamic Category Slug Filter
Author: Tony Huynh
Published: <strong>July 12, 2025</strong>
Last modified: July 12, 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/dynamic-category-slug-filter.svg)

# Dynamic Category Slug Filter

 By [Tony Huynh](https://profiles.wordpress.org/thuynh91/)

[Download](https://downloads.wordpress.org/plugin/dynamic-category-slug-filter.zip)

 * [Details](https://test.wordpress.org/plugins/dynamic-category-slug-filter/#description)
 * [Reviews](https://test.wordpress.org/plugins/dynamic-category-slug-filter/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/dynamic-category-slug-filter/#installation)
 * [Development](https://test.wordpress.org/plugins/dynamic-category-slug-filter/#developers)

 [Support](https://wordpress.org/support/plugin/dynamic-category-slug-filter/)

## 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

 1. Upload the ZIP file via WordPress Admin  Plugins  Add New  Upload Plugin.
 2. Activate the plugin.
 3. Edit your page or post with a Grid or blog section.
 4. Add the attribute `data-cat-slug="slug1,slug2"` to the element.
 5. Ensure filter container uses `.btCatFilter` and items use `.btCatFilterItem`.

## FAQ

### Does it require jQuery?

No. It uses vanilla JavaScript.

### Does it support multilingual websites?

Yes. It works with category names in any language.

### Can I use it with custom taxonomies?

Yes, with minor tweaks to REST API endpoint logic.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Dynamic Category Slug Filter” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Tony Huynh ](https://profiles.wordpress.org/thuynh91/)

[Translate “Dynamic Category Slug Filter” into your language.](https://translate.wordpress.org/projects/wp-plugins/dynamic-category-slug-filter)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dynamic-category-slug-filter/),
check out the [SVN repository](https://plugins.svn.wordpress.org/dynamic-category-slug-filter/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/dynamic-category-slug-filter/)
by [RSS](https://plugins.trac.wordpress.org/log/dynamic-category-slug-filter/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Last updated **10 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/dynamic-category-slug-filter/)
 * Tags
 * [category filter](https://test.wordpress.org/plugins/tags/category-filter/)[dynamic filter](https://test.wordpress.org/plugins/tags/dynamic-filter/)
   [javascript](https://test.wordpress.org/plugins/tags/javascript/)[multilingual](https://test.wordpress.org/plugins/tags/multilingual/)
   [rest-api](https://test.wordpress.org/plugins/tags/rest-api/)
 *  [Advanced View](https://test.wordpress.org/plugins/dynamic-category-slug-filter/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dynamic-category-slug-filter/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dynamic-category-slug-filter/reviews/)

## Contributors

 *   [ Tony Huynh ](https://profiles.wordpress.org/thuynh91/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dynamic-category-slug-filter/)