Hi,
Is there a way to use the lightbox shortcode in an html file instead of using the shortcode in the wordpress post?
Thanks!
Hi,
Is there a way to use the lightbox shortcode in an html file instead of using the shortcode in the wordpress post?
Thanks!
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>
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?
I don't understand the following.
I want to insert all the code in my html file and send it to a post
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"]
');?>
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
برچسب : نویسنده : استخدام کار wpss بازدید : 188