Custom archive templates for specific categories?
-
Hi,
I’m trying to create multiple archive templates for specific categories.
For example if you are in Category “1” page and you click on “Yearly Archive: 2009” and it uses a customized template “archive-1.php” instead of the default “archive.php”. Is that possible? I used something like this in archive.php:
<?php
if(is_category(1)) {
include (‘archive-1.php’);
}
?>Hoping that it would work but unfortunately not… Any ideas?Thanks!
AD
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom archive templates for specific categories?’ is closed to new replies.