The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Changing the default link location of the header image/text (2 posts)

  1. bcosler
    Posted 2 years ago #

    My roommate and I are working on a new site, and we need to change where the text in the top left corner of the content portion of the theme directs to, but all of the posts I'm finding about how to do this refer to the Twenty-Twelve or Twenty-Thirteen themes, and the coding here is slightly different.

    I'm guessing that I should be looking in header.php, and I've even made a child theme, all I need is the section of text that needs to be changed and I should be golden!

  2. Konstantin Kovshenin
    Theme Author

    Posted 2 years ago #

    Hey there! Since you've already made a copy of header.php in your child theme, to change the header link, you need to change the part that says:

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

    To whatever link you like instead of the home_url() function. For example:

    <a href="http://google.com"

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic