{"id":4890418,"date":"2014-05-07T16:19:53","date_gmt":"2014-05-07T16:19:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-taxonomy-filters\/"},"modified":"2016-08-21T20:19:57","modified_gmt":"2016-08-21T20:19:57","slug":"using-taxonomy-filters","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-taxonomy-filters\/","title":{"rendered":"Using Taxonomy Filters"},"content":{"rendered":"<p>Can you better document how to use the taxonomy_filter function?  Specifically what is a &#8216;taxonomy_key&#8217; and how I set it and the &#8216;taxonomy_terms&#8217; to only show one group of slides in a slideshow?<\/p>\n<p>I figured it out once I started writing this, but it wasn&#8217;t intuitive.  In order to show only the slides in a group with the slug of &#8216;active&#8217; this was the syntax:<\/p>\n<p>    &#8216;taxonomy_filter&#8217;           =&gt; true,                           \/\/ [ true | false ] &#8211; Set to true to filter by taxonomy<br \/>\n    &#8216;taxonomy_key&#8217;              =&gt; &#8216;conveyor_group&#8217;,                \/\/ The key of the taxonomy we wish to filter by<br \/>\n    &#8216;taxonomy_terms&#8217;            =&gt; &#8216;active&#8217;               \/\/ The terms (uses slug), will accept a string or array<\/p>\n<p>It wasn&#8217;t clear which things I was supposed to change.  Thanks.<\/p>\n<p>https:\/\/wordpress.org\/plugins\/conveyor\/<\/p>\n","protected":false},"template":"","class_list":["post-4890418","topic","type-topic","status-closed","hentry","topic-tag-taxonomies","topic-tag-taxonomy"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4890418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4890418\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4890418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}