Support » How-To and Troubleshooting » [Resolved] Weird Display Isues

[Resolved] Weird Display Isues

Viewing 15 replies - 1 through 15 (of 16 total)
  • where is this coming from?

    <body class="single single-post postid-43886 single-format-aside custom-background two-column right-sidebar" data-twttr-rendered="true">

    The Twitter Render part?

    I have no idea

    Well it seems to text in question is coming from something related to Twitter

    I removed the Twitter widget to no improvement

    On the admin side, view the post through the TEXT editor, and see if anything remains there


    It looks like its related to Post Excerpts, deleted the Post Excerpt, saved and now the problem is gone

    Why would post excerpts cause that problem? And only on random posts?


    Lol. I have no idea, but glad you got it resolved. I will look further into this though

    Turns out the culprit was Enabling Ultimate Tiny Mce in Excerpts.


    Thanks for your help.


    Well done! Thanks for teaching me something to look out for.

    Has it been fixed? I still see the extra text at the top of the aforementioned pages. It looks like it has to do with having links in your post excerpts.

    Fixed now…looks like it IS links in the excerpts that is the culprit, not UTM



    So, the lesson here is, keep it basic in excerpts.


    Excerpts also don’t like underlined text either (possibly a clash between my theme or something)

    It looks like your theme uses the excerpt to create the description meta tag in the header, leaving the HTML tags intact. If you do a view source, you’ll see something like this towards the top of your header:

    <meta name="description" content="Well, according to my pals ...

    What happens is when an HTML tag is included in the excerpt, the ending right bracket (>) is incorrectly interpreted as the end of the meta tag. So if you use the <u> tag for underlining, it will look like this:

    <meta name="description" content="Well, <u>according</u> to my pals ...

    The bracket to the right of the <u> gets interpreted as the end of the meta tag, and the rest gets interpreted as HTML that shows up as a “random string.” So you can’t include any HTML in your excerpts.

    I think WordPress by default strips out HTML tags in excerpts, more for the situation where an ending DIV tag might get left off accidentally and screw up the rest of the page. Some themes, and plugins as well, have been written to restore the inclusion of HTML in an excerpt, but as your example indicates, care must be taken to avoid undesired effects.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Resolved] Weird Display Isues’ is closed to new replies.