Support » Themes and Templates » How Do I Redirect Header From Twenty Eleven Theme To Another URL?

  • Resolved DanSmith1

    (@dansmith1)


    How do I redirect the 1000×288 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    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.

    Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How Do I Redirect Header From Twenty Eleven Theme To Another URL?’ is closed to new replies.