Title: Using Taxonomy Filters
Last modified: August 21, 2016

---

# Using Taxonomy Filters

 *  Resolved [spiretop](https://wordpress.org/support/users/spiretop/)
 * (@spiretop)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/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 array
 * It wasn’t clear which things I was supposed to change. Thanks.
 * [https://wordpress.org/plugins/conveyor/](https://wordpress.org/plugins/conveyor/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Matt Watson](https://wordpress.org/support/users/mwtsn/)
 * (@mwtsn)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/using-taxonomy-filters/#post-4890694)
 * Hi spiretop,
 * The taxonomy filter uses the standard WP_Query tax_query, as documented in the
   codex here: [http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters](http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters)
   if you give that a read it should become a little clearer for you.
 * The first parameter ‘taxonomy_filter’ will determine if the plugin should be 
   filtered by taxonomy or not. If this is set to true then the other two fields
   apply.
 * ‘taxonomy_key’ is the name of the taxonomy you wish to filter by. By default 
   it is set to ‘conveyor_group’ as this is the taxonomy that is provided by the
   plugin, but you can filter by any taxonomy you wish, as you may have added your
   own.
 * Finally ‘taxonomy_terms’ is the term (or terms) within the taxonomy that you 
   wish to filter by. So if you have created (and selected) a category on your slides
   of ‘featured’ then entering the slug of that term here will bring back only those
   slides that have the category of ‘featured’.

Viewing 1 replies (of 1 total)

 The topic ‘Using Taxonomy Filters’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/conveyor_c54b6b.svg)
 * [Conveyor](https://wordpress.org/plugins/conveyor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/conveyor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/conveyor/)
 * [Active Topics](https://wordpress.org/support/plugin/conveyor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conveyor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conveyor/reviews/)

## Tags

 * [taxonomies](https://wordpress.org/support/topic-tag/taxonomies/)
 * [taxonomy](https://wordpress.org/support/topic-tag/taxonomy/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Watson](https://wordpress.org/support/users/mwtsn/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/using-taxonomy-filters/#post-4890694)
 * Status: resolved