WordPress.org

Ready to get started?Download WordPress

Forums

Formatting Issue with Image Caption - Stripping out caption code (2 posts)

  1. ontargetpro
    Member
    Posted 1 year ago #

    All of a sudden (since before the latest update), when I add image captions, they are not formatting properly. In fact, they are showing up as regular text along side the images.

    It will look fine in the post editing screen, but when you preview it, the caption becomes regular text.

    Here is the code in the editing screen:

    [caption id="attachment_4243" align="alignleft" width="300"]<img class="size-medium wp-image-4243" title="Angry woman with cane" src="http://myhomecareblog.com/files//2012/01/angry-woman-300x244.jpg" alt="Angry woman with cane" width="300" height="244" /> Angry woman with Cane CAPTION[/caption]

    View code when you look at it live and you see:
    <img class="size-medium wp-image-4243" title="Angry woman with cane" src="http://myhomecareblog.com/files//2012/01/angry-woman-300x244.jpg" alt="Angry woman with cane" width="300" height="244" /> Angry woman with Cane CAPTION

    Why is it stripping out the caption code?

  2. ontargetpro
    Member
    Posted 1 year ago #

    Looks like it was a stylesheet issue. I still don't understand why it would completely strip out the code, but oh well!

Topic Closed

This topic has been closed to new replies.

About this Topic