Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lloydchrein

    (@lloydchrein)

    Hi – Just checking if you had any guidance on my question above – thank you!

    Thread Starter lloydchrein

    (@lloydchrein)

    Hi – thanks – but I don’t see the link to the jquery plugin in your reply. Can you send?

    Thread Starter lloydchrein

    (@lloydchrein)

    Hi – 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;
    }

    Thread Starter lloydchrein

    (@lloydchrein)

    Hi – 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!

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