Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, have a look at the sample below. Is this what you mean?

    <a title=”” href=”YouTube video URL here” rel=”wp-video-lightbox”><img src=”image URL here” alt=”” width=”160″ /></a>

    Thread Starter ryanmccauley211

    (@ryanmccauley211)

    I tried that and it doesn’t seem to work. I want to insert all the code in my html file and send it to a post from there rather than type the lightbox shortcode into wordpress if that makes sense?

    Plugin Support mbrsolution

    (@mbrsolution)

    I don’t understand the following.

    I want to insert all the code in my html file and send it to a post

    Thread Starter ryanmccauley211

    (@ryanmccauley211)

    I got it working, sorry I should have said php file. I used this:

    <?php echo do_shortcode('[video_lightbox_youtube video_id="cITNwEkCsdQ" width="640" height="480" alt="alt text for the image" auto_thumb="1"]
    ');?>
    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I am happy to hear that you got it working ??

    Can you mark this support thread as resolved.

    Thank you

    PS Enjoy the plugin

    Thread Starter ryanmccauley211

    (@ryanmccauley211)

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use lightbox shortcode outside wordpress post?’ is closed to new replies.