So I got this working by adding /tag or /category for the rewrite slug, rather then publications
or publications/%publications_tag%
. I initally thought both taxonomy types could live in the parent post-type and wordpress would figure the rest out.
Tags:
'rewrite' => array(
'slug' => 'publication/tag',
'with_front' => false ),
Looks like: domain.test/publications/tag/example-tag/
and use’s the axonomy-publications_tag.php
file.
Category:
'rewrite' => array(
'slug' => 'publication/category',
'with_front' => false ),
Looks like: domain.test/publications/category/example-category/
and use’s the axonomy-publications_category.php
file.
Related Posts:
- Filtering a custom post type by custom taxonomy in archive template
- get term archive url / link
- Get term slug of current post
- Create a shortcode to display custom post types with a specific taxonomy
- List the categories under custom taxonomy
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- The Operator “NOT IN” Does Not Work In tax_query
- wp_insert_term doesn’t work with custom post type’s taxonomy
- Populate Taxonomy from Custom Posts
- How to replicate some of Drupal Views functionality in WordPress?
- Show related posts on single page by custom taxonomy on custom post
- Exclude from search all custom posts which are NOT in a taxonomy term
- Sorting for each custom taxonomy
- Post type archive page not working
- How to get the parent’s taxonomy?
- Dynamic variable for custom taxonomy in loop?
- Help with hierarchical custom taxonomies and permalinks…almost there
- wp_insert_post custom taxonomy
- How to get only one category of custom post type?
- Create separate template for shared custom taxonomy with shared terms
- Get URL for specific post type and current tag
- Append taxonomy terms as class names in markup?
- Want to turn WordPress into a paid subscription directory
- Connecting a taxonomy with a post type
- How to achieve representation of streets index with custom taxonomies
- Optimised Code for Pulling Taxonomy Posts
- Why is my custom loop not filtering correctly nor paginating?
- Display types of posts in edit.php instead of All, Published, Scheduled and Draft
- Custom post types with custom directories
- How to filter custom taxonomy categories on archive?
- How to output wordpress custom tags separated by comma?
- get_terms showing all categories instead of the ones assigned to a specific post
- Does WordPress limit the length of slug names for Post Meta or Terms?
- Custom Taxonomy Permalinks Redirection
- shortcode to show custom post types by category
- Single Template that can be applied only via URL
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- Genesis filterable portfolio isotope [closed]
- Adding a custom post type taxonomy template in plugin
- Loading custom content type from ajax results?
- Custom post type and taxonomy – show related posts
- How to hook custom taxonomies to custom post types and make the permalinks work?
- Add custom image size for custom post type or taxonomy
- Can’t remove front from permalinks for custom taxonomy category page
- Allow duplicate slugs for custom post type with taxonomies
- Display a grid of taxonomy terms at root taxonomy page
- Nested Custom Post Type or Custom Post Type Parents?
- Display Custom Taxonomy Alphabetically
- How to make custom taxonomy into drop down select in a custom metabox
- posttype/taxonomy/term archive page 404 error
- How to add attributes to taxonomies that may be different from post to post?
- Custom post type, permalinks, taxonomies and blog posts
- How to display products name in a non-alphabetical order, in a custom field (taxonomy)?
- Taxonomy in URL
- Display related custom taxonomy posts in sidebar
- Custom Post Archive is not working
- Wp Query with multiple custom tag(taxonomy) by get the terms
- looping though custom post types and only return results in a given taxonomy
- Get taxonomy term by slug in post on archive page
- Query not work for current taxonomy
- Hide custom post type from search based on custom taxonomy
- Custom Post type date archive for custom taxonomy
- Custom Taxonomy Template file not being used
- Replicating category/location page heirarchy
- WordPress custom permalink and archive link for custom post type
- Copy/Move selected taxonomy terms to another taxonomy for posts
- Non-permalink custom taxonomy not found
- How to display class name in this shortcode post query
- Taxonomy rewrite pagination 404
- Custom types, taxonomies and query optimization
- Looking up custom taxonomy IDs by name
- Retrieve Custom Taxonomies with Description and Slug
- How to list posts by term (custom taxonomy)
- Query custom posts from custom taxonomy
- loop over all custom taxonomies for current custom post type and their values
- How to set “section categories”?
- WP Query tax_query not returning posts
- How to show terms used only for particular custom post type. Filter creation perpose
- Best way to have one product in both rental and sale parent category
- How should i name the .php file to show custom posts under a taxonomy’s term?
- Unexpected behavior from custom taxonomies
- How to hook save-post function to use taxonomy term in post-slug?
- Custom post type and taxonomies structure
- Form to custom post type and custom taxonomy
- Displaying custom posts in categories
- Get archive of posts separated by taxonomies and subtaxonomies
- template structure for CPT not clear
- WordPress: insert a custom post type instance as an option for a custom taxonomy
- Trouble showing showing Posts related to custom post type and taxonomy.
- Archive templates based on taxonomies
- How to get child taxonomies
- WP Query WordPress Post Type with the same Taxonomy name
- Pagination URL order
- Add 2 Taxonomies to Custom Post
- show 10 most recent custom post types excluding the one(s) from specific custom taxonomy
- How to Get The Taxonomy Term in Custom Post Type Loop Inside a Wp Query
- update custom taxonomy with Ajax in edit.php file [duplicate]
- display custom post type from register taxonomy
- How to change order of custom post types. I want Featured post to come first
- Advise on Custom Taxonomies and Structure