WordPress Icon Logo
me@grafxflow

Written by me@grafxflow

31 Aug, 2012
0
1,748

Give WordPress Blog Categories different templates

If you are in WordPress and want each Blog Category link to have its own page template, then follow these steps.

1. First login into WordPress Admin and choose Post/Categories

2. A list will appear of all the categories. Choose the category name you wish to create the template for and select edit.

3. The new url should be like the following take record of the tag_ID number. For this example it is 123.

edit-tags.php?action=edit&taxonomy=category&<strong>tag_ID</strong>=<strong>123</strong>&post_type=post

4. Now choose the Appearance/Editor on the main menu. To the right will appear a list of the pages used by your template. There is a file name category.php (Category Template). Knowing that for this example our number is 123 we duplicate the category.php and rename it category-123.php.

Share this article

Add comment...

Smart Search

me@grafxflow Author Profile picture

me@grafxflow

Founder, Grafxflow

I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. I build lighting-fast dynamic content engines with Laravel, Winter CMS and Tailwind CSS. Thanks for stopping by!