This works like it should:
<?php
if (is_category('18'))
{
include(TEMPLATEPATH . '/blog.php');
}
else { ?>
...rest of the page
<?php }
This doesn't:
<?php
if (is_category('18'))
{
include(TEMPLATEPATH . '/blog.php');
}
if (is_category('29'))
{
include(TEMPLATEPATH . '/pagelinks.php');
}
else { ?>
...rest of the page
<?php }
How should I ad the second if statement? This is just something really simple, I'm just learning php.
I'm using WP as CMS, goal is to generate blog and links from their own pages.
All help is very much appreciated!