Support » Networking WordPress » Autoremove iframe code after as draft or save a post

  • In a multisite i have this problem, when i go to draft or save a post with iframe code automatic remove the iframe code from the post, why and how i fix this problem?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Don’t use iFrames.

    I hate to say it, but that really is the answer. They’re bad web design, and only SuperAdmins can use them, and even then, only if they use the HTML editor.

    Also please don’t bump your posts.

    I was forced to use iFrame because some embed services like youtube use iframe. As an admin and yes I use HTML editor, in single WP istes I don’t have this kinf of problem.

    Ok, my bad, it won’t happen again.

    You can use iframe plugin.

    iframes will be shown with such shortcode: [iframe src="http://player.vimeo.com/video/819138" width="100%" height="480"]

    And iframes will be not trimed by WordPress.

    I saw that I can put the iFrame code as it is from any site except this one reelhouse.org. Does anyone know why?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    I was forced to use iFrame because some embed services like youtube use iframe.

    Yeah, and you don’t need that 🙂 Just put the video URL on it’s own line.

    Read http://codex.wordpress.org/Embeds

    (Seriously, there’s no reason for iframe’s in the context of the posts anymore)

    Well, I just worked on a WordPress site that had Google Calendar embedded in an iframe – which is easy for users to do. With so many 3rd party resources giving people iframes to copy and paste, it’s a good idea to help your users make them work if you can.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    No, it’s a good idea to tell developers to stop using iframes 🙂

    http://wordpress.org/extend/plugins/google-calendar-events/ can do this for you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Autoremove iframe code after as draft or save a post’ is closed to new replies.