WordPress.org

Ready to get started?Download WordPress

Forums

using iframe (7 posts)

  1. frankie_82
    Member
    Posted 7 months ago #

    Hi,
    I have recently been trying to embed instagram photos on a blog post using the embed button on instagram which gives the required code.

    The problem I am having is that the photo does not render correctly. The space for the photo is reserved, but it does actually appear.

    I have been googling all day and understand that it is something to do with the iframe tags in the code. Some say wordpress doesn't allow them. Is there a work around for this? or any way in which wordpress cn accept this code and render the photos correctly.

    The code is question is like this:

    <iframe src="//instagram.com/p/jCDwaDnAID/embed/" width="612" height="710" frameborder="0" scrolling="no" allowtransparency="true"></iframe>

    Many thansk for any help

  2. Andrew
    Forum Moderator
    Posted 7 months ago #

    What is the webpage with the issue?

  3. frankie_82
    Member
    Posted 7 months ago #

    The webpage is my blog
    However the post in question is not up yet s i can't get the code to work.

  4. Andrew
    Forum Moderator
    Posted 7 months ago #

    Can you try switching to the Twenty Thirteen theme and deactivating all plugins to explore whether any could be responsible?

  5. frankie_82
    Member
    Posted 7 months ago #

    OK, thanks for the tip. I'm out of the house right now on my phone, but I'll try that in a few hours when I get access.

    So wordpress doesn't have an issue per say with iframe tags? and it's possibly my theme or a plugin?

    Thanks

  6. Andrew
    Forum Moderator
    Posted 7 months ago #

    I've not known WordPress to limit the use of iFrames, or HTML in general.

  7. frankie_82
    Member
    Posted 7 months ago #

    Hi again Andrew. I reverted back to the 2013 theme, and wordpress immediately rendered the instagram photo correctly with the same code, even without disabling plugins.

    I'm using the photocrati theme. I'll contact them to see what the real problem is.

    Thanks again for your help.

Reply

You must log in to post.

About this Topic