bunchweb
Member
Posted 5 months ago #
Hi,
Thanks for the great plugin, just what I needed. Now I am trying to, of course, mess with what's already perfectly fine.
Two questions:
1. Is it possible to insert a default value into the dropdown menus like: "Please select (taxonomy name here)"
2. I noticed when nothing is selected and a the search button is clicked it automatically shows the archives loop for regular posts. Is it possible to select a certain page show up instead? Like the search page I've created with my dropdown widget menu for instance.
Thanks for any advice!
http://wordpress.org/extend/plugins/query-multiple-taxonomies/
I am also interested in setting a default option. Currently the default is blank. It would be nice to have something like "Please select..."
I posted too soon. After looking at the code you can easily do this.
In dropdowns.html change the following:
<select class="taxonomy-search-options" name="{{name}}">
<option></option>
{{{options}}}
</select>
To
<select class="taxonomy-search-options" name="{{name}}">
<option value="">All {{title}}</option>
{{{options}}}
</select>
I really like how the plugin author has used Mustache with WordPress. You can easily edit the code without much need for knowledge of PHP.