Support » Developing with WordPress » multiple taxonomy lists search

  • Hi everyone there is a small plugin called


    but it searches one parameter at a time example link on my test site
    ia there any way to make it’s searches sequential/simultanious like i collect all needed parameters and then submit
    like this site them to query
    or how and where i should insert relation => AND
    here is the plugin code
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    and this is my current display code

    <div id="browselist" class="clearfix">
    <h3 class="sidetitle"> Подобрать помещение</h3>
    <p class="listin"><span>Город</span><br/><?php the_dropdown_taxonomy('city'); ?></p>
    <p class="listin"><span>Район</span><br/><?php the_dropdown_taxonomy('location'); ?></p>
    <p class="listir"><span>Тип помещения</span><br/><?php the_dropdown_taxonomy('property'); ?></p>
    <p class="listin"><span>Площадь в м2</span><br/><?php the_dropdown_taxonomy('area'); ?></p>
    <p class="listir"><span>Вместимость (чел.)</span><br/><?php the_dropdown_taxonomy('capacity'); ?></p>
    <p class="listir"><span>Ценовой диапазон</span><br/><?php the_dropdown_taxonomy('range'); ?></p>

Viewing 1 replies (of 1 total)
  • I found a way to search by multiple custom taxonomies by just creating my own form, using the wp_dropdown_categories function.

    This takes you to a taxonomy archive page, rather than a search results page, but if multiple taxonomies are specified in the URL with the GET method, it works to filter the results.

Viewing 1 replies (of 1 total)
  • The topic ‘multiple taxonomy lists search’ is closed to new replies.