Title: using an iframe
Last modified: June 25, 2019

---

# using an iframe

 *  Resolved Anonymous User 13716511
 * (@anonymized-13716511)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/)
 * How do I show the popup in an iframe?
    I can’t figure out how to do it from the
   instructions. I’m currently using the ?modal-link in the URL to load it but no
   of the comments plugin I want to use such as [https://wordpress.org/plugins/disqus-comment-system/](https://wordpress.org/plugins/disqus-comment-system/)
   or [https://codecanyon.net/item/wp-comment-designer-customize-and-design-wordpress-comments-and-comment-form/21640179](https://codecanyon.net/item/wp-comment-designer-customize-and-design-wordpress-comments-and-comment-form/21640179)
   work in the popup. There are too many javascript issue. Would they work if I 
   use an iframe? Will the URL of the page change is I use an iframe? Please advise.
   Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11680233)
 * A popup cannot be shown in an iframe. The iframe method is for showing external
   sites as an alternative to the default method. It will not work for all external
   sites. In all other regards, the iframe method is the same as the standard method.
 *  Thread Starter Anonymous User 13716511
 * (@anonymized-13716511)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11681016)
 * Can I show a post in an iframe as a popup?
    How would you advise display a post
   in a popup but staying in that popup when someone comments on the post? (With
   the URL changing to the URL of the post).
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11682718)
 * Yes you can show a popup using the iframe method. Just follow the instructions
   on the plugin information page on how to use the iframe method.
 * The plugin doesn’t support commenting on a post inside a popup and staying within
   the popup. It’s possible the iframe method may work for this, but I’m not sure.
   Worth a try.
 *  Thread Starter Anonymous User 13716511
 * (@anonymized-13716511)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11685212)
 * Yes, the iframe does work with comments, thank you.
    Is there a way to hide the
   header and footer on the page and just show the content in the iframe. Can I 
   wrap what I want to show in some div or use should I use css/javascript?
 *  Plugin Author [allurewebsolutions](https://wordpress.org/support/users/allurewebsolutions/)
 * (@allurewebsolutions)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11685216)
 * There may not be a way to easily remove the header/footer with the iframe method.
 * You might be able to do it with this method: [https://stackoverflow.com/questions/16194398/inject-a-javascript-function-into-an-iframe](https://stackoverflow.com/questions/16194398/inject-a-javascript-function-into-an-iframe)
 *  Thread Starter Anonymous User 13716511
 * (@anonymized-13716511)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11685264)
 * Is there a way to always show the page in an iframe – even if someone accesses
   the page url NOT from clicking on the link where I added the class=’modal-link
   iframe’ eg from a link in a forum/email, not from a link on my website.
    That
   way I can hide the header and footer on all posts pages in general – which will
   be fine because the post will always show in an iframe layer over the site. Is
   this possible with this plugin?
 *  Thread Starter Anonymous User 13716511
 * (@anonymized-13716511)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11690280)
 * the iframe method is not going to work for me since I have links on my page that
   will keep people in the iframe if clicked.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘using an iframe’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-post-modal.svg)
 * [WP Post Popup](https://wordpress.org/plugins/wp-post-modal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-post-modal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-post-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-post-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-post-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-post-modal/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: Anonymous User 13716511
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/using-an-iframe/#post-11690280)
 * Status: resolved