Working on a WordPress support site for the last week or so, and we wanted to display sidebar dropdown menus for the many taxonomies we’ve created to help support agents find the correct content.
WordPress built in widgets don’t let you choose custom created taxonomies so the hunt was on for a way to do this. Instead of doing some work, I found the List Custom Taxonomy Widget, which suited our needs perfectly. And yet I wasn’t happy with it. For a kick off the submit button says “go »” , the 1990’s called and want their call to action indicator back.
The changes I made to fit my needs for this web site:
- If FontAwesome Menus is installed show a FontAwesome input box for icon (fa-search for example, see FontAwesome Cheatsheet for the complete list)
- Custom text on button, default to “Go »” (the 1990’s called again)
- Add onchange option (The button will still be shown for accessibility purposes. And truly stupid people who need to see a button(!))
Download here and upload to your web shite.
Just for a change, I thought I’d have a blog post that actually involves what I do for a living. Don’t worry, the abuse will continue soon enough