How to bulk-untag multiple posts?
How to bulk-untag multiple posts?
How to bulk-untag multiple posts?
Share the same comments between more pages
Thanks to @Milo for the solution. I deleted all the defaults to condense the code, and then changed the ‘meta_box_cb’ parameter to ‘post_categories_meta_box’, and it did indeed give me a tag-style metabox. As an aside, that’s not exactly what I envisioned, so I ended up using CMB2‘s taxonomy_radio field to get what I was after … Read more
After researching some more I’ve given up trying to use the taxonomy template and opted for a plugin to amend the permalinks. I followed some of the advice from this similar question: Taxonomy archive with same slug as custom post type? Currently I am using an amended archive template for the custom post types and … Read more
In your code you’re using this to register taxonomy: register_taxonomy( ‘events_category’, array( ‘events’ ), $args ); So the taxonomy is called events_category. And in get_terms you use events_categories. Here’s the fixed getting terms part: $terms = get_terms( array( ‘taxonomy’ => ‘events_category’, ‘hide_empty’ => false ) );
How to list taxonomy terms in reverse order?
The taxonomy term should helps you, see the documentation. The possibilities taxonomy-{taxonomy}-{term}.php taxonomy-{taxonomy}.php tag-{slug}.php tag-{id}.php Your example tag-about.php See the template hierarchy for tag for a deeper documentation about this feature. So it is possible to have a specific template without coding, a plugin.
How do I get fresh post data in post_publish hook?
Taxonomy Query Relation field not behaving correctly?
Get taxonomy based on another taxonomy slug