 === Category Filter Block ===
Contributors: rudrastyh
Tags: category filter, post filter, filter, gutenberg, taxonomy filter
Requires at least: 6.5
Tested up to: 7.0
Stable tag: 1.2
Requires PHP: 7.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Just a simple category filter block with the Interactivity API support.

== Description ==

The category filter block allows you to filter posts displayed with the standard Query Loop block by category, without a page refresh. The Interactivity API is fully supported.

= Features =

✅ The category filter can be displayed as links or as a select dropdown field.
✅ You can display a post count number near each category.
✅ Custom **All Categories** text
✅ Works without page refresh (AJAX + Interactivity API)
✅ Sticky positioning
✅ Block styles customization (Font size, Padding, Margin)
✅ The block can add parameters to the page URL, for example, ?filter-category=travel

The plugin also has a PRO version, its main difference is that it supports filtering by any custom taxonomy – Tags, Product Categories, Product Tags, Brands, etc. It has a bunch of other features too.

= Pro features =

✅ Custom taxonomies are supported.
✅ Multiple taxonomy filters within the same Query Loop.
✅ Sort categories (terms) in the filter alphabetically, by post count, or in a custom order.
✅ The filter can be displayed as buttons with the possibility of style customization (color, background color, border, border radius, etc).

🚀 [Upgrade to Pro](https://rudrastyh.com/plugins/taxonomy-filter-block)

== Installation ==

= Automatic Install =

1. Log into your WordPress dashboard and go to Plugins &rarr; Add New
2. Search for "Category Filter Block"
3. Click "Install Now" under the "Category Filter Block" plugin
4. Click "Activate Now"

= Manual Install =

1. Download the plugin from the download button on this page
2. Unzip the file, and upload the resulting `category-filter-block` folder to your `/wp-content/plugins` directory
3. Log into your WordPress dashboard and go to Plugins
4. Click "Activate" under the "Category Filter Block" plugin

== Frequently Asked Questions ==

= Is it tested with the latest PHP version? =
Yes, it is.

= Will it work if the "Reload full page" option is active for my "Query Loop" block? =
Yes, the plugin supports both AJAX and non-AJAX query loops.

== Screenshots ==
1. Category Filter block in the Inserter
2. Category Filter block settings

== Changelog ==

= 1.2 =
* Fixed: An issue with the link-type filter styles in the Block Editor in WordPress 7.0

= 1.1 =
* Fixed: Deprecation notices in the browser console (Block API version, __nextHasNoMarginBottom, and __next40pxDefaultSize)
* Minor UI improvements

= 1.0 =
* Initial release