Support » Fixing WordPress » iframe Tag being eaten

  • Resolved CaptainBlue

    (@captainblue)


    I’m getting really cheesed off: I want to display a league table generated on another site in one of the ‘static’ pages on my WP install.

    The code should look like this:

    <p>The Wymondham United Under 11s play in the Norfolk Youth Football Combination and our position in the league can be seen here:</p>
    <p><iframe src="http://FULL-TIME.TheFA.com/gen/DivisionSeasonTable.do?divisionseason=4106343" frameborder="0" width="550" height="350"></iframe></p>

    Only trouble is, WordPress decides it knows best and changes it to this:
    <p>The Wymondham United Under 11s play in the Norfolk Youth Football Combination and our position in the league can be seen here:</p>
    <p><iframe src="http://FULL-TIME.TheFA.com/gen/DivisionSeasonTable.do?divisionseason=4106343" frameborder="0" width="550" height="350" /></p>

    which then breaks the page layout as there’s no closing tag.

    I’ve tried the supposed fix of adding a non-breaking space as well as line break all to no avail.

    Changing the writing options to not use the visual editor by default but every time I try to edit the page it reverts to the visual editor as well.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘iframe Tag being eaten’ is closed to new replies.