$post = $wp_query->post; if(in_category('1')) { include(TEMPLATEPATH.'/category-1.php'); } else if (in_category('2')){ include(TEMPLATEPATH./'category-2.php'); } ?>