1
vote
1answer
53 views

How to display a listing template of a certain taxonomy?

I'm trying to figure out how to display a list of specific taxonomy (categorycourses). In functions.php for the theme I have: //Register custom taxonomy for courses-categories $course_cat_args = ...
0
votes
2answers
50 views

taxonomy_template filter do not loads custom taxonomy template properly

I'm using taxonomy_template filter in my plugin to load a template file for custom user taxonomies. This is the code I'm using add_filter( 'taxonomy_template', 'get_custom_taxonomy_template' ); ...
0
votes
1answer
22 views

Custom Taxonomy Template Variables Available?

I have a custom Taxonomy sports and want to edit the front-end display. I have got taxonomy-sports.php and used this code to get the data on the taxonomy, but I feel like it should already be ...
0
votes
0answers
38 views

Migrating a taxonomy's tags to the native category

So, I've inherited a website that uses a custom taxonomy for no real reason, leaving the native 'category' taxonomy unused. As the site is undergoing a redesign, I'm going to want to use some new ...
0
votes
1answer
140 views

how to access the $query variable inside taxonomy-xxx.php template file?

In my custom template files, I create query in the following way: <?php $query = new WP_Query(array('post_type' => 'aya-bi-aya','author' => $current_user->ID,'paged' => $paged, ...
0
votes
1answer
107 views

How to display custom taxonomy and terms using/creating plugin template

I am working on a plugin which requires a custom taxonomy and 3 terms (Personal, Group & Pets). I already have the taxonomy set up with terms and some sample posts. I've created a template for my ...
0
votes
1answer
794 views

Woocommerce Custom Template for Specific Product Category

I am building a store using the Woocommerce plugin. I need to set up a template for a specific category, let's call it 'awesome', so that it displays all products in a way that is different from the ...
0
votes
4answers
138 views

Make Custom Taxonomy Category Use Parent Template

I have a Wordpress custom post type set up in my functions.php called "Research" I have a custom taxonomy called "Classifications" Under that taxonomy I have the terms/categories: Old Research ...
0
votes
1answer
193 views

Category link redirect to custom template page instead of index.php?

I want to make template page for my custom taxonomy. I have custom taxonomy categories listed as navigation links. It's the country list (China, Slovenia, Serbia...). Every of this categories has ...
0
votes
2answers
119 views

Template files for Custom Post Type and Taxonomy

I've got a custom post type called "properties" and two custom taxonomies called "type" (office space, retail space, etc.) and "location" (new york, chicago, etc.). I have created ...
0
votes
0answers
93 views

Select good template with rewriting rules

After creating the sub page "China" of the parent page "Destinations", I add to it the "Destinations countries" template. Without any redirection, I can display the correct template at this url : ...
0
votes
1answer
46 views

WordPress doesn't respect the template hierarchy?

My theme has a custom taxonomy template ("taxonomy-authors.php") but WordPress only serves this template file when a term associated with this taxonomy is called. e.g. example.com/cpt/authors/john-doe ...
0
votes
1answer
259 views

How do we create a custom taxonomy template that loops through child categories in term order?

We're building a site that sells Biking Gear : http://www.nimblewearusa.com.php53-16.dfw1-2.websitetestlink.com/ We're using the Genesis Theme Framework, and developing a custom child theme. It has ...
0
votes
0answers
25 views

Adding fields in Custom post types?

I am a newbie. I have followed a few tutorials related to custom post types, i know about registering post type, taxonomies, adding meta box. But can't figure out how to add fields like shown in the ...
0
votes
2answers
118 views

How can I make front page to display custom taxonomy page?

If I have this URL for my custom taxonomy term http://example.com/work_type/vehicle-transporting/ how can I show it as the main page http://example.com/ like it is available to do for the static pages ...
0
votes
1answer
141 views

Why get_page_template() doesn't show taxonomy template file name?

I made a custom taxonomy called - work-category and a template file for it called - taxonomy-work-category.php. That part work just fine. For a purpose I did put get_page_template() in that ...
0
votes
2answers
105 views

Override Taxonomy Template

I'm trying to list all the products tied to a specific taxonomy. For some reason the template won't work when trying to access "http://www.myexample.com/product_categories/funiture/", I tried ...
0
votes
0answers
60 views

Taxonomy page to display top level category as field

i thought I had my issue fixed but I found out that it isn't. I have code in the sidebar of my archive template that only displays the parent taxonomy terms as links to take you to the taxonomy ...
0
votes
0answers
74 views

Displaying hierarchical taxonomy terms on taxonomy template

Sorry if this is a little long but it is somewhat complex. I thought I was going down the right path. Here it is. I have created a custom post type and a custom taxonomy for it named location. In this ...
1
vote
1answer
50 views

Query with no terms uses index.php template instead of archive.php

I'm using the Query Multiple Taxonomies plugin to get a page of search results (all of which are a custom post type - car). If any search terms are added, so the url looks like this: ...
0
votes
2answers
281 views

How to update Wordpress custom SQL Select query for custom taxonomies so that syntax is correct?

I have a Wordpress website that written by third party web developer for version 2.9 before custom taxonomies were fully implemented. We have since upgraded to latest wordpress version 3.5.x. There ...
0
votes
3answers
231 views

Listing all custom post types using a specific term on the said term's template page, in groups

I have a custom tag-like taxonomy called PEOPLE registered to all post types - both the default and custom ones. I have created a template for a single term named taxonomy-people.php and I'm ...
0
votes
1answer
811 views

Custom Post Type Taxonomies -Posts not showing in Category or Tag pages

I have a made a custom post type called "Member Resources" the posts under this CPT have a few taxonomies such as categories and tags. Tags = "Diversity" Categories = "Guidance" When I go to the ...
0
votes
1answer
70 views

Template file renders on local install, not on web

I've been building a website that involves a child theme of Twenty Twelve and a custom post type with associated custom taxonomy, "area". I've built a template file (cribbed from code found elsewhere) ...
2
votes
2answers
675 views

Different templates for parent and children categories/taxonomies

I would like to know what is the best way to create a different template for parent and children categories and/or taxonomies. Example: I have a taxonomy called region, which I want to divide in ...
1
vote
1answer
376 views

Get page by template?

I'm in a complicated situation. I'll try to explain it as easy as possible. Imagine the following pages: Page 1 Page 2 Subpage 1 Subpage 2 Subpage 3 Each subpage of page 2 lists posts from a ...
0
votes
1answer
281 views

How to create template for taxonomy results limited by Custom Post Type?

I've got a Custom Post Type with a Custom Taxonomy set up. So how do I create an archive template to display posts from that CPT, limited by taxonomy? Here's the deal: The CPT is called Shows. Each ...
1
vote
0answers
351 views

Wordpress custom taxonomy template not working

I installed theCartPress plugin and it created tcp_product_category taxonomy for tcp_product post type. I created a page with custom template to list all the product categories. I can use ...
0
votes
2answers
277 views

Include different loop templates in search query

I have differnet Custom Post Types in my blog. I also have custom templates for each of them like loop-{$cpt-name}.php I would like to include different cpt templates dynamically in search results ...
0
votes
3answers
448 views

Custom Post Type Archive Template

I have similar problem to this one: Custom Post Type Template - Archive I have a WordPress custom post type called coupon. I try to assign the template to it by using archive-coupon.php, but it goes ...
1
vote
2answers
1k views

Using a different template per Custom Taxonomies for single term archive pages

I have 2 custom taxonomies, each with a number of terms: tax1 term1_1 term1_2 tax2 term2_1 term2_2 term2_3 I am trying to have each taxonomy usea different template file for each its ...
1
vote
3answers
359 views

Template for custom post with custom taxonomy

The theme that I'm developing is basically a portfolio, where the projects are custom post type and they are divided in categories (custom taxonomies). Here is how I'm defining both: $labels = array( ...
0
votes
1answer
252 views

Default taxonomy template in plugin, override in theme

Building off of this question/answer, I've sucessfully implemented the single view for my custom post types, but I'd also like to offer the same thing for taxonomies. I've looked through the docs and ...
2
votes
1answer
742 views

Custom Taxonomy in plugin and template

I have a plugin that I am developing that is using custom post types and taxonomies. My question is this. How can I load the content/theme data from my plugin on to the page when the go to the custom ...
3
votes
1answer
672 views

How can I set up a category “overview” page?

I know I can use the Template Hierarchy to set up custom theme pages for terms inside a category, like these: mysite.com/category/tech/ // category-tech.php mysite.com/category/blog/ ...
2
votes
2answers
760 views

How to display different single post template based on author?

My current singlepost.php makes use of the following if conditions and renders the appropriate template. <?php $post = $wp_query->post; if ( in_category('4') || in_category('59') ) { ...
0
votes
2answers
743 views

Pagination on custom taxonomy

I'm having a tough time getting this to work. It's not the first time I run into problems with pagination, or I would say with WPs URL system. Basically I have this URL: ...
0
votes
1answer
73 views

Most appropriate way to display CPT's by children terms of custom taxonomies while retaining desired permalink structure?

Im currently building a small store section on a site of mine with the use of CPT's & Custom Tax's for the first time. So far Ive successfully got my CPT's & Tax's working as expected however ...
0
votes
1answer
209 views

Taxonomy Parent Name

Was just wondering how I would modify this piece of code: <?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo $term->parent; ?> ...to display ...
2
votes
1answer
3k views

How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy

This answer provides the code for a query that returns an OR match on a taxonomy term: global $query_string; $args['tax_query'] = array( array( 'taxonomy' => 'status' ,'terms' ...
0
votes
2answers
511 views

How to have two different versions of a tag/category/taxonomy archive page?

I have a site that has two different bodies of content: more formal content (using various different custom post types) and a blog (using a blog post type). These two different bodies of content use ...
1
vote
2answers
236 views

How can I get this request to use the Custom Post Type page template instead?

I read the answer for this post which says you can do something like this: http://example.com?post_type=car&color=red When viewing $wp_query everything seems to be working fine. That is, I'm ...
0
votes
2answers
951 views

Why is my taxonomy template not shown?

I have created a custom taxonomy for my site called projects with a matching template called taxonomy-projects.php. The problem is that when I browse to http://mysite.com/projects the template is not ...
0
votes
2answers
152 views

Catch all taxonomy template

I've created a custom taxonomy and I'm trying to get Wordpress to display the taxonomy template when no term is defined. Currently Wordpress is only showing the template when a term is defined on the ...
2
votes
1answer
1k views

Generic taxonomy-term template page

because of my taxonomy hierarchy, my taxonomy-type.php template is already used, is there a way to have only one taxonomy-type-term.php template ? I've got 13 sub terms, do I need to create 13 ...
1
vote
1answer
495 views

On Taxonomy Template page, want to add Post_Type

I have a custom taxonomy template page in my theme. Essentially, when someone clicks on a term link into this taxonomy, I -ALWAYS- want to add a specific post-type to the query. I'm not entirely ...
0
votes
1answer
1k views

Can you orderby slug in a taxonomy archive page using WP_Query?

In my taxonomy.php, my query is ` $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); $wpq = array ('posts_per_page' => -1, $term->taxonomy => ...
7
votes
3answers
1k views

Can't get a custom template taxonomy page to display

I've been trying to wade my way through learning the ins and outs of taxonomies and how to integrate them into themes and I've run into a pretty basic issue that I can't seem to figure out. I started ...
6
votes
1answer
3k views

Taxonomy, Terms, and Template Files

I have post type 'product' and hierarchical taxonomy 'types' attached to it. In this taxonomy, I have terms: 'dry-clean', 'washer', etc. With several sub terms on each terms. In my situation, I need ...
2
votes
2answers
196 views

Need some templating advice for templating with custom post types and taxonomies

I'm setting up a "Design Show Winners" section for a design organization that runs it's site off WordPress. For ease of use, I'd like it to be a custom post type of "Design Show Winners" with ...