WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] iframe Tag being eaten (3 posts)

  1. CaptainBlue
    Member
    Posted 7 years ago #

    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?

  2. moshu
    Member
    Posted 7 years ago #

    If you want to disable the wysiwyg you have to do it in admin > Users > Your profile: left bottom corner... too!

  3. CaptainBlue
    Member
    Posted 7 years ago #

    Excellent! That fixed it for me. Many thanks, moshu.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags