WordPress.org

Forums

  1. shubh14
    Member
    Posted 1 year ago #

    I must be doing something wrong as my taxonomies are not getting saved. the field is blank when i hit publish. I am new to wordpress and have no idea what is wrong. Thank you for your time. Screenshot links below for better understanding..

    http://i.imgur.com/YLg4aFz.jpg

    http://i.imgur.com/6UJJntd.jpg

    http://wordpress.org/plugins/cpt-onomies/

  2. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. shubh14
    Member
    Posted 1 year ago #

    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 );
    ?>
  4. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.