WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how do I remove the Blog Title & Tagline from the header (2 posts)

  1. keeperbay
    Member
    Posted 5 years ago #

    I don't know why I'm finding this so hard tonight. My site KeeperBay.com, if you go there you will see 2 Blog Titles and 2 Taglines. My title is in my header image, so I need to remove it from the header of my site, but not from the program itself.

    I find if I removed the Blog Title & Tagline from WordPress > Settings > General then it also removes it from the "tab" and the browser bar and replaces it with just the http:// style domain link and we don't want that - blah.

    Does this make any sense?
    It's Memorial Day, maybe I should give up and start drinking?

  2. keeperbay
    Member
    Posted 5 years ago #

    Always, Always, Always, without fail. As soon as I post a question it hits me.

    Just in case anyone else ever gets stuck on this question, here's how to solve it.

    First, you should probably drink heavily while editing - it cuts down on the brain pain. (Kidding!)

    Second, find this code in the header.php

    <<?php echo $tmp;?> id="blogtitle">"><?php bloginfo('name'); ?></<?php echo $tmp;?>>
    <div id="subtitle"><?php bloginfo('description');?></div>

    And remove these 2 bits:
    First bit: <?php bloginfo('name'); ?>

    Second bit: <?php bloginfo('description');?>

    And it will look something like this when you're done:
    <<?php echo $tmp;?> id="blogtitle">"></<?php echo $tmp;?>>
    <div id="subtitle"></div>

    Save it, upload it, you know the rest of the drill and PRESTO!

Topic Closed

This topic has been closed to new replies.

About this Topic