Title: Add html code to image caption
Last modified: December 28, 2020

---

# Add html code to image caption

 *  [bigota](https://wordpress.org/support/users/bigota/)
 * (@bigota)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/add-html-code-to-image-caption/)
 * Hello. I want to add html to image caption but dont run. I want to put a button
   with a link in image caption. Anyway to do this?

Viewing 1 replies (of 1 total)

 *  [Elvin](https://wordpress.org/support/users/ejcabquina/)
 * (@ejcabquina)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/add-html-code-to-image-caption/#post-13842151)
 * Hi,
 * You’ll have to edit the Image Block’s HTML to place your html code in it.
 * Please refer to this documentation.
    [https://wordpress.com/support/editors/#edit-html-in-the-word-press-editor](https://wordpress.com/support/editors/#edit-html-in-the-word-press-editor)

Viewing 1 replies (of 1 total)

The topic ‘Add html code to image caption’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Elvin](https://wordpress.org/support/users/ejcabquina/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/add-html-code-to-image-caption/#post-13842151)
 * Status: not resolved