Support » Themes and Templates » Link in Header —- i’m completely new to this

  • I understand how to swap in a header image of my choice but how do i remove the link over my header image?
    The big white one that spells out my domain name.

    Sorry if this has been asked before.


Viewing 6 replies - 1 through 6 (of 6 total)
  • To remove the link, find this line of code in header.php:

    <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

    Remove that line completely and that should remove the title and link.

    Thank You, worked great.


    I’m new to this too and would like some help. That advice worked great for the url link but there is still a/my site name in the header that I would like to get rid of. Not sure where in the header.php it would be, if it’s even in there. I noticed that WP creates both an URL link and a site name in the header, regardless of which flavor of theme is used. That includes the default one. And it will be on top of any header image too. Any help would be most appreciated. Tnanks!

    I found it on an older post, worked fine:

    >It’s in your theme directory: header.php
    >Search for <?php bloginfo(‘name’); ?> and remove it.


    ugh, I spoke too soon. That worked for one theme that had just a space for a header and the header image was down below. But for most themes that have header images it doesn’t. The theme is InBloom:

    and the header.php has:

    <div id=”logo”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <h2><?php bloginfo(‘description’); ?></h2>

    I tried all combinations I could think of and while I could get the url link removed, it still left the name in the image. Romoving both url link and name also removes the header image. Help please!


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Link in Header —- i’m completely new to this’ is closed to new replies.