Title: Plugin JS not loading, Lightbox not working
Last modified: August 31, 2016

---

# Plugin JS not loading, Lightbox not working

 *  Resolved [mikehealy](https://wordpress.org/support/users/mikehealy/)
 * (@mikehealy)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/plugin-js-not-loading-lightbox-not-working/)
 * Hello,
    I’m using plugin version 2.5.2 on a new site. I’ve activated it and enabled
   for all pages types.
 * I’m developing a child theme for TwentySixteen.
 * The plugin JS does not appear to be loading. Links to images are not lightbox
   enabled (goes directly to attachment JPG).
 * Here is a screenshot of the Sources view from Chrome Dev Tools. The plugin CSS
   is there, but no JS.
    [https://s3-ap-southeast-2.amazonaws.com/mikehealy.au/misc/lightbox.png](https://s3-ap-southeast-2.amazonaws.com/mikehealy.au/misc/lightbox.png)
 * Any ideas?
 * [https://wordpress.org/plugins/simple-lightbox/](https://wordpress.org/plugins/simple-lightbox/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [mikehealy](https://wordpress.org/support/users/mikehealy/)
 * (@mikehealy)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/plugin-js-not-loading-lightbox-not-working/#post-7043230)
 * Ah it seems that using a Custom Post Type is part of the problem. Simple Lightbox
   works on a Post page, but not my CPT archive page (archive-mytype.php)
 * I have enabled the “Enable on Archive Pages (tags, categories, etc.)” option.
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-js-not-loading-lightbox-not-working/#post-7043438)
 * Hi, custom post types are fully supported by SLB. However, your custom theme 
   template may not meet SLB’s requirements.
 * See the theme requirements on this page for more details: [SLB Requirements](https://github.com/archetyped/simple-lightbox/wiki/Requirements)
 * If you are still experiencing this issue after confirming that your theme template
   meets SLB’s requirements, please post the template code and I would be glad to
   take another look.
 *  Thread Starter [mikehealy](https://wordpress.org/support/users/mikehealy/)
 * (@mikehealy)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-js-not-loading-lightbox-not-working/#post-7043446)
 * Thanks,
    I think the archive page markup did need to be altered.
 *  Plugin Author [Archetyped](https://wordpress.org/support/users/archetyped/)
 * (@archetyped)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-js-not-loading-lightbox-not-working/#post-7043495)
 * Awesome, glad to help 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin JS not loading, Lightbox not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-lightbox.svg)
 * [Simple Lightbox](https://wordpress.org/plugins/simple-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-lightbox/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Archetyped](https://wordpress.org/support/users/archetyped/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-js-not-loading-lightbox-not-working/#post-7043495)
 * Status: resolved