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 >
2011/06/25
ケータイ(フィーチャーフォン)→ ケータイ用サイト iPhoneとiPod、Androidのスマホ→ スマホ用サイトへ
2011/07/14
quote, HTML5.JP - 次世代HTML標準 HTML5情報サイト About the contents m
2011/06/30
[cc lang="php"] [/cc] [reference] ========================