33 reputation
7
bio website
location South Africa
age
visits member for 2 years, 1 month
seen Jul 15 '13 at 14:41

Oct
30
awarded  Popular Question
Nov
28
accepted Using wp_dropdown_categories in widget options
Nov
26
revised Search box with field hidden till drop down selection is made
added 19 characters in body
Nov
26
accepted Search box with field hidden till drop down selection is made
Nov
26
answered Search box with field hidden till drop down selection is made
Nov
26
answered Using wp_dropdown_categories in widget options
Nov
26
asked Using wp_dropdown_categories in widget options
Nov
26
accepted Taxonomy Drop Down with hierarchical view using $terms
Nov
26
awarded  Supporter
Nov
26
revised Search box with field hidden till drop down selection is made
added 6 characters in body
Nov
26
answered Search box with field hidden till drop down selection is made
Nov
23
comment Search box with field hidden till drop down selection is made
Added $('.hidden').hide(); to hide fieldset if required category was deselcted
Nov
23
revised Search box with field hidden till drop down selection is made
Updates jquery to hide fieldset if required category was deselected
Nov
23
revised Search box with field hidden till drop down selection is made
added 10 characters in body
Nov
23
revised Search box with field hidden till drop down selection is made
Updated to reflect my code
Nov
23
awarded  Teacher
Nov
23
answered Search box with field hidden till drop down selection is made
Nov
23
comment Search box with field hidden till drop down selection is made
Got the data-select added by using <?php $select = wp_dropdown_categories($dropdown_args); $select = preg_replace("#<select([^>]*)>#", "<select$1 data-select='select1'>", $select); echo $select; ?> and changing the echo in my $dropdown_args to 0
Nov
23
comment Search box with field hidden till drop down selection is made
I could strip the select tags and then just add my own. The code given by Geert here but even he says its dirty :-) $ddp = wp_dropdown_pages(array( 'echo' => FALSE, // return the HTML instead of outputting it )); $ddp = preg_replace('~^<select[^>]*+>\s*~', '', trim($ddp)); // opening select tag $ddp = preg_replace('~\s*</select>$~', '', $ddp); // closing select tag
Nov
23
awarded  Scholar