Query Loop Filters #2 in Blocks & Editor
Filter controls for the query loop block, using the interactivity API
★ 124stars
73release downloads
23kcomposer installs
33forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/humanmade/query-filter/releases/download/v0.4.2/query-filter-v0.4.2.zipAlso on Packagist as humanmade/query-filter:
composer require humanmade/query-filterFrom the readme
Query Loop Filters
This plugin allows you to easily add filters to any query loop block.
Provides 2 new blocks that can be added within a query loop block to allow filtering by either post type or a taxonomy. Also supports using the core search block to allow you to search.
Compatible with both the core query loop block and the Advanced query loop plugin (In fact, in order to use post type filters, use of the Advanced Query Loop plugin is required).
Easy to use and lightweight, built using the WordPress Interactivity API.
Usage
Add a query block. This can anyhere that the query block is supported e.g. page, template, or pattern.
Add one of the filter blocks and configure as required:
Taxonomy filter. Select which taxonomy to to use, customise the label (and whether it's shown), and customise the text used when none is selected.
Post type filter. Customise the label (and whether it's shown), as well as the text used when no filter is applied.
Search block. No extra options.
Installation
Using Composer
This plugin is available on packagist.
composer require humanmade/query-filter
Manually from Github.
1. Download the plugin from the GitHub repository.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v0.4.2 | Sep 2, 2026 | query-filter-v0.4.2.zip | 11 |
| v0.4.1 | Aug 27, 2026 | query-filter-v0.4.1.zip | 34 |
| v0.4.0 | Aug 12, 2026 | query-filter-v0.4.0.zip | 28 |
| v0.3.2 | Jul 23, 2026 | — | — |
| v0.3.1 | Jun 24, 2026 | — | — |
| 0.3.0 | Jun 23, 2026 | — | — |
| 0.2.4 | Feb 24, 2026 | — | — |
| 0.2.3 | Dec 4, 2025 | — | — |
| 0.2.2 | Dec 3, 2025 | — | — |
| 0.2.1 | Feb 12, 2025 | — | — |
| 0.2.0 | Nov 5, 2024 | — | — |
| 0.1.4 | Nov 1, 2024 | — | — |
| 0.1.3 | Oct 31, 2024 | — | — |
| 0.1.2 | Sep 6, 2024 | — | — |
| 0.1.1 | Sep 6, 2024 | — | — |
| 0.1.0 | Sep 6, 2024 | — | — |