• Resolved mirko.menegazzo

    (@mirkomenegazzo)


    I created a custom post type called “Images” and a custom taxonomy “Galleries” to group these image entries together.

    I do not want “Galleries” to be hierarchical but I just need tags therefore 'hierarchical' => false
    If I add the galleries via the main page they are saved and shown properly.
    The problem is when I add a new post “Image” and I want to pick up an existing gallery in my meta box, no tags are shown and I get the “no tags” message.

    If I add my galleries (tags) using the meta box they are actually saved and shown correctly. It is only adding the tags through the main page which does not work. It works if I set 'hierarchical' => true but I do not need categories, I just need tags.

    Any suggestion?

    Thank you

Viewing 1 replies (of 1 total)
  • Thread Starter mirko.menegazzo

    (@mirkomenegazzo)

    I figured it out.
    The “Choose from most used tags” does not display a list of tags, but only the most used or those which has been used at least once.

    Is there a way to override this behaviour from functions.php??

    Otherwise is there a way to remove the “parenting” feature if I use a custom category (with hierarchical => true;) instead of tags?

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Custom taxonomies are not saved when 'hierarchical' => false’ is closed to new replies.