Sometimes you need greater flexibility and control when filtering a collection based on a taxonomy (or even multiple taxonomies).
Within your own tag, it is easy to build your own query using Statamic's EntryQueryBuilder that can perform different query logic (AND or OR) on your taxonomies to determine whether your filters become stricter (AND) or broader (OR).
For more information, check out my filtering entries by Taxonomy in Statamic 3 using AND or OR logic.
If you're reading this, you're probably already in the Statamic and/or Laravel way of thinking, so this should be straight forward.
- Clone the repo, and configure your server as you normally would
- Create and configure your
.env
as necessary - Run
composer install
- Run
npm install
- Build the assets with
npm run production
- If you want to log in to the Control Panel, make yourself a user with
php please make:user
This addon is licensed under the MIT license.