WordPress.org

Support

Support » Themes and Templates » Simple question: how to link to index.php from header

Simple question: how to link to index.php from header

  • I replaced my header text with a header image (my blog logo) but i can’t figure out how to make my logo link to my home page, which is index.php.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try this once:

    <a href="<?php echo get_settings('home'); ?>/">
    <div id="headerimg"></div></a>

    Of course, use your own “id” for the div lol!

    I’m sure about that though..just a thought. =) I think there is a better way though..if I’m not mistaking.

    spencerp

    well a version of this worked, thanks!

    No problem. =) I know for some reason in IE6, it’s a little weird though..seems like the “mouse over hand” isn’t there, just the pointer. But if you click it anyways, it takes you home.. =/ =)

    spencerp

    that is weird! i was using firefox and didn’t notice it. hmmm…now how to fix that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Simple question: how to link to index.php from header’ is closed to new replies.
Skip to toolbar