Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Add Caption to Images in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Add Caption to Images in WordPress

Ever wonder how some sites add small texts below their images? Well that’s a caption. It comes in handy if you want to provide additional details about your image. WordPress comes with a built-in functionality to add captions to your photos. In this article, we will cover how to add caption to images in WordPress.

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is to upload an image. You can add images to WordPress by clicking on the Add Media button while writing a post/page. Once you have uploaded an image, you will see a form where you can provide the image information such as title, caption, alternate text, and description for your image.

Adding caption to an image in WordPress

The title and description boxes are not visible to your users. However, caption will appear with the image when you insert it into your post. Depending on how your theme handles captions, you will see something like this:

Caption displayed below an image in WordPress

You can also add caption to images when creating an image gallery in WordPress. Once you have uploaded your photos, you can enter captions directly below an image, like this:

Adding captions to gallery images in WordPress

The captions will appear with your gallery images. The appearance of captions may vary depending on how your theme styling. This is how gallery captions appear in the default Twenty Fourteen theme:

Caption displayed for images in a gallery

Adding Captions to Multiple Images in Multiple Posts

If you post a lot of photographs on your site, then perhaps you would like to revisit your photos and add captions to photos in different posts. You don’t need to open each post in the post editor just to add captions to images. You can add captions by editing an image directly.

To do that, go to Media » Library. There you will see all your photos and images. Take your mouse over to an image you want to edit, and you will notice that a few links would appear below it. You need to click on Edit Image link.

This will open image in the WordPress image editor screen. You can add caption to your image here. You can also crop, rotate, and resize your images from edit image screen.

Editing an image in WordPress

We hope this article helped you add caption text to your images in WordPress. If you liked this article, then please join us on Twitter or subscribe to our YouTube Channel


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Christyna says:

    By speaking slower and more clearly at might help the beginners a little bit more. You run over the words, so to speak ” rattle off”!!

    Not a good idea for them who just start wordpress!

    Thank you

  2. Rich says:

    Thanks for this article and all your other helpful articles.
    Can you recommend any tips to add this type of info for each picture on my site that helps SEO?

    Rich

  3. Hemabandaru says:

    Really helpful for my WordPress site thanks you for sharing a such a good article about image captions

  4. Nicholas Read says:

    You go much too fast. Your videos are almost no help at all because you rush through everything. You have to remember that the people you’re trying to reach are beginners. We don’t know what we’re doing. That’s why we’re relying on you.

  5. Steve Procter says:

    Hi, can you add an additions one stating how to edit multiple images at once? People like myself who have a photography blog, will want to add keywords and titles to multiple images in one go :)

  6. shakir suratwala says:

    How can we change the fonts, colour, style of the captions?
    can you please help !

  7. Kelly says:

    Helpful. Thank you!

  8. Linda says:

    Is there a character limit for captions?

  9. Mark Molinoff says:

    Very helpful video. Short and to the point. Thanks.

  10. Jay says:

    Hello I have added captions to photo files on my computer. Is it possible to upload the photos including the captions to a WordPress blog, or do I need to copy and paste the captions from the metadata of the photos into WordPress?

  11. bianka says:

    Hi – I have a good background picture on my homepage – bkgd position 70px 0px, bkgd size cover. But I can’t seem to get the same on my other pages as it asks for scale or pixels – I’ve tried resizing on paint but no matter what to it appears too big. – that’s my 1st problem.

    2. using 2014 theme – child – where do I find the code for the pages ? I’ve looked in 2014 parent theme style.css but can’t make out if the code in there belongs to the parent or child — I’ve checked the color codes and they seem to belong to the parent theme – so where will I find the code for my pages – I am tearing my hair out , I’ve been at this for months and no one can give me an answer! – I’m learning php, html, java, just to find them to no avail.

    3. I have my title in my homepage (which is my url – But I wish to change the last word to suit all my other pages – any chance you have a code for this and where would I add it.

    Thanks again

  12. Peter McNeice says:

    Thanks for this.

    Wondering whether it’s possible to have the caption appear with the photos when they’re clicked on and open in the lightbox.

    That way, when people continue scrolling through the photos, the captions continue to appear.

    Cheers.

  13. Paul Ginnivan says:

    Great. Clear direction. Immediately began ‘captioning’ my many photos on my blogs.

  14. Myles says:

    Question: Sometimes when I add a caption to a photo in some themes, it will make it appear a little wonky. A border box will appear off-center. What should I look for in the CSS to fix this?

    • WPBeginner Support says:

      You can use css by modifying or overriding these CSS classes in your theme:
      .wp-caption
      .wp-caption-text

  15. Steven Denger says:

    These tutorals are very helpful and appreciated. I have found WordPress after a few months of researching and digging for hours a day to be almost not worth it to me. The WordPress platform seems to be and do one thing and one thing only – cram content to the left and stack it. I fight it all the time trying to get a decent customization. That only comes with a plugin and a lot of trial and error. As the saying goes: there has got to be an easier way. I am about to become an X WordPress user because it is impracticle, unreliable, difficult and time consuming to customize, and one has to do without most of time and just settle for what wordpress gives you. I give up the fight. As I am a college educated person with a higher than average IQ,I stll cannot see spending all this much time just for simple customizations. – Steve, an X WordPress user

  16. Alessandra says:

    hi, thanks for the tutorials, is a good way to learn day by day

  17. Trevor says:

    Thanks, very useful as I work on my first blog.

    Keep up the good work!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.