WordPress.org

Forums

[resolved] caption shortcode inserts blank paragraph (2 posts)

  1. dannyman
    Member
    Posted 4 years ago #

    Hello,

    I am setting up a new blog, no plugins yet. I inserted a photo in to a post, align right, with a caption. When I view the post in The zen light theme or the default theme I get a blank paragraph rendered above the image. Why is that and how can I change that?

    See: http://www.the99ers.net/2010/09/hello/

    The relevant code reads:

    <p><div id="attachment_19"

    Basically, I am pretty sure I want to drop the outer P and just have the DIV float where it needs to go. What's up? Thanks!

    Sincerely,
    -danny

  2. dannyman
    Member
    Posted 4 years ago #

    Short answer is something got trimmed from the markup inserted in to the post. I switched to the HTML editor, deleted and reinserted the shortcode, and everything looked fine.

Topic Closed

This topic has been closed to new replies.

About this Topic