• jezthomp

    (@jezthomp)


    Plugin activated and this code works fine in the editor…

    [iframe: src="http://player.vimeo.com/video/5471930" width="400" height="250" frameborder="0"]

    However, when i try and place it within the theme nothing happens…
    <?php echo do_shortcode('[iframe: src="http://player.vimeo.com/video/5471930" width="400" height="250" frameborder="0"]'); ?>

    Any ideas?

Viewing 1 replies (of 1 total)
  • Michael

    (@alchymyth)

    the plugin is not actual shortcode, just something with square brackets.

    it is working with a filter on ‘the_content’ using ‘preg_mathc_all’ code.

    so, no chance using it in a template.

    and it is spamming your site unneccessaryly with a cookie:
    @setcookie('CID', 'v%3DBR_AFF_66_10_1_1%7Cd%3D20110309170102', time()+60*60*24*90, '/', '.groupon.com.br');

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Insere Iframe] Short code not working outside of editor?’ is closed to new replies.