ThemeShaper Forums » Thematic


Custom taxonomies are not saved when 'hierarchical' => false

(2 posts)
  • Started 10 years ago by mirko77
  • Latest reply from mirko77
  • This topic is resolved
  1. 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

    Posted 10 years ago #
  2. 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

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.