Need help from a developer. I'm using an if else statement in my wordpress theme to render two different kinds of single post templates. Now I have to add another template. The present code is:
$post = $wp_query->post;
if ( in_category('1204') ) {
include(TEMPLATEPATH . '/1204-article.php');
}
else {
include(TEMPLATEPATH . '/regular-article.php');
}
I want to include/append an additional statement that if in_category('345') then include 345-article.php else include regular-article.php
Thanks.