208 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
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
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 7 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+6 more
LucidStudios says
You can use the following template for custom taxonomy on custom post types:
taxonomy-{taxonomy}.php
208 posts
  • Located in Canada
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
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