Removing current post title from header

Home Forums Techozoic Removing current post title from header

This topic contains 3 replies, has 2 voices, and was last updated by  Jeremy Clark 8 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
December 1, 2009 at 3:18 pm #563


Hi Jeremy,
I am new to coding and love the look and feel of this theme- the learning curve is made quite a pleasure. :)

Can you tell me how to disable the current post title from the header area? It shows up over the blog/site title and then invades the header image. I tried a command you recommended elsewhere (which I cannot find for the life of me now) that read something like { header …. no display } in the


level at ‘current page’ line 13 but it just made the entire text disappear.

Thanks for a hot theme!


December 2, 2009 at 2:50 am #564

Jeremy Clark

In the header.php file look for this block of code.

<div id="headerimg">
<h1><?php if ( is_single() ) { ?><a><?php wp_title(”,true,”); ?></a><?php } else { ?><a href="<?php echo get_option(‘home’); ?>/"><?php bloginfo(‘name’); ?></a><?php } ?></h1>
<?php if ( is_single() ) { $description = "<a href="".get_bloginfo(‘home’)."">".get_bloginfo(‘name’)."</a>"; }
else {$description = get_bloginfo(‘description’);}
if (!empty ($description)) { ?>
<span class="description"><?php echo $description; ?></span>
<?php } ?>

Change it to this.

<div id="headerimg">
<h1><a href="<?php echo get_option(‘home’); ?>/"><?php bloginfo(‘name’); ?></a></h1>
<?php if $description = get_bloginfo(‘description’);}
if (!empty ($description)) { ?>
<span class="description"><?php echo $description; ?></span>

This will stop the post title from displaying in the header on always display the Blog title. I’ll also look into make that an option in the next version of my theme 1.7.1, keep an eye out for it in the next week or so.

December 9, 2009 at 9:48 pm #565

Jeremy Clark

Since the prior work-around to center the text did not work, I tried to just eliminate the header altogether, following the instructions in the previous post. Now I am getting the following error message:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home8/equityce/public_html/wp-content/themes/techozoic-fluid/header.php on line 68

Please, please help me ASAP as I will be in real trouble at work if I cannot get the podcast working by Friday morning. Thanks.

The url is, again:

December 10, 2009 at 4:17 am #566

Jeremy Clark

Leonard sorry to hear that didn’t work for you but to completely remove the header. Add this to the custom CSS section in the options. This wont actually delete the header but the browser won’t display it anymore, this is better for a search engine as the spiders will still see the H1 heading and know that the title of the blog.

#headerimg {display:none}

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.