lloydchrein
Forum Replies Created
-
Forum: Plugins
In reply to: [Dropdown multisite selector] Multiple Dropdown MenusHi – Just checking if you had any guidance on my question above – thank you!
Forum: Plugins
In reply to: [Dropdown multisite selector] On-Page Search FeatureHi – thanks – but I don’t see the link to the jquery plugin in your reply. Can you send?
Forum: Plugins
In reply to: [Dropdown multisite selector] Alphabetical Order of Items in DropdownHi – I implemented this as noted. See code below. It didn’t seem to allow sorting/ordering of the items on the admin screen, and the pulldown stopped working on the front end. So I deleted the new line. Please advise!
This is how the code looked after I pasted the line as instructed above:
function noneOptions(){
$out = “”;
$options_db_select = ‘dms_options’;if ( get_option( $options_db_select ) ) {
$options = get_option( $options_db_select );
}if ( $options ) {
$options = ksort($options);
foreach ( $options as $key => $value ) {
$out .= “<option value='” . $value . “‘>” . $key . “</option>”;
}
}
else{
$err = “<p class=’error-front’>” . __(“Missing data. Check if all the settigns are correctly set in your admin area regarding ‘Dropdown Multisite selector'”,’dropdown-multisite-selector’) . “</p>”;
return $err;
die();
}return $out;
}Forum: Plugins
In reply to: [Dropdown multisite selector] Alphabetical Order of Items in DropdownHi – I’m hoping you will have a chance to address this question soon. I got a reply from another thread, but that was just to reverse the order of the items in the pulldown.
I am trying to manually control the order, by hopefully either dragging and dropping items (taxonomy control) in the admin, or at least being able to add new items for the pulldown into a specific spot/order in the list.
Thank you!