| 开发者 | raulcerda |
|---|---|
| 更新时间 | 2026年11月4日 05:51 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/2025/09/), the Date Filter shows that period.filterwell folder to /wp-content/plugins/.Yes. The Taxonomy Filter lists the taxonomies of the post type used by the connected Query Loop.
Yes. The container can be anywhere on the page or template. If the loop is outside the current content (for example, in the template while the filters are in a page), type the loop ID in Loop ID (manual).
On /category/design/, for example, the category filter shows Design as selected and the loop only shows those posts. Choosing another category goes to its archive URL, keeping the other filters. Loops that inherit the template query always do this. Loops with their own query do it when Follow the current archive is enabled in the container.
On date archives such as /2025/09/, the Date Filter shows the first and last day of that month. Changing the dates keeps loops with their own query on the same page with the new range, and takes loops that inherit the template query to the posts page.
Add two Taxonomy Filter blocks for Categories, each one in its own Query Loop Filters container. Set Terms to show to Top-level terms only in the first one and to Subterms of the selected term in the second one. The second row stays hidden until a category with subcategories is selected.
It uses the number of approved comments of each post. WordPress does not track views, so there is no "most viewed" option.
In "With button" mode (the default), the filters are a regular form, so they keep working with a normal page load. Instant mode, the pills row arrows and the mobile panel need JavaScript.
The plugin includes the source files in the src folder, next to the compiled files in build. To compile them, run npm install and then npm run build in the plugin folder. The build uses the official @wordpress/scripts package, listed in package.json.