header.php düzenlenmiş hali;

<!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" dir="ltr" lang="tr-TR">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
<title><?php if (is_home()) {
   echo bloginfo('name');
} elseif (is_404()) {
   echo '404 Not Found';
} elseif (is_category()) {
   echo 'Category:'; wp_title('');
} elseif (is_search()) {
   echo 'Search Results';
} elseif ( is_day() || is_month() || is_year() ) {
   echo 'Archives:'; wp_title('');
} else {
   echo bloginfo('name'); echo wp_title('');
}
?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
 
 
<link rel='stylesheet' id='open-sans-css'  href='//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&&subset=latin-ext' type='text/css' media='all' />
 
 
<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="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.4.2.min.js"></script>
<?php if ((get_option('swt_gallery') == 'Display') && (is_home() || is_search() || is_category())){ ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slide.noconflict.js"></script>
<?php } ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/cufon-yui.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/Yanone_Kaffeesatz_Regular_400.font.js"></script>
<script language="JavaScript" type="text/javascript">
/*<![CDATA[*/
Cufon.replace('h1',{hover: true})('h2',{hover: true})('h3',{hover: true})('h4',{hover: true})('h5',{hover: true})('h6',{hover: true})('#top li a',{hover: true})('.description',{hover: true})('.date',{hover: true});
$(function(){
$('.postwrap:odd').addClass('date2');
$('#news li:last').addClass('no-margin');
$('#right-column ul li:last-child:not(ul.children li)').addClass('last');
});
/*]]>*/
</script>
<?php wp_head(); ?>

</head>
<body>
<div id="mainwrap">
<div id="header">
 <div id="blogtitle">
        <h1><a href="<?php echo get_option('home'); ?>/"><img class="logo" src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('sitename'); ?>" /></a></h1>
      <div class="description"><?php bloginfo('description'); ?></div>
 </div>
 
<div id="top"><!-- PAGE MENU, OR PRIMARY CUSTOM MENU -->
    <?php if ( has_nav_menu( 'primary-menu' ) ) {
          wp_nav_menu( array( 'menu_class' => 'sf-menu', 'theme_location' => 'primary-menu' ) );
   } else {
   ?>
        <ul class="sf-menu">
            <?php $ex = get_option('swt_pages');  ?>
<li>Siteye zarar vermesin diyelinklerimi kaldırdım</li>
         <?php wp_list_pages("sort_column=menu_order&depth=1&exclude=$ex;&title_li=");?>
 
 
 
      </ul>
    <?php } ?>
</div><!-- END PAGE MENU -->
</div>

functions.php düzenlenmiş hali;

<?php
register_sidebar(array('name'=>'Sidebar Left',
           'before_widget' => '<div class="widget-top"></div><div class="widget %2$s">',
           'after_widget' => '</div><div class="widget-bot"></div>',
           'before_title' => '<h3>',
           'after_title' => '</h3>',
       ));
register_sidebar(array('name'=>'Sidebar Right',
'before_title' => '<h3>', // Replaces <h2>
'after_title' => '</h3>', // Replaces </h2>
'before_widget' => '<div class="widget-top"></div><div class="widget %2$s">',
'after_widget' => '</div><div class="widget-bot"></div>',
));
include(TEMPLATEPATH.'/includes/themeoptions.php');
include(TEMPLATEPATH.'/includes/images.php');
// This will reduce letter amount in title of scroller
function the_title2($before = '', $after = '', $echo = true, $length = false) {
     $title = get_the_title();
  if ( $length && is_numeric($length) ) {
         $title = substr( $title, 0, $length );
      }
    if ( strlen($title)> 0 ) {
         $title = apply_filters('the_title2', $before . $title . $after, $before, $after);
         if ( $echo )
            echo $title;
         else
            return $title;
      }
  }
// This theme uses wp_nav_menu() in one location.
register_nav_menus( array(
   'primary-menu' => __( 'Primary Menu' ),
    'secondary-menu' => __( 'Secondary Menu' ),
) );
function my_wp_nav_menu_args( $args = '' )
{
   $args['container'] = false;
   return $args;
} // function
add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );
 
/*this function allows for the auto-creation of post excerpts*/
function truncate_post($amount,$quote_after=false) {
   $truncate = get_the_content();
   $truncate = apply_filters('the_content', $truncate);
   $truncate = preg_replace('@<script[^>]*?>.*?</script>@si', '', $truncate);
   $truncate = preg_replace('@<style[^>]*?>.*?</style>@si', '', $truncate);
   $truncate = strip_tags($truncate);
   $truncate = substr($truncate, 0, strrpos(substr($truncate, 0, $amount), ' '));
   echo $truncate;
   echo "...";
   if ($quote_after) echo('');
}

function list_pings($comment, $args, $depth) {
       $GLOBALS['comment'] = $comment;
?>
<li id="comment-<?php comment_ID(); ?>"><?php comment_author_link(); ?>
<?php } ?>
<?php
add_filter('get_comments_number', 'comment_count', 0);
function comment_count( $count ) {
        if ( ! is_admin() ) {
                global $id;
                $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id));
                return count($comments_by_type['comment']);
        } else {
                return $count;
        }
}
?>
footer.php aynı kalacak, temada başka dosyada bu şekilde eval kodlaması var mı bilmiyorum, eğer yoksa bu şekilde tema çalışacaktır.