Using Taxonomy Filters
-
Can you better document how to use the taxonomy_filter function? Specifically what is a ‘taxonomy_key’ and how I set it and the ‘taxonomy_terms’ to only show one group of slides in a slideshow?
I figured it out once I started writing this, but it wasn’t intuitive. In order to show only the slides in a group with the slug of ‘active’ this was the syntax:
‘taxonomy_filter’ => true, // [ true | false ] – Set to true to filter by taxonomy
‘taxonomy_key’ => ‘conveyor_group’, // The key of the taxonomy we wish to filter by
‘taxonomy_terms’ => ‘active’ // The terms (uses slug), will accept a string or arrayIt wasn’t clear which things I was supposed to change. Thanks.
- The topic ‘Using Taxonomy Filters’ is closed to new replies.