WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
Terms and Taxonomy dropdown not showing (1 post)

  1. bandym
    Member
    Posted 8 months ago #

    I have two custom taxonomies I'm trying to filter by:

    register_taxonomy(
            'media_year',
            'attachment',
            array(
                'label' => __( 'Year' ),
                'hierarchical' => true,
                'show_admin_column' => 'true'
            )
        );
    
        register_taxonomy(
            'media_album',
            'attachment',
            array(
                'label' => __( 'Album' ),
                'hierarchical' => true,
                'show_admin_column' => 'true'
            )
        );

    I've added the widget line to my template:

    <?php
    the_widget(
      'Taxonomy_Drill_Down_Widget',
      array(
         'title' => 'Search',
         'mode' => 'dropdowns',
         'taxonomies' => array('media_year', 'media_album')
     )); ?>

    Year has 2013, 2012 and 2011 all with media assigned to those terms
    Album has close to 10 terms, with media assigned.

    What I'm getting is the Year dropdown is only showing 2013
    The Album dropdown is not even displaying.

    Not sure where to go from here, but any help would be much appreciated.

    http://wordpress.org/plugins/query-multiple-taxonomies/

Reply

You must log in to post.

About this Plugin

About this Topic