• Resolved dancriel

    (@dancriel)


    Embedded tweets seem to work fine unless it’s at the end of a post.

    If the Tweet status link is the very last line of text in the post content, that status link will not embed – it will show the status URL only like it does in the editor.

    Has anyone else seen this problem before?

Viewing 1 replies (of 1 total)
  • Thread Starter dancriel

    (@dancriel)

    The problem was in my theme. We are appending a clearing div to the end of our post content, and we were doing so without first inserting a newline character. As a result, an embed link at the very end of a post was failing to trigger the WordPress embed feature because it was no longer on a line by itself. Adding a newline character before our appended HTML fixed the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Twitter oembed not working at very end of post?’ is closed to new replies.