I have experienced my site listing all groups within parent inside a dropdown using wordpress_dropdown_groups. Essentially I wish to omit two groups from that list and also have them show towards the top of their email list using the relaxation showing purchased by title below.
I have attempted a few things and been unsuccesful. Can anybody produce some pointers? I'm able to handle html/css fine but have a problem with hard coding! Cheers
The code I am using is -
<form action="<?php bloginfo('url'); ?>/" method="get"> <div> <?php $select = wp_dropdown_categories('show_option_none=Please Select Your Location&show_count=0&orderby=name&echo=0&child_of=29&hierarchical=true&depth=1&taxonomy=category&exclude=233,235'); $select = preg_replace("#<select([^>]*)>#", "<select$1 onchange='return this.form.submit()'>", $select); echo $select; ?> <noscript><div><input type="submit" value="View" /></div></noscript> </div></form>