bu kodu neden istediğinizi söylermisiniz? bunlar bir scriptin tema işlemlerini ayarlayan fonksiyonlar
ayrıca nası yaptığıma gelince,kodlar karışık olabilir ama başladığınızda iplik söküğü gibi devamı geliyor
kodların bir kısmı böyle
$tpinfo['dir']=get_bloginfo('template_directory');
$tpinfo['bg_header']=file_exists(TEMPLATEPATH."/images/bg_header_new.jpg")? "bg_header_new.jpg":"bg_header.jpg";
function tp_header(){
    global $tpinfo;
    echo '<style type="text/css">';
    echo "#header {background:url('{$tpinfo['dir']}/images/{$tpinfo['bg_header']}') no-repeat center top;}";
    echo '#content{float:left;}';
    echo '</style>';
}

add_action('wp_head', 'tp_header'); 

/*********************************************************************************************/
$tp_footer_credit = 'Provided by <a href="http://www.dedicatedserversearch.com" target="_blank">linux server</a>, <a href="http://www.apps4rent.com/hosted-exchange-hosting.html" target="_blank">Exchange Hosting</a>, <a href="http://www.voli-aerei.it/lisbona.htm" target="_blank">Voli Aerei Lisbona</a>';

function add_meta_link(){
    echo '<li><a href="http://www.templatelite.com/" target="_blank">Wordpress Templates</a></li>';
    echo '<li><a href="http://www.top10cheapwebhosting.com/" title="Affordable Web Hosting" target="_blank">Affordable Web Hosting</a></li>';
    echo '<li><a href="http://www.bloggerstyles.com/" title="blogger template" target="_blank">Blogger Template</a></li>'; 
}
add_action('wp_meta', 'add_meta_link');

/*********************************************************************************************/
function templatelite_show_links(){
    $current=get_option('templatelite_links');