Filtering category dropdown? (3 posts)

  1. Meredith Matthews
    Posted 2 years ago #

    I would like to display a dropdown list of custom taxonomy categories on my site, so that users can navigate directly to category listings, and I would like the dropdown to both drop down and have a text input to filter or at least shift the list to the right spot (it's a very long list). I haven't been able to find a plugin or a code snippet that does this, and while I'm pretty sure there's a name for this sort of field, *I can't even figure out what it's called*. Any help would be greatly appreciated.

  2. Meredith Matthews
    Posted 2 years ago #

    Kind of a semi-solution, I want what this plugin does, but on the outside of the website as a navigation tool.


  3. bcworkz
    Posted 2 years ago #

    A form field that has a dropdown selection and the ability to accept typed input is called a "combobox". It is not a standard HTML form element, but there are javascript and jQuery implementations you can use. The filtering behavior I believe is called "incremental filtering". I would expect this too is available as javascript or jQuery implementations, though probably not with a combobox input field.

    You will likely need to mash up the two implementations, then adapt them to work as a WP plugin in order to get exactly what you are looking for. If you have some flexibility in your requirements, a incremental filtered input of some sort, though not a combo box is likely available, but probably still not as a WP plugin. Doesn't hurt to search plugins anyway, you never know what you'll find. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic