WordPress.org

Ready to get started?Download WordPress

Forums

Advanced iFrame
[resolved] Anyway to load a post into iFrame via template (5 posts)

  1. j66brad
    Member
    Posted 1 year ago #

    I'm trying to load a post into an iFrame via coded returned bitly link in template.

    single.php has bitly function which echo's the associate bitly link in the post. What I'd like to do is when you click on this link, it opens up the redirect bitly link in an iFrame possibly with a conditional to hide elements (no header/ no footer)

    Hopefully that makes sense. Any ideas greatly appreciated

    http://wordpress.org/extend/plugins/advanced-iframe/

  2. mdempfle
    Member
    Plugin Author

    Posted 1 year ago #

    the advanced iframe can hide elements if the post comes from the same domain. But the stuff before you have to setup/code by yourself.

  3. j66brad
    Member
    Posted 1 year ago #

    Thanks for the reply. I'll play around with it and reply post if I can't figure out how to load post / target iFrame. It seems I could use a the variable I set up from within in template and pass that into the shortcode, hard coded in the corresponding template.

    Is it possible to use your plugin this way? That is hard code the shortcode into the template file?

    Thanks for input. Sincerely appreciate it

  4. j66brad
    Member
    Posted 1 year ago #

    Thanks for the reply. I'll play around with it and reply post if I can't figure out how to load post / target iFrame. It seems I could use a the variable I set up from within in template and pass that into the shortcode, hard coded in the corresponding template.

    Is it possible to use your plugin this way? That is hard code the shortcode into the template file?

    Thanks for input. Sincerely appreciate it

  5. mdempfle
    Member
    Plugin Author

    Posted 1 year ago #

    You can pass parameters to the iframe. simply define the parameter in the configuration.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic