rel=“lightbox[gallery-0] doesn’t work
-
Hi,
on my site the rel doesn’t work, til now I used a prettyPhoto with this code:
<a class="zoom" title="<?php the_title(); ?>" data-gal="prettyPhoto[gallery]" href="<?php echo esc_url($currenturl); ?>"><span class="fa <?php echo esc_attr($currenticon); ?>"> </span></a>
Unfortunately prettyPhoto doesnt work well on mobile device, so I found your plugin and replaced the code:
<a class="zoom" title="<?php the_title(); ?>" rel=“lightbox[gallery-0]“ href="<?php echo esc_url($currenturl); ?>"><span class="fa <?php echo esc_attr($currenticon); ?>"> </span></a>
The problem is, that clicking on the image, it doesn’t show the associated gallery, but only the single images of the page, how you can see on the pagelink.
The page I need help with: [log in to see the link]
- The topic ‘rel=“lightbox[gallery-0] doesn’t work’ is closed to new replies.