Ntie adlı üyeden alıntı: mesajı görüntüle
Gördüğüm kadarıyla header yönlendirilmesi yapılıyor kodlar içerisinde ama ob_start(); başlatılmamış veya altlarda başlatılmış.

ob_start(); ile başlatıp
ob_end_flush(); ile sonlandırdığınızda o temayı kullanabilirsiniz.
bu start kodlarını header kodlarının nerelerine koyayım tam olarak



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php
	
	// Page or Single Post
	if ( is_page() or is_single() ) {
		the_title();

	// Category Archive
	} elseif ( is_category() ) {
		echo 'Category Archive for &lsquo;'.single_cat_title('', false).'&rsquo;';

	// Tag Archive
	} elseif ( function_exists('is_tag') and function_exists('single_tag_title') and is_tag() ) {
		echo 'Tag Archive for &lsquo;'.single_tag_title('', false).'&rsquo;';

	// General Archive
	} elseif ( is_archive() ) {
		echo wp_title('', false).' Archive';

	// Search Results
	} elseif ( is_search() ) {
		echo 'Search Results for &lsquo;'.get_query_var('s').'&rsquo;';
	}

	// Insert separator for the titles above
	if ( !is_home() and !is_404() ) {
		echo ' at ';
	}
	
	// Finally the blog name
	bloginfo('name');

	?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> 

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="shortcut icon" href="<?php echo get_settings('home'); ?>/favicon.ico" />
<style>
<?php
$random= rand(1,2);
?>
<!-- 
#header{
background:url('<?php bloginfo('stylesheet_directory'); ?>/images/header<?php echo $random;?>.gif') no-repeat right top;
}
-->
</style>

<?php wp_head(); ?>
</head>
<body>
<div id="page">
<div id="header">
	<div id="headerimg">
		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
		<div class="description"><?php bloginfo('description'); ?></div>
		
	</div>
	<ul id="menu">
		<li class="<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">首页</a></li>
		<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
	</ul>
</div>