WordPress.org

Ready to get started?Download WordPress

Forums

Links within Image (2 posts)

  1. cthurston2131
    Member
    Posted 1 year ago #

    I was wondering how to put a link within an image. I have found it on 1 other site using wordpress but I am unable to figure out how to do it. The site that is using it is dev.originalsantaletter.com

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    In general, you can change or add the HTML code for an image:

    <a href="http://linktothissite.com"><img src="http://example.com/test/wp-content/uploads/2012/12/image.jpg" /></a>

    If you've used the Add Media - just go to the text editor and modify the href="..." for that image.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags