Hi there, does anyone know if i can use a category slug in a similar way to its id when naming individual template files for the categorys. i.e.
i have a category called ‘news’ with an id of 4
making a template of category-4.php works fine but i would like to use category-news.php
- The topic ‘category slug as template name’ is closed to new replies.