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 Ecommerce Shopping Cart Plugin

Out of all the WordPress ecommerce plugins available, MarketPress has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
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 Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
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