WordPress.org

Ready to get started?Download WordPress

Forums

Simple question: how to link to index.php from header (5 posts)

  1. webtodd
    Member
    Posted 8 years ago #

    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.

  2. spencerp
    Member
    Posted 8 years ago #

    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

  3. webtodd
    Member
    Posted 8 years ago #

    well a version of this worked, thanks!

  4. spencerp
    Member
    Posted 8 years ago #

    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

  5. webtodd
    Member
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.