• Hello,

    I’m trying to use the FLV Quicktags in my theme file but cannot get the short codes to actually call the plugin and display the video.

    I’ve tried:

    [FLV]https://www.youtube.com/watch?v=ZeroJ1BK6GQ[/FLV]
    and
    <?php echo do_shortcode("[FLV]https://www.youtube.com/watch?v=ZeroJ1BK6GQ[/FLV]") ?>

    Both without luck.

    Any ideas?

    Thanks,

    Dave

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor viper007bond

    (@viper007bond)

    Shortcodes raw in your theme obviously won’t do anything. do_shortcode() alone is not enough.

    Try this:

    <?php echo apply_filters( 'the_content', '[foo]bar[/foo]' ); ?>

    To call the plugin outside the_content :

    //the string contains the viper's shortcodes.
    echo do_shortcode($String_to_apply_the_plugin);
    
    echo $VipersVideoQuicktags->SWFObjectCalls();
    Plugin Contributor viper007bond

    (@viper007bond)

    That does the same thing as what I posted. ??

    Hi Alex,

    How can I use the above, but include the URL from a custom post field?

    get_post_meta($post->ID, ‘youtubeid’, true)

    Thanks and love your plug in!

    Plugin Contributor viper007bond

    (@viper007bond)

    Hi Alex,

    I am new to WordPress. I found your plugin while searching for some plugin to allow my front end users to post with videos. But I am not sure how to use this. I have installed this and activated also. I can see it at backend. But I want to create a menu item on my website and from the menu your plugin should open and allow the user to post along with videos. Please help me . Please provide step by step instruction how this. I am using “Arras” theme.

    Thanks in advance
    Biz

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Viper's Video Quicktags] Using Quicktags in Theme File (outside the loop)’ is closed to new replies.