• Hi all, this plugin is exactly that what I was looking for. Many thanks to scribu!

    I have modified the dropdowns.html and want to share the code in some few lines:

    • Put a “Please choose: ….” into HTML selector
    • Add some CSS to HTML selectors to keep it more compact
    • Add “onChange” event handler to start searching if one dropdown field has been changed

    You simply have to copy the three files in .../wp-content/plugins/query-multiple-taxonomies/templates folder to .../wp-content/themes/<your-theme>/qmt-templates and modify dropdowns.html as follows:

    form method="get" action="{{base-url}}" class="taxonomy-drilldown-dropdowns">
    {{#taxonomy}}
    <ul>
    <li>
    <select name="{{name}}" style="width:90%; padding=2px; margin:0px;" onChange="this.form.submit()">
    <option class="level-0" value="">Choose: {{title}}...</option>
    {{{options}}}
    </select>
    </li>
    {{/taxonomy}}
    <li>
    <a class="taxonomy-drilldown-reset" href="{{reset-url}}">{{reset-text}}</a>
    </li>
    </ul>
    </form>

    https://www.ads-software.com/extend/plugins/query-multiple-taxonomies/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Great!
    I was looking for this solution (auto submit).. now I just need more style, like to remove bullets in front??

    Here is an update which put the reset function into dropdown like “Select all” or anything else … it can be also used as “{{reset-text}} all” instead of “select all”

    <form method="get" action="{{base-url}}" class="taxonomy-drilldown-dropdowns">
    {{#taxonomy}}
    
    <ul>
    <li>
    <select name="{{name}}" style="width:90%; padding=2px; margin:0px;" onChange="this.form.submit()">
    <option class="level-0" value="">Choose {{title}}...</option>
    <option class="level-1" value="">Select All <a href="{{reset-url}}"></a></option>
    {{{options}}}
    </select>
    </li>
    {{/taxonomy}}
    
    <li>
    </li>
    </ul>
    </form>

    I’ll post my item-list.html with my modifications…

    I’m also looking for solution to modify list to leave Categories list open all the time so I could shuffle thru categories but still keep the selected custom taxonomies…

    My first guess would be that it should “reset categories” before selecting new… but still then it would show only collapsed ones, this would work only for those which appear with selected one…

    Anybody?

    Plugin Author scribu

    (@scribu)

    Please don’t post the same message on multiple threads. Once is enough.

    I know, but I realized that last post fits more under “list-dorpdown example” post…

    Since you’re around here could you help me out with this, and give me some hint how could I achieve this?

    thanks!

    Plugin Author scribu

    (@scribu)

    From the readme:

    I do not offer any support for this plugin (free or paid).

    Sorry.

    fair enough. Hopefully somebody will.

    thanks anyway!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Query Multiple Taxonomies] Dropdown Example’ is closed to new replies.