iframe

Hi,

I have a problem inserting an iframe on my wordpress page. Is this code ok?

<iframe style="border: none; width: 100%; height: 100%; position: absolute;" src="https://www.url.com"></iframe>

Thanks,

Benji

  • Nastia
    • Support Rock Star

    Hello Benji

    I trust you are doing well today!

    The code seems to be fine, except from the face URL that is inside, I guess that you modified it on purpose.

    The I frame worked on my site, however, because the link is incorrect, it didn't show the content.

    If you have issues inserting this code, try to insert it in the Text Editor of your page, instead of Visual editor. Please see the screenshot:

    Let me know if you require any further assistance!

    Cheers,

    Nastia

  • Nastia
    • Support Rock Star

    Hello Benji

    I trust you are doing well today!

    If the URL above is the one that you shared, yes, the URL from the above script is incorrect.

    In case you have a different URL, then it might be a conflict with a theme or with a plugin on your installation; switch to a WordPress default theme and deactivate all plugins on your site, will the iFrame work then?

    If it will work, switch back to your current theme and test again, if everything seems fine, activate one plugin at the time to find the plugin that is making the iFrame code not to work properly.

    You can follow the flowchart from our Getting Support manual:

    https://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    I hope this helps!

    Cheers,

    Nastia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.