• I am trying to upload this theme to my wordpress blog:

    https://www.free-wordpress-theme.net/2009/09/vees-halloween-theme/

    I have done everything as normal, and the theme works fine, EXCEPT, I cannot get the header to say anything other than “Halloween Theme”. It won’t say the name of my blog. I have changed the blog name several times in the “General” panel, and I’ve disabled all my plugins, but to no avail. I am certain it’s something wrong with the header.php or one of the other templates, but I can’t figure out what. Can anybody help?

    Here is the script from the header.php

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <?php
    	eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&&shapgvba_rkvfgf("purpx_urnqre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_s_sbbgre();'));
    ?>
    <html xmlns="https://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    <head profile="https://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
    <!--[if lte IE 6]>
    <link href="<?php bloginfo('template_url'); ?>/ie6.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    
    <!--[if lte IE 7]>
    <link href="<?php bloginfo('template_url'); ?>/ie7.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    
    <!--[if lt IE 7]>
    <?php wp_enqueue_script('IE7.js', get_bloginfo('template_directory') .'/js/IE7.js', false, '1.1.1'); ?>
     <![endif]-->
    
    <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 eval(str_rot13('shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(__SVYR__)."/shapgvbaf.cuc")){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_shapgvbaf();')); wp_head(); ?>
    </head>
    <body>
    <div id="page">
    
    <div id="menu_bar">
    
          <ul id="navlist">
    
              <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    			<?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
    </ul>
    
    </div>
    
    <div id="header">
    
    <div id="description">
    <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>"/></a></div>
    
    </div>
    
    <div id="rss">
    <a href="<?php bloginfo('rss2_url'); ?>"><img style="float:right; margin: 20px 490px 0 0;" src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.gif" alt="rss" /></a>
    
    <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    		<input type="text" value="Search: type and press Enter" name="s" id="searchh" onfocus="if (this.value == 'Search: type and press Enter') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search: type and press Enter';}" />
    		</form>
    </div>
    
    <div id="pbody">
    <div id="linkad"> <?php $linkad = get_option('boo_linkad'); echo stripslashes($linkad); ?></div>
    <hr />
Viewing 3 replies - 1 through 3 (of 3 total)
  • Can anybody help?

    Maybe, but a link to your site would certainly help…

    Peter

    the title is an image (logo.png):

    <div id="header">
    
    <div id="description">
    <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>"/></a></div>
    
    </div>

    you could either edit that image,
    or change the whole code section into something like:

    <div id="header">
    <div id="description">
    <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <span><?php bloginfo('description'); ?></span>
    </div>
    </div>

    and then style it in style.css:

    #description h1 { whatever-title-formatting; }
    #description span { whatever-descrption-formatting; }

    good luck, let us know how you get on ??

    Thread Starter weddingskulls

    (@weddingskulls)

    That worked. Thank you, Alchymyth!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I can’t get blog title to show in header – php help?’ is closed to new replies.