• Hi there,
    I’m trying to make a header image link to the homepage.
    The big logo on the top of http://www.caboodlekids.co.uk when clicked should go to the homepage.
    I have tried aref, I’ve tried directing the div header to the link but they seem to want to go (url of whatever page i’m on)/caboodlekids.co.uk
    For now I’ve disabled the link on the image as it was just giving a broken link page.
    My added code is in the header php file and is as follows:
    ‘<img border=”0″ alt=”Caboodle Kids” src=”http://www.caboodlekids.co.uk/wp-content/uploads/2016/04/wesbite-logo.jpg”&gt;
    <?php /* if (is_home()) echo( ‘<h1 id=”title”>’); else echo( ‘<div id=”title”>’);?><a href=”<?php
    bloginfo( ‘url’); ?>”><?php bloginfo( ‘Caboodle Kids’); ?><?php if (is_home()) echo( ‘</h1>’); else echo( ‘</div>’); */?> </center>’

    Any help would be hugely appreciated! Thank you 🙂

The topic ‘Header image link to home’ is closed to new replies.