Linux 软件免费装
Banner图

Taxonomy Query Filter

开发者 twentybellows
pbking
stevepfisterer
thezenith
更新时间 2026年1月31日 02:58
WordPress版本: 6.9
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

tag taxonomy block category filter archive full-site-editing fse query-loop

下载

1.0.2 1.0.0 1.0.1

详情介绍:

Make your WordPress site more interactive by adding taxonomy filters to Query Loop blocks. This plugin provides a simple block that lets visitors filter posts by categories, tags, or any custom taxonomy—perfect for Full Site Editing (FSE) themes. Key Features: Perfect For: How It Works: Simply insert the Taxonomy Query Filter block inside any Query Loop block, select your taxonomy, and visitors can instantly filter the displayed posts. The plugin updates the URL with query parameters, making filtered views shareable and bookmark-friendly. Open Source: This plugin is open source and actively maintained on GitHub. Contributions welcome!

安装:

  1. Upload the plugin files to the /wp-content/plugins/taxonomy-query-filter directory, or install it via the WordPress Plugin Directory.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Insert the Taxonomy Query Filter block inside a Query Loop block on any page or post.

屏幕截图:

  • Frontend display of the taxonomy filter dropdown
  • Filtering in action on a live site

常见问题:

How do I use the filter?

  1. Insert a Query Loop block on any page or post.
  2. Insert the Taxonomy Query Filter block inside the Query Loop block.
  3. In the block settings panel, select the taxonomy you want to filter by (Category, Tag, or a custom taxonomy).
  4. Publish your page—visitors can now use the dropdown to filter posts.

Does it work with custom taxonomies?

Yes! The block works with any registered taxonomy, including custom taxonomies created by your theme or other plugins.

Will it work with my theme?

As long as your theme supports the WordPress Block Editor (Gutenberg), the plugin will work. It's specifically built for Full Site Editing (FSE) themes but works with any block-compatible theme.

Does the filter reload the page?

The filtering behavior depends on your Query Loop block settings. If you have "Reload Full Page" enabled in the Query Loop, the page will reload. Otherwise, it will use AJAX to update the content without a full page reload.

Can I use multiple filters on the same page?

Currently, the plugin supports one filter per Query Loop block. If you need to filter by multiple taxonomies, you would need separate Query Loop blocks for now.

Does pagination still work after filtering?

Yes! The plugin preserves all Query Loop settings, including pagination. Filtered results will be paginated according to your Query Loop configuration.

Can I style the dropdown?

Absolutely! The block outputs standard HTML markup with class names you can target with CSS. It also works with dropdown enhancement libraries like Select2 if you want advanced styling or search functionality.

What happens to the URL when filtering?

The plugin updates the URL with query parameters when a filter is applied. This makes filtered views shareable and allows visitors to bookmark specific filter combinations.

Do I need coding knowledge to use this plugin?

No coding required! Simply add the block to your Query Loop and select your taxonomy from the block settings. However, if you want custom CSS styling, basic CSS knowledge is helpful.

更新日志:

1.0.2 1.0.1 1.0.0