197 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 500 and 999 items
  • Canada
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
DanyDuchaine says

Hey guys, I have a little problem.

The category link of my custom post’s category lead to the category.php page layout.

I want them to be different than the normal “blog” category layout, I want them to have the same layout as the custom post template so I need to created some kind of taxonomy-(taxonomy).php or taxonomy(taxonomy).php template but nothing is working for me.

I am kind of confused in all of this.

Here’s my custom post/taxonomy : http://snippi.com/s/41lrzhs

Thanks!

707 posts
  • Sold between 10 000 and 50 000 dollars
  • Referred between 10 and 49 users
  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
  • Exclusive Author
  • Envato Studio (Microlancer) Beta Tester
ChillThemes says

Have you tried these naming conventions? Name your page template taxonomy-classes_item_types.php

archive-$posttype.php
taxonomy-$taxonomy-$term

Have a look at this: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

2485 posts Premium Scripts, Plugins and Themes
  • Bought between 10 and 49 items
  • Elite Author
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 7-8 years
  • Interviewed on the Envato Notes blog
  • Referred between 200 and 499 users
+1 more
LucidStudios says
You can use the following template for custom taxonomy on custom post types:
taxonomy-{taxonomy}.php
197 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Bought between 500 and 999 items
  • Canada
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 50 and 99 users
DanyDuchaine says

Have you tried these naming conventions? Name your page template taxonomy-classes_item_types.php
archive-$posttype.php
taxonomy-$taxonomy-$term
Have a look at this: http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

Ahh! taxonomy-classes_item_types -> That worked :) I think I’ve tried everything but this one.

Thanks so much!

by
by
by
by
by
by