SLB for custom post type not working
-
Hi,
I use SLB for my gallery images and that’s working fine. Now I try to also use SLB for my custom post types. I have a page that loops out the featured images of the CPT. But when clicking on one image it just opens the full image in the window – no lightbox.
I have this code:
<a href="http://lena.xxxxxxx.se/wp-content/uploads/2013/10/1942b30.jpg" title="1942" data-slb-group="999_gallery_1" data-slb-active="1" data-slb-internal="0"><img width="150" height="150" src="http://lena.xxxxxxx.se/wp-content/uploads/2013/10/1942b30-150x150.jpg" class="attachment-dailyimg_thumb150 wp-post-image" alt="1942b30"></a>What’s wrong with this possibly? It’s just the data-slb-group=”999_gallery_1″ that’s needed to trigger the lightbox, right?
I had this working with another plugin before, but SLB is neater 🙂
Thank you for any advice.
/emily
The topic ‘SLB for custom post type not working’ is closed to new replies.