Support » Plugins and Hacks » Query Multiple Taxonomies » Limit taxonomy terms to CPT

Limit taxonomy terms to CPT

  • I have multiple custom taxonomies attached to multiple custom post types.

    For example I have the tax “genre” attached to the cpts “movies” and “songs”.

    In the movie overview page I am using

    the_widget('Taxonomy_Drill_Down_Widget', array(
    'title' => '',
    'mode' => 'dropdowns',
    'taxonomies' => array( $taxonomy1,$taxonomy2 )

    where taxonomy1 is genre.

    In the dropdown I want to show taxonomy terms which are in the cpt “movies” only. At the moment I am getting all terms from all the cpts.

    Is it possible to limit the taxonomy terms to the current cpt only?

    Thanks a lot!


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Limit taxonomy terms to CPT’ is closed to new replies.
Skip to toolbar