WordPress.org

Ready to get started?Download WordPress

Forums

Autoremove iframe code after as draft or save a post (8 posts)

  1. B_Dark
    Member
    Posted 1 year ago #

    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?

  2. 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.

  3. B_Dark
    Member
    Posted 1 year ago #

    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.

  4. webvitaly
    Member
    Posted 1 year ago #

    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.

  5. B_Dark
    Member
    Posted 1 year ago #

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

  6. 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)

  7. bluejpro
    Member
    Posted 1 year ago #

    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.

  8. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic