Should I register both parent and child as
'hierarchical' => true, if there's no grandchild?If "Movie" is the top level taxonomy, when I register a child, is it as simply as:
'parent_item' => __( 'Parent Movie' )?How to automatically asign a child taxonomy to a post? So far, I figured out how to asign a taxonomy to a post, but, does this work fine with child taxonomy?
wp_set_object_terms($post_ID, $cat, 'category');If I query a parent taxonomy, will the child be included in the results or not?
If the taxonomies are not listed in the
argsofregister_post_type, will they still work?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
||||
|
|
|
Too much for a comment, so I'll leave it for an answer:
Sidenotes:
|
|||||
|
|
If you register a taxonomy as |
|||
|
|