I solved this problem by putting everything into the init call and then calling a check on the tax.. to see if it was empty.
I’m not convinced that this is the most elegant solution or efficient so maybe someone will correct or confirm what I have found as a solution.
Related Posts:
- Rewriting a custom-post-type permalink with taxonomy term?
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Any way to make posts inherit properties/taxonomies through a single assigned taxonomy
- Custom post type taxonomies URL rewrite
- Linking between custom post types as if they where taxonomies?
- Custom query – alternate posts by category
- Glossary with Custom Post Type
- Need help with complex custom post type setup
- Automatically assign a custom post to a custom taxonomy based on custom field value
- Randomly placed sticky custom posts complemented by blog posts
- Remove taxonomy slug when not assigning taxonomy with custom post types
- How i add new link after Edit | Quick Edit | Trash | View in quick edit section
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- How loop through posts based on custom fields
- Listing taxonomies from custom post type
- Hierarchical Custom Post Types or Similar
- Custom Taxonomy Hierarchy for Custom Post Types (eg Categories and Subcategories)
- Output the content of a term organised by each of the CPT?
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Generate Shortcodes by Taxonomy
- What is the use of a custom taxonomy?
- Is there a way to connect a custom post type to another custom post type’s taxonomy? (specific to locations)
- Pagination : How to remove /page/x/ after a ‘POST’ action on a form returning to page 1
- I have 2 post types i need to show the post type contents in 2 select boxes [closed]
- wp_query check if integer exists in custom field’s array
- How can I set taxonomy programmatically
- Return the latest post from a custom Taxonomy and Post Type
- Don’t know how to show custom taxonomies from a custom post_type
- list taxonomies from a custom post type
- WordPress custom taxonomy, posts urls
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- Import data from CSV with custom taxomony empty
- Custom Post Type Loop with Query Var
- Full Custom Post Type List Organised by two Taxonomies
- URL rewriting for CTP assigned entity
- Template for all categories of a custom post type?
- How to group posts and get a mixed posts and groups view?
- dropdowboxes with pre-selected custom fields optios that filters the results according seach needs
- in_category for custom post types
- Control content before and after custom post type loop
- Listing all slugs?
- post_type_link Filter – Too Few Arguments
- My custom taxonomy is only displaying 1 of 3 terms
- Show categories of custom post type and not all posts
- Reusable metabox backend and frontend
- Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]
- Archive page for custom post type and custom taxonomy
- Using page title as a link to term archive
- How to display posttypes and taxonomy in standard posts, not in a separate label?
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- Creating custom post type and taxonomy archives and pretty URLs
- Should i use custom post type for a custom footer?
- best way to use custom taxonomy, post type and meta in a job system
- Show 10 newest post for each value of a custom taxonomy
- Display the link of a custom taxonomy
- Custom taxonomy: on the taxonomy term page show other taxonomy terms
- Error 404 change permalink term custom term taxonomy
- Custom post categories are not displaying on the page
- get_posts wont produce a list of custom type from a given category [duplicate]
- Display Custom Field or Custom Taxonomy in front page /post/product
- CPT tags not showing when editing post
- WP_Query for custom taxonomies showing posts from non-specified terms?
- PHP Warning with Custom Fields
- Don’t share custom taxonomy terms if applied to multiple Custom Post Types
- How to show custom post count in archive page
- How to add independent “Tags” to Custom Post Type?
- Display custom tax in “while” loop
- Show posts under a selected custom taxonomy term
- Custom taxanomy and custom post type – pagination leads to 404
- Getting all custom post taxonomies and exhibiting only part of them
- Linking Taxonomies
- Get posts under custom taxonomy and custom post type
- Flush rewrite rules when new cpt is registred
- Shortcode in excerpt
- Custome post type “tags” pick default archive instead of custom post type archive
- How do I retrieve the title of a term of a custom post type with custom taxonomies?
- Show custom taxonomy not in submenu
- Custom post type AND custom taxonomy are not connected
- One custom post type with two different url structure base on taxonomy term
- wp_query: How to retrieve current term slug in custom taxonomy?
- tax_query showing no results
- Display posts from category in page
- taxonomy terms array not working
- Custom Loop for custom post type. Compare by meta_value?
- get tags from custom post type
- Permalinks Works for Custompost type but not with pages Why?
- Highlight specific menu item when custom post is page
- Attaching multiple custom taxonomies to one CPT?
- Output assigned custom taxonomy to custom post type
- wp_dropdown_categories() searching is not working with CPT, please review my code
- Custom Field Search
- the_post_navigation in single page with multiple taxonomies
- Url rewrite with custom post type and taxonomy
- Custom taxonomy meta fields
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- Problem with shortcode
- Custom Sort Order for Custom Post Type Taxonomy
- How to add categories to a custom post type using wp_insert_post($new_post);
- Modify permalink of CPT archive to support two taxonomies
- WP Query – Can’t get posts with specific taxonomy