Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Display gallery in html code.

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Display gallery in html code.

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 2 months ago by wondervegas.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 9, 2019 at 7:58 am #15342
    wondervegas
    Participant

    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

    March 10, 2019 at 3:30 am #79317
    wpCommerce
    Moderator

    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>

    March 10, 2019 at 10:35 pm #79318
    wondervegas
    Participant

    That works and is completely awesome. Thanks a lot.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ