WordPress.org

Forums

Query Multiple Taxonomies
Label to appear as 1st item in dropdown list (3 posts)

  1. stevegraynz
    Member
    Posted 1 year ago #

    Hello, Is it possible to display the label of the taxonomy as the first item in the dropdown list (appearing above - any -) rather than above the dropdown list

    For example my QMT displays as:

    BRAND
    [ - any - ]

    REGION
    [ - any - ]

    VARIETY
    [ - any - ]

    I would like it to display as:

    [ BRAND ]

    [ REGION ]

    [ VARIETY ]

    Any assistance greatly appreciated.

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

  2. chriskemm
    Member
    Posted 1 year ago #

    Hi

    I have a similar problem, if you open dropdown.html in the templates folder within the plugin you can change the form to display the taxonomy name.

    <li>
    			<label for="qmt-{{name}}">{{title}}</label>
    			<select id="qmt-{{name}}" name="{{name}}" class="default">
    				<option value=''>{{title}}</option>
    				{{{term-list}}}
    			</select>
    </li>

    I've changed the value within the label to {{title}} and that works, however I would like to grab the taxonomy Menu name rather then the taxonomy name.

  3. chriskemm
    Member
    Posted 1 year ago #

    I've then hidden the label with jQuery for accessibility, rather then deleting it from the form.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Query Multiple Taxonomies
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic