How to manually centered image caption in WordPress visual editor

Here’s a quick tip on how to manually centered your image caption when WordPress “align” attributes with caption shortcode doesn’t seems to work.

Maybe it’s your WordPress installations or your theme that’s causing the caption aligning to fail and you really don’t have the time to look for the root cause of that problem.

I’ll show you the solution (I discovered) on how to fix that quickly by using the <center> tags.

The Fix

You can do this using two methods:

1- Image insert – when you add an image using the Add Media button in your post editor, you will see a caption box textarea on your right side of the Insert Image pop-up box screen. Just type <center>Your Image Caption</center> and upload the image using the Insert into post button. (refer image below)

Method 1

2- Edit Image – if you wish to edit your image caption using the Edit button (a small pencil icon when you click the image), you can edit/update your image caption by just typing <center>Your Image Caption</center> and then press Update button inside the Image Details pop-up box screen. (refer image below)

Method 2


Leave a Reply

Your email address will not be published. Required fields are marked *

Next Post

How to move pagination links to the end of your content

Wed Nov 25 , 2015
This post pagination problem really bugs me… 😡 Sometimes your multi-page article pagination may end up below other items at the end of your post, like related posts and sharing icons. + doitwithwp
move pagination below content