While creating a custom category template
-
Hi,
I want to use a custom category template for the category (ID=4) and obviously for all its children.I tried to use
<?php if (is_category(4)) : ?> <?php load_template(TEMPLATEPATH . '/cat_videopagine.php'); ?>
<?php endif; ?>`
and it works just for cat 4 and not for its children….
how can I do it? Should I add the ID of all children?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘While creating a custom category template’ is closed to new replies.