Support » Fixing WordPress » Missing Body in Preview

  • Resolved cyberquill

    (@cyberquill)


    So I’m working on a draft, I keep previewing it, everything works fine, I keep writing, I’m at 2,000 words now, and suddenly hitting “Preview” gives me this. (Screenshot)

    So everything shows up in Preview EXCEPT the body of my draft.

    I played around with it, and for a while it seemed that one YouTube link in the draft caused the missing body. Every time I removed the YouTube link, the body showed up in Preview, and when I added it back, the body disappeared again.

    But now I’m at a point where even removing the link doesn’t work anymore.

    Ironically, when I remove either the top or the bottom half the top half of the draft, the (half) body shows up in Preview. But both halves, forget it.

    What could be the problem?

    http://blog.cyberquill.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Are you hitting save draft?

    Thread Starter cyberquill

    (@cyberquill)

    Yes. Saving my drafts works fine.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Does this happen when you’re using the default Twenty Ten theme?

    Thread Starter cyberquill

    (@cyberquill)

    Yes, same thing.

    Thread Starter cyberquill

    (@cyberquill)

    Alright. I played around with it, and here’s what I found:

    when I remove the following caption from the middle of my draft, Preview works fine:

    [caption id="attachment_9754" align="alignleft" width="300" caption="Bill O'Reilly threatens a frightened guest"]

    The moment I put it back in again, the entire body of my draft doesn’t display in Preview.

    I have a few pics with captions in my draft. Preview only works after I remove this particular caption. Removing any of the other captions instead doesn’t help.

    But when I leave the caption in but remove the bottom 575 words of my draft, then Preview works as well.

    Summing up, Preview works when I either (a) remove this particular caption, OR (b) remove the bottom 575 words of my draft.

    Thread Starter cyberquill

    (@cyberquill)

    I finally published my draft, and it came out blank as well.

    The problem is caused by some—but strangely not all—pictures with captions UNLESS I include a blank line between picture code and text.

    So, for instance, this caused a missing body in Preview as well as upon publication:

    [caption id="attachment_10000" align="alignright" width="300" caption="The Bigger Clown"]<a href="http://blog.cyberquill.com/wp-content/uploads/2011/03/lod.png"><img src="http://blog.cyberquill.com/wp-content/uploads/2011/03/lod-300x204.png" alt="Lawrence O'Donnell" title="Lawrence O'Donnell" width="300" height="204" class="size-medium wp-image-10000" /></a>[/caption] In one of MSNBC's customary O'Reilly-bashing segments the night before the...

    As soon as I inserted a blank line after the closing [/caption], the body displayed fine:

    [caption id="attachment_10000" align="alignright" width="300" caption="The Bigger Clown"]<a href="http://blog.cyberquill.com/wp-content/uploads/2011/03/lod.png"><img src="http://blog.cyberquill.com/wp-content/uploads/2011/03/lod-300x204.png" alt="Lawrence O'Donnell" title="Lawrence O'Donnell" width="300" height="204" class="size-medium wp-image-10000" /></a>[/caption]
    
    In one of MSNBC's customary O'Reilly-bashing segments the night before the ...

    Why this only happens with some but not all captioned pictures is beyond me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Missing Body in Preview’ is closed to new replies.