WordPress.org

Ready to get started?Download WordPress

Forums

Simple Lightbox
[resolved] SLB for custom post type not working (4 posts)

  1. eBierek
    Member
    Posted 8 months ago #

    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

    http://wordpress.org/plugins/simple-lightbox/

  2. Archetyped
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    No, the data-slb link attributes do not trigger the lightbox, though they do contain data for use by SLB.

    Can you confirm that your CPT theme template meets SLB's requirements as listed on the Requirements section on SLB's home page?

    Also, please see the instructions on reporting issues for more information on the details necessary for properly investigating your issue.

    Thanks.

  3. Archetyped
    Member
    Plugin Author

    Posted 7 months ago #

    Hi, are your still experiencing the issue you reported?

    This thread will be marked as resolved in 24 hours if there is no response.

  4. Archetyped
    Member
    Plugin Author

    Posted 7 months ago #

    Closing due to inactivity. If you are still experiencing this issue, please feel free to update this post and it will be reopened.

    Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.