Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
The entry you requested is private
Scott Carver
Wordpress - Category dependent header when is_single() - SitePoint Forums - http://www.sitepoint.com/forums...
if (is_category() || is_single()){ if (is_category('3') || is_single($post->post_category='3')){ include(TEMPLATEPATH.'/header-cat3.php'); } elseif (is_category('4')){ include(TEMPLATEPATH.'/header-cat4.php'); } elseif (is_category('5')){ include(TEMPLATEPATH.'/header-cat5.php'); } else { // this is the deafult header include(TEMPLATEPATH.'/headerdefault.php'); } } - Scott Carver