1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to make picture a clickable link in wordpress theme? <3

Discussion in 'Web Design' started by jclz123, Oct 10, 2009.

  1. jclz123

    jclz123 Regular Member

    Joined:
    Sep 18, 2009
    Messages:
    236
    Likes Received:
    38
    Occupation:
    Inventor of the Meganet
    Location:
    UK
    Home Page:
    Hi guys, could someone help me by telling me how I can make this image clickable so that it can transfer the user to another site? I'm using wordpress.

    Code:
    <img src="<?php bloginfo('template_directory'); ?>/images/weightlossbanner.gif" style="float:right; margin-left:10px;" alt=""/><h2Weight Loss</h2>
    Any help will be thanked! <3
     
  2. missnub

    missnub Newbie

    Joined:
    Oct 9, 2009
    Messages:
    13
    Likes Received:
    3
    could something like this work for you?

    Code:
    <a href="http://yourlinkgoeshere.com"><img src="<?php bloginfo('template_directory'); ?>/images/weightlossbanner.gif" style="float:right; margin-left:10px;" alt=""/></a>
    <h2>Weight Loss</h2>