How to Add a Caption to WordPress Images


Not sure how to put a caption on an image in WordPress? Not to worry – it’s about as simple as it gets.

You’ve probably overlooked the solution countless times. It’s built right into WordPress. No plugin needed.

The simplest way is probably to do it when you upload your photo in your media uploader. In the image editing screen that pops up when the image is uploaded, you will notice a text box for your caption about midway down the page. Just pop your caption in there, and you’re all set.

Featured Plugin - WordPress Infinite SEO Plugin

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

And here’s the result.

Although this can vary with your theme, you’ll typcially notice that WordPress automatically puts you image in a nice frame with space at the bottom for the caption. And if you put a long caption in the box, the system will automatically expand to contain it.

You can also access captions for your images via the Media Library.

If you’d like to play around with the style of your captions, then search your theme’s stylesheet for .wp-caption.  (Appearance > Editor > Stylesheet – style.css) You’re likely to come across a number of different instances.

Featured Plugin - WordPress Membership Site Plugin

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Photo: Beautiful Sceneries in Photos on Green Field Background from BigStock

Tags

Comments (5)

  1. Craig – That can be controlled in your stylesheet. The borders show up in the default WordPress themes (TwentyTen and TwentyEleven), so you might look at what they’re doing there.

Participate