Home › Forums › CSS › I need a genius or wizard, Anyone? › Re: I need a genius or wizard, Anyone?
April 30, 2012 at 2:36 pm
#102020
Participant
@TheDoc Here it is
$post = $wp_query->post;
if ( in_category('8') ) {
include(STYLESHEETPATH . '/single-salesProfile.php');
}
else if ( in_category('20') ) {
include(STYLESHEETPATH . '/single-blog.php');
}
else if ( in_category('7') ) {
include(STYLESHEETPATH . '/single-specials.php');
}
else {
include(STYLESHEETPATH . '/single-main.php');
}
?>