WordPress.org

Ready to get started?Download WordPress

Forums

Paragraph problems when adding embedded object (3 posts)

  1. Patty J. Ayers
    Member
    Posted 5 years ago #

    Hello,

    We want to embed a video in a blog post. When we paste in the code - which seems to be written correctly and works well when pasted into a normal web page with valid HTML - it causes an extra </p> tag to be added to the code. I can see that extra tag in the source code after the blog post is published, but of course I can't get to it from the WordPress interface.

    The published blog post is the 4th post down, titled "Video Walkthrough": http://blog.miraverse.com/ . See how, below that post, the paragraph spacing is messed up.

    Any help would be MUCH appreciated.

    Thanks in advance,

    Patty

  2. Paul Havemann
    Member
    Posted 5 years ago #

    Since the video is no longer embedded in the post, I can't directly see what you mean - but in my experience an extra closing-p tag shouldn't affect anything. (Though being new to WordPress, I have seen some... interesting unintended effects).

    That said, if you're comfortable editing the source code, try replacing the </p> tag that you can see with something innocuous like a non-breaking space. Or replace both P tags with DIV tags. If nothing else, it should tell you whether there's something in the HTML tags or... something else.

  3. Patty J. Ayers
    Member
    Posted 5 years ago #

    Paul, thanks very much for replying. I apologize, my client took down the post because it was causing problems with everything below it on the page.

    I'm very comfortable editing the source code, but I'm confused - where and how can I actually get at the source code? When I click the "Code" tab, I only see the code that my client pasted in. The other text is there, but is free of HTML tags. But when I View Source from Firefox, there's plenty of HTML in there. How can I edit it directly?

    I really appreciate your help.

    Patty

Topic Closed

This topic has been closed to new replies.

About this Topic