Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheu authored Oct 2, 2024
1 parent b91a07f commit 8c1b8a2
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
# Query Loop Filter
# Query Loop Filters

Adds support for filtering the query loop block using post types and taxonomies.
![Example of query loop filters](https://private-user-images.githubusercontent.com/494927/372880371-99de0b1b-a96c-4d6a-9bcc-e59c9fe18d4b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc4NzU5OTIsIm5iZiI6MTcyNzg3NTY5MiwicGF0aCI6Ii80OTQ5MjcvMzcyODgwMzcxLTk5ZGUwYjFiLWE5NmMtNGQ2YS05YmNjLWU1OWM5ZmUxOGQ0Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAwMlQxMzI4MTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05OTY5ZmNhYjMwZjUwMzcxMTY5YTcwNTA0NzE3YjBhZmQxYTVjYTYzMTUyNTAxNzg1NTJjNGE0ZmU0NWM1YmE0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cJO5wyEdtzqLCmtoV47Vg5bA3GIFK9LtJrT6wOgU5Lc)

Also adds support for the core search block.
This plugin allows you to easily queries that allow users to search and filter the results.

Provides 2 new blocks that can be added within any query loop block to add filters for post type and taxonomy. Also supports using the core search block.

Compatible with both the core query loop block and the [Advanced query loop plugin](https://wordpress.org/plugins/advanced-query-loop/) (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 suppported e.g. page, template, or pattern.
* Add one of the filter blocks and configure as required:
* Taxonmy filter. Set which taxonomy to to use, and customise the text used when none is selected.
(
*

## Installation

Expand Down

2 comments on commit 8c1b8a2

@szepeviktor
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattheu There is a typo here: "suppported"

@mattheu
Copy link
Member Author

@mattheu mattheu commented on 8c1b8a2 Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.