• I am using the BasicVersion: 1.3.12 By WP Puzzle Theme and I am trying to make the header image link to the Welcome page as shown in the menu. See https://18.213.25.0/ the image is at the top for the Tampa Bay International School.

    How can this be done?

    Thank you.

    Jack

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have not heard back from you so I made some changes to the code to allow the header image to be a link to the home page of the site. It works. The code change is in inc/hooks.php:

    function basic_the_header_image(){

    $header_image = get_header_image_tag();
    $image_link=”https://18.213.25.0/”;
    if ( $header_image ){ ?>
    <div class=”header-image”>
    <?php echo ““; ?>
    <?php echo $header_image; ?>
    <?php echo “
    “; ?>
    </div>
    <?php }

    The issue now is that not all areas of the header image are hot spots for the link. Is there some other place I need to change in any of your code to make sure that any spot in the image is a link to the home page?

    Jack

    I am using the Header setting of
    Background without repeat

    I am running version 1.3.12

    Interesting data to help with getting you guys to look into this is that when I set the option for the header:
    Image after site title

    The entire image is now clickable, even the space to the right of the image.

    I hope you have suggestions on what to do here.

    Thanks

    Jack

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘link an image in header to a page’ is closed to new replies.