Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rachel Carden

    (@bamadesigner)

    When you add a term to the box, are you clicking the “Add” button before you hit “Publish”?

    my bad, I didn’t ‘add’. lack of sleep can do that sometimes. Sorry about that. There’s something else I want to clarify.

    I am using wp_dropdown_categories to create a dropdown, however, child_of is not working. I only want children of ‘America’. Am i doing something wrong?

    <?php
    $dropdown_options = array(
       'orderby' => 'name',
       'name' => 'state',
       'taxonomy' => 'state',
       'show_option_none' => 'Select',
       'show_count' => 0,
       'child_of' => 892,
       'depth' => 0,
       'hierarchical' => 1,
       'hide_empty' => 0,
       'walker'=> new SH_Walker_TaxonomyDropdown(),
       );
    wp_dropdown_categories( $dropdown_options );
    ?>

    Plugin Author Rachel Carden

    (@bamadesigner)

    Hmm. Let me do some testing with wp_dropdown_categories. That might be my fault since CPT-onomies info is stored differently than taxonomies. Thanks for the heads up.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Taxonomy not saving’ is closed to new replies.