• There was another thread similar to this, but mine is a simpler question, so I thought I’d re-ask it.

    <?php if(is_category(2)) : ?>
    <?php include (TEMPLATEPATH . '/cat2header.php'); ?>
    <?php include (TEMPLATEPATH . '/cat2sidebar.php'); ?>
    <?php endif; ?>

    I then view the single post, which is categorized under 2, and that cat2header.php and cat2sidebar.php do not load. Am I mis-using the if-statement here?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘different header for diff category q’ is closed to new replies.