Add term to custom post type on draft
Add term to custom post type on draft
Add term to custom post type on draft
Migrating a taxonomy’s tags to the native category
Adding custom taxonomy in my existing category URL
Hierarchical permalinks for custom post type and taxonomy
WordPress saves all taxonomy children term ids in an option for caching purpose. The option is named “$taxonomy_children”. This option is created when you use the function get_term_children, but does not get updated that way. It’s only updated upon creating/updating parent or child term of that taxonomy using WP Admin UI. Rather than using WP … Read more
Exclude custom taxonomy term posts from custom post loop
How do I share categories across multiple post types?
How to show only subcategories in parent category not parent category?
Here is some code I’ve cooked up based on some code I’ve already been working on. My original code works okay, however I haven’t tested this code because I haven’t seen your code. Here is what you need to do: on your post type definition, set the rewrite argument to false Put the following code … Read more
Add child category to parent on post creation and save