- This topic has 2 replies, 2 voices, and was last updated 5 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Display gallery in html code.
I’m using the following code in a template file because using the shortcode is not an option.
<a rel="wp_lightbox_prettyPhoto_image" href="<?php echo $image['url']; ?>" target="_blank"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /></a>
Is it possible to create a gallery like this? I tried using gallery_group=”” in the link area but to no avail.
Thanks John
Hi, You can try this:
<a rel="wp_lightbox_prettyPhoto_image[gallery1]" href="<?php echo $image['url']; ?>" target="_blank"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /></a>
<a rel="wp_lightbox_prettyPhoto_image[gallery1]" href="<?php echo $image['url']; ?>" target="_blank"><img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" /></a>
That works and is completely awesome. Thanks a lot.