write to a single.php.
1 2 3 4 5 6 7 | <?php $post = $wp_query->post; if ( in_category('CategoryNo') ) { include(TEMPLATEPATH.'/single-template-name.php'); exit(); } ?> |
Caution» below the category number
hello :)
Sponsored Links
write to a single.php.
1 2 3 4 5 6 7 | <?php $post = $wp_query->post; if ( in_category('CategoryNo') ) { include(TEMPLATEPATH.'/single-template-name.php'); exit(); } ?> |
Caution» below the category number
Sponsored Links
Sponsored Links
2011/07/09
[cc lang="php"] [/cc] Alternate of "loop.php". loop.php >