WordPress.org

Support

Support » How-To and Troubleshooting » MAKE AN IMAGE A LINK

MAKE AN IMAGE A LINK

  • issieparis
    Member

    @issieparis

    hi im trying to make an image a link to an external page. I know how to make it in dreamweaver, so im wondering if the code to do it at wordpress would be similar.
    Or i accept ideas of how to make.
    Really i just want a logo to be a link to an external page, list in the links category…
    help

Viewing 4 replies - 1 through 4 (of 4 total)
  • EMG
    Forum Volunteer

    @emg

    Links are links, even in WordPress. 🙂

    <a href="someexternalURLhere">Here is a link!</a>

    issieparis
    Member

    @issieparis

    yeah but how do i put it in the image??

    EMG
    Forum Volunteer

    @emg

    Sorry for missing the part about the images.

    That depends on where your images are located. If they are located in an images folder in your theme, then:

    <a href="someURLhere"><a href="<?php bloginfo('template_directory'); ?>/images/blah.png" alt="" title="" /></a>

    That – or an altered version of that – would work. 🙂

    issieparis
    Member

    @issieparis

    actually i want to put it in the left column, and the image its in the server in themes content

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MAKE AN IMAGE A LINK’ is closed to new replies.