the answer is yes, yes i can. do love it when i find the answer w/in minutes of posting here.
add_action('template_redirect', 'my_template');
function my_template() {
if ( is_tax() && in_array(get_query_var('taxonomy'), get_object_taxonomies('product') ) ){
include (get_stylesheet_directory(). '/product_taxonomy.php');
exit;
}
}
Related Posts:
- I need template for my custom taxonomy term
- Why is taxonmy-[taxonomyname].php not working?
- Is there any way to use get_template_part() with folders?
- How to get taxonomy term of the current page and populate queries in the template
- Custom taxonomy list page?
- tax_query in get_posts() not working?
- What is wp_insert_term “alias_of” arg for?
- wp_set_object_terms() — prevent overwrite?
- List Hierarchical Term List with Count with Related Term
- List taxonomy terms as links
- passing argument to get_template_part() or a better way to code
- Get_term_by only returns one item from array
- Can we have same term slug in different taxonomies?
- How to have “the most used tags” taxonomy always expanded?
- Get parent and first child taxonomy terms?
- Display the number of published posts for each custom taxonomy term?
- Get wordpress taxonomy archive and sort by year
- Search for tags
- Accessing $post variable from template part
- Missing term_id and term_taxonomy_id when adding a term using wp_insert_term() function
- What hooks/filters are there to alter selected terms on post save?
- Filter blog archive by category in URL
- tax_query: What to pass when I want to have all terms?
- Custom Roll/Custom Post Type – Can’t Select Categories
- Trying to list terms of a custom taxonomy using get_categories
- Add a term to an attachment submitted from front end
- Get and loop posts with all taxonomy terms
- Unable to delete a Category and Tag that share same slug
- what tables uses wp_get_post_terms
- List a current posts’ taxonomy terms in a widget in WordPress
- Custom taxonomy is crashing Gutenberg
- How to show the category filter that’s shown on the ‘All post’ pages on a custom post type page in the admin area?
- Should I be using custom post types for this or terms and taxonomies?
- How can i list the categories of a post type, the taxonomy
- Set post terms on post publish
- How to display terms from a custom taxonomy in a hierarchy AND with custom html markup?
- How can I find the taxonomy in edited_{taxonomy}?
- extend HierarchicalTermSelector function with custom renderTerms
- Searching in wordpress using wp_term_taxonomy table
- Setting posts_per_page for taxonomy term template
- How to get the top level parent term Advanced Custom Field values in the child terms
- Pulling Data from CSV vs. pulling data from database
- “AND” relation in custom taxonomies
- Problem with Query on Taxonomy
- List posts in a category grouped by other categories?
- Using same variable names in files added with get_template_part()
- the_terms characters not limiting
- Hierarchical list of custom taxonomy terms
- is_taxonomy() is not working
- Why get_page_template() doesn’t show taxonomy template file name?
- Categorize wordpress tags
- How can i count post from my post type taxonomy
- get_term_by seems to be failing
- Different Templates for Woocommerce Parent and Child Sub Categories
- Blogroll links sorted by category in a table
- What Must to Display the “mysite.com/category” URL?
- How to relate a user object to taxonomy term?
- Taxonomy vs Post Status
- Organize template parts and page templates in folders in regards of template hierarchy
- Get terms in hierarchical taxonomy
- Declaring arguments for taxonomy
- Taxonomy Checkbox Admin Panel
- Prevent certain subscribers from seeing specific taxonomies (changes frequently)
- Replacing a placeholder term with a session variable value in taxonomy filter
- child_of not working in wp_dropdown_categories
- How to display posts from two taxonomies?
- Using taxonomies to handle layout?
- Loop problem – Taxonomy
- Return single taxonomy term outside the loop
- Display ACF category image on archive and single template files
- How to embed the Taxonomy Admin screen in to a Tab of a Settings Page in a plugin
- Calling an Archive Page with specific Tag/Tax ID
- Assign Multiple Values from Post Fields to Taxonomy Terms
- how can send a parameter by click on gender-link to filter a post by gender and product taxo
- Taxonomy terms are not checked when edit custom post
- How to show taxonomy on front page
- Checking if a product ID has taxonomy term attached not working with has_term
- Can I create a tax query to return posts that match two slugs from same taxonomy
- How best to add Author or Artist to product
- Order custom taxonomy hierarchy
- Including taxonomy in searches
- Different Sidebar for same Taxonomy
- I want to get term by term_name without taxonomy
- How Do I Register Two Taxonomies with one Parent of the Other?
- What is this Query? and why its taking too much time? Any way to optimize it?
- Translation ready code format for taxonomy
- Create multidimensional array of taxonomies
- how to display taxonomy name in do shorcode php tag
- Can I have have terms with the same slug in the same taxonomy?
- How to customize taxonomy edit page
- Categorizing posts by location
- Creating a archive for taxonomy terms, not the term results
- How to filter the terms to a special custom taxonomy?
- GET Taxonomy ID
- Custom Post Type Template based on Taxonomy
- How can I create gallery of products and submit data for each product?
- Order taxonomy terms by the frequency of use in the last 30 days
- I need to add new menu item inside the custom post admin menu
- Hiding a tag from display
- taxonomy change to post/page type