WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How Do I Redirect Header From Twenty Eleven Theme To Another URL? (3 posts)

  1. DanSmith1
    Member
    Posted 2 years ago #

    How do I redirect the 1000x288 header image to a different URL other then the homepage of my blog?

    I am using just one image that I uploaded, its not the random selection. Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    the link is in header.php of twenty eleven:

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>">

    change that to your link url:

    <a href="http://towhereever">

    btw:
    better not edit twenty eleven directly; consider creating a child theme to make the edits there http://codex.wordpress.org/Child_Themes.
    it is important to have an unedited defaault theme in case of general theme problems; also, any customisation to twenty eleven will be overwritten with the next upgrade of your wordpress version.

  3. DanSmith1
    Member
    Posted 2 years ago #

    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Topic