How to create a custom category template in roots?

hi,

i’m having a bit of trouble creating custom category templates in the roots theme. usually when creating custom category templates i just create a category-slug.php file and wordpress hierarchy takes care of the rest. but this method does not appear to work in roots theme?

any help would be much appreciated.
thanks!

Roots does not change the WordPress hierarchy, just follow the guidelines here: http://codex.wordpress.org/Template_Hierarchy

1 Like

hi chris,

i’ve just worked out what i’m doing wrong. i’m placing category-slug.php inside the roots template folder. i needed to put it in the normal directory so it could be found by the hierarchy.

but thanks for taking the time to reply. cheers!