Title: Modify Dropdown HTML Output
Last modified: September 21, 2017

---

# Modify Dropdown HTML Output

 *  Resolved [jedifunk](https://wordpress.org/support/users/jedifunk/)
 * (@jedifunk)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/modify-dropdown-html-output/)
 * Hello
 * Great plugin so far! Couple of questions about modifying the output of the dropdowns.
 * 1. I’d like to remove the label all together rather than simply not giving it
   content.
 * 2. I’m using a perhaps unusual approach to my dropdown stylings. I have a DIV
   with a specific class on it that wraps around the select. I also create an INPUT
   text field that I can style like the rest of my inputs, and then have the actual
   SELECT absolutely positioned behind this INPUT. I then use some JS to open the
   SELECT when the INPUT is clicked.
 * How can I accomplish getting the correct DIV I need, as well as adding the additional
   INPUT inside that DIV?
 * 3. I’d also like to hide some of the Taxonomies on the frontend, while still 
   having the ability to use them in the functionality.
 * Example: example.com/post_type/tax_term1 Hide tax_term1 dropdown and only show
   tax_term2 dropdown
 * Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/modify-dropdown-html-output/#post-9526781)
 * Hi,
 * Thank you! I’ll attempt to help you out as best I can 🙂
 * 1. Easiest would probably be to just hide the label with CSS. It’s also good 
   for screen readers and such to keep the labels machine readable (hidden but not
   removed).
 * 2. Are you sure you cannot use select2 and restyle that? It uses a similar approach.
   If not, your best bet is to use the action hooks `beautiful_actions_before_select`
   and `beautiful_actions_after_select` to add content before and after the divs
   wrapping the selects.
 * 3. See my answer in your other post. Best way is to just hide them with CSS.
 *  Thread Starter [jedifunk](https://wordpress.org/support/users/jedifunk/)
 * (@jedifunk)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/modify-dropdown-html-output/#post-9529242)
 * [@jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * Great! I’ll check out modifying select2, but will likely just disable and try
   to use the actions.
 * On that subject, you might want to update the filters/actions section of the 
   plugin page to show these actions, as they are not listed.
 * Thanks.
 *  Plugin Author [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/modify-dropdown-html-output/#post-9530302)
 * Best of luck!
 * I am aware the section is not updated. I’m working on a separate proper documentation
   website but it’s hard to find the time 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Modify Dropdown HTML Output’ is closed to new replies.

 * ![](https://ps.w.org/beautiful-taxonomy-filters/assets/icon-256x256.png?rev=1654967)
 * [Beautiful taxonomy filters](https://wordpress.org/plugins/beautiful-taxonomy-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beautiful-taxonomy-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jonathandejong](https://wordpress.org/support/users/jonathandejong/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/modify-dropdown-html-output/#post-9530302)
 * Status: resolved