Support » Fixing WordPress » Linking an image to a site.

  • Resolved Ricardo


    In the sidebar on I have an image, and below it a download button. I want people to be linked to the site if they click the image (so that I can remove the button) This is the code I use now:

    <a href=""><img src="<a href=""><img src="" alt="" title="ArtworkMixtape1" width="230" height="230" class="aligncenter size-medium wp-image-882" /></a></a> <div style="text-align:center;"><strong> <A HREF="">Download</A></strong></div>

    I have tried this code: <A HREF=""> <IMG SRC=""> </a> But that doesn’t do anything.

    Can someone help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • This should work:

    <a href=""><img src=""></a>

    I’ve tried it, but I only get an empty text widget when I use this code.

    That’s because the file

    does not exist. Just paste what I wrote (including the correct image url) and it will work.

    It works like a charm! 🙂 Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Linking an image to a site.’ is closed to new replies.