How To Add HTML Links In WordPress Image Captions

Link Image Captions in WordPressEver wanted to add a link at the bottom of an image in WordPress?

Since the release of WordPress 3.4, you can now add html links to the caption field of your images.

In this simple tutorial for beginners, i will show you how to create a html link and add it to an image caption in WordPress.

The first step you’ll need to complete is to create a html link.

To do this simply type the text in your WordPress Visual editor and then add the link URL.

Creating Links In WordPress Editor
Download WordPress 3.4

Once you have created the html link, switch to your HTML editor and copy it to your clipboard.

html link code from html editor

You can then upload and embed an image using your Visual editor and paste the html link into the caption field.

HTML Caption Links
Download WordPress 3.4

Here’s what the clickable html link will look like after you have added it to your image caption field using your WordPress editor.

Clickable html link in WordPress Image Caption
Download WordPress 3.4

This is one of the most popular additions to the WordPress core so you can now link your image captions to any URL and use a completely different link for the same image.

What do you think? Is this new feature cool or what?

Need More Help?

Join WP Sites to get full access to all tutorials & code.

  • Support for installation & modification of existing PHP code
  • Help with Genesis & StudioPress theme customisation
  • Access all tutorials & code snippets
  • Ask questions in the comments & get answers
  • Education - Request video explaining how the code works and what functions are included

Click Here to Learn More