Title: Using shortcode in iFrame
Last modified: August 30, 2016

---

# Using shortcode in iFrame

 *  [crazycanuck27](https://wordpress.org/support/users/crazycanuck27/)
 * (@crazycanuck27)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/using-shortcode-in-iframe/)
 * I was using the shortcodes to pass current_username as a parameter in an iFrame
   to a 3rd party form (Zoho Creator), but it now seems broken with the update to
   v4.2.3 … anyone have similar issues? Ideas on a way around this?
 * [https://wordpress.org/plugins/user-shortcodes/](https://wordpress.org/plugins/user-shortcodes/)

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

 *  [thecompuerguyjeff](https://wordpress.org/support/users/thecompuerguyjeff/)
 * (@thecompuerguyjeff)
 * [10 years ago](https://wordpress.org/support/topic/using-shortcode-in-iframe/#post-6362888)
 * [@crazycanuck27](https://wordpress.org/support/users/crazycanuck27/), were you
   able to resolve this?
 *  Thread Starter [crazycanuck27](https://wordpress.org/support/users/crazycanuck27/)
 * (@crazycanuck27)
 * [10 years ago](https://wordpress.org/support/topic/using-shortcode-in-iframe/#post-6362889)
 * [@thecompuerguyjeff](https://wordpress.org/support/users/thecompuerguyjeff/) –
   I ended up using an iframe plugin Advanced iFrame Pro that had built in the ability
   to pass along the user info as a parameter.
 *  [OutBoxed](https://wordpress.org/support/users/outboxed/)
 * (@outboxed)
 * [10 years ago](https://wordpress.org/support/topic/using-shortcode-in-iframe/#post-6362890)
 * I have the same problem, but I use a normal iframe (not iFrame Pro) because iFrame
   pro doesn’t allow me to set the iframe height to a percentage of the viewport
   height.** Anybody with a solution?**
 * My iFrame code looks like this, but the first name isn’t parsing, it’s just passing
   on the short code as inserted:
 * `<iframe name="chatpanel" src="http://41.185.31.127:7778/chat27/irc.atrum.org:
   +6697?nick=[currentuser_firstname]&#Chat27Beta" marginwidth="1" marginheight="
   1" scrolling="no" border="0" frameborder="0" width="100%" style="min-height: 
   400px; width:100%; height:80vh;"></iframe>`
 *  Thread Starter [crazycanuck27](https://wordpress.org/support/users/crazycanuck27/)
 * (@crazycanuck27)
 * [10 years ago](https://wordpress.org/support/topic/using-shortcode-in-iframe/#post-6362891)
 * [@outboxed](https://wordpress.org/support/users/outboxed/), I ended up using 
   the Pro version of “Advanced iFrame” … but don’t know if it allows height as 
   a percentage of viewport height.
 * If I recall, I made the switch because I had the issue where shortcodes in <iframe
   > wouldn’t work, but AiFPro does allow the use of something similar {userinfo-
   first_name} in the URL and I am able to pass that value to be parsed.
 * [https://wordpress.org/plugins/advanced-iframe/](https://wordpress.org/plugins/advanced-iframe/)

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

The topic ‘Using shortcode in iFrame’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-shortcodes_e0a769.svg)
 * [User Shortcodes](https://wordpress.org/plugins/user-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/user-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-shortcodes/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [crazycanuck27](https://wordpress.org/support/users/crazycanuck27/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/using-shortcode-in-iframe/#post-6362891)
 * Status: not resolved