WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Dropdown Widget
[resolved] Filter using multiple dropdowns (2 posts)

  1. wmboy
    Member
    Posted 2 years ago #

    Just wondering if it's possible to filter 2 different taxonomies at the same time?

    I've got 2 drop-down lists, and when I select an item in the first it redirects (as it should), but then when I select an item in the second drop-down it disregards what was selected in the first drop-down list.

    <?php $args = array( 'taxonomy' => 'taxonomylocation','select_name' => 'LOCATION');
    if( function_exists( 'taxonomy_dropdown_widget' ) ) echo taxonomy_dropdown_widget( $args, 1); ?>
    
    <?php $args = array( 'taxonomy' => 'taxonomyproductservice','select_name' => 'PRODUCT/SERVICE');
    if( function_exists( 'taxonomy_dropdown_widget' ) ) echo taxonomy_dropdown_widget( $args, 2); ?>

    http://wordpress.org/extend/plugins/tag-dropdown-widget/

  2. Erick Hitter
    Member
    Plugin Author

    Posted 2 years ago #

    Not at this time.

    Supporting this has some inherent challenges, largely due to the variety of permalink structures that sites can use. To support this and maintain nice permalinks, my plugin would need to add a number of additional rewrite rules. Once that is done, the priority of taxonomies becomes a challenge as well.

    If pretty permalinks aren't a concern for you, it can be done as demonstrated at http://www.ethitter.com/category/wordpress/?tag=logo. I don't, however, foresee adding this functionality to this plugin given its inherent complexity. If there is sufficient interest, it might be something worthy of a new plugin or one that extends this plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic