How to link a header image to an external website
-
Hi,
I’m creating a website for a business I work for, and there’s a few images I’m placing in the header. The first image works like a home button for the site, which I have worked out already. The second image is basically a logo that should link out to another site on the internet, but I’m having trouble working out what form the PHP should take in the header.
Currently have every set up in WAMP.
For the first image I used the code:
<a href="<?php echo get_option('home'); ?>/"><img src="http://localhost/wordpress/wp-content/themes/Computer%20Help/images/comp-help-logo.png" alt="Computer Help" width="65" height="84" title="Computer Help" />
Is there a way to vary that to include a link out to an external site?
Thanks,
Tim
- The topic ‘How to link a header image to an external website’ is closed to new replies.