Viewing 3 replies - 1 through 3 (of 3 total)
  • Haven’t used this but here’s the default parameter settings from wp-includes/wp-categories.php

    $defaults = array('show_option_all' => '',
    'show_option_none' => '',
    'orderby' => 'ID',
    'order' => 'ASC',
    'show_last_update' => 0,
    'show_count' => 0,
    'hide_empty' => 1,
    'child_of' => 0,
    'exclude' => '',
    'echo' => 1,
    'selected' => 0,
    'hierarchical' => 0,
    'name' => 'cat',
    'class' => 'postform');

    The old Template_Tags/dropdown_cats also has some explanations…

    Thread Starter mythusmage

    (@mythusmage)

    Looks like one could have a lot of typing to do, were one to have a lot of child and grandchild categories. Sounds like plugin time to me. 🙂

    My thanks for your assistance.

    More flesh on the bone now:
    Template_Tags/wp_dropdown_categories

    Would appreciate any better explanations of what the developers intended with ‘show_option_all’ and ‘show_option_none’.

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

The topic ‘wp_dropdown_categories’ is closed to new replies.