A caption is the small piece of text that appears beneath an image, usually to give it additional context or provide source attribution. While image captions might seem like a small thing, they can demand even more attention from readers than the regular text in your content. Some experts, like those at Copyblogger, even recommend using 2-3 sentence captions underneath important images.
For that reason, it makes sense to pay attention to captions on your WordPress site (and you’ll notice that we also use captions in all of our content here, except for our featured image). To help you start using captions for your own images, we’re going to dig into how to add WordPress image captions.
We’ll cover a few different applications, but you can always click one of the links below to jump straight to a specific section:
- Add WordPress Image Captions
- Edit Captions for Existing Images
- Add Captions to Images in WordPress Gallery
- Change How WordPress Captions Look
- Display Caption on WordPress Featured Image
In this section, we’ll cover how to add a WordPress image caption that you use in an individual post or page. To get started, either create a new post/page or edit the piece of content where you want to add the caption.
Then, click on the Add Media button in the WordPress editor to upload or insert an image:
Once you locate an existing image or upload the image you want to add a caption to, click on the image preview thumbnail to select the image.
Then, look for the Caption box under the ATTACHMENT DETAILS section. Enter your desired caption in the box and click Insert into post:
And that’s it! You should see your caption underneath the image in the WordPress editor and you’ll also see it appear on the front-end:
WordPress supports image captions out of the box. However, how your caption looks on the front-end will be determined by the specific WordPress theme that you’re using. If your caption is missing or not styled the way you want, we recommend reaching out to the developer of your WordPress theme for changes. Most of the time it is simply a small CSS tweak that is needed.
We’ll also dive into a WordPress plugin below that can help give you some additional control over how to style the captions on your WordPress site.
In the previous section, we showed you how to add a caption to a new image that you insert into your WordPress content. But what if you need to edit the caption for an existing image or add a caption to an image that you’ve already inserted in your content?
To do that:
- Click on the existing image that you want to edit or add a caption to
- Click on the Pencil icon to edit the image
- Enter your desired caption in the Caption box
- Click Update
If you need to edit the caption for an image with an existing caption, you can also just edit the caption’s text in the WordPress editor like any other piece of text:
Again – this last method only works if you’re editing the caption for an image that you’ve already added a caption to.
You can use a similar method to add captions to images that you use in regular WordPress galleries.
To get started, create a new gallery:
- Click Add Media
- Choose Create Gallery
- Select your images
- Click Create a new gallery
Then, you can edit each image’s caption by using the box underneath each image:
Your chosen WordPress theme controls how the captions on your site look by default. For that reason, you’ll need to use custom CSS if you want to directly change how this default functionality looks for your theme.
With that being said, there is a popular free plugin called Image Caption Hover that lets you display image captions via 200+ different CSS3 hover effects.
This plugin does not allow you to change the static display of your image captions. But if you’re happy to only display image captions when a user hovers over one of your images, it’s a free option that gives you a good deal of control.
To add captions to your images using the plugin, you’ll first need to use the plugin’s caption builder to choose your hover effect and enter details for your caption. Then, you can use the provided shortcode to insert your image and caption anywhere on your WordPress site:
Once you add the shortcode for the image that you created with the plugin, you’ll see your new caption hover effect on the front-end of your site:
By default, most WordPress themes do not display a caption underneath your featured image. However, sometimes you might need to display a caption there, especially if you need to provide attribution for the image that you use in your featured image.
To display a caption underneath your featured image, you can use the free Featured Image Caption plugin, which is designed to work with all WordPress themes.
Once you install and activate the plugin, you’ll get a new Featured Image Caption box in the sidebar of the WordPress editor:
Save time, costs and maximize site performance with:
- Instant help from WordPress hosting experts, 24/7.
- Cloudflare Enterprise integration.
- Global audience reach with 33 data centers worldwide.
- Optimization with our built-in Application Performance Monitoring.