• Skip to primary navigation
  • Skip to main content
  • Skip to footer

WPJohnny

WordPress Performance Guides and Reviews

  • Start a WordPress site
  • Hosting
  • Themes
  • Plugins
  • Blogging
  • Marketing

WP Featherlight Disabled (WPJ plugin)

WordPress plugins Jun 25, 2020 by Johnny 11 Comments

The most lightweight jQuery lightbox plugin for WordPress images and galleries.

Plugin Description:

This minimal WordPress lightbox plugin adds high performance, responsive jQuery lightbox functionality to your images. When standard WordPress images/galleries are clicked, the background fades out into black as images display in lightbox popup. Galleries can be navigated with on-screen arrows, touchscreen swipes, or pressing arrows keys.

To load WordPress images and galleries lightbox:

  • You must select the “Media File” option when choosing where thumbnails should link. You can also select the “Custom Link” option if it links directly to an image file. This should work for any image file, even if it’s hosted on another website.
  • Enable on each post by checking “Enable lightbox” on the WP Featherlight settings.
  • You can also lightbox videos, iframes, and ajax content by adding data attributes to your content. For more details on custom content loading, check out the featherlight documentation.

My plugin is simply a forked version of the original WP Featherlight plugin. Only difference is the original loads the featherlight CSS/JS on every page whereas mine only loads when you manually enable. Big thanks to Yin and Walter for contributing.

Features:

  • Ultra-lightweight – even more lightweight than the original WP Featherlight since the lightbox CSS/JS is not loaded automatically.
  • Manual activation – to enable lightbox functionality, simply click the checkbox in your post settings.
  • Retains WP Featherlight features – has all the same features and filters as the original WP Featherlight plugin (up to version 1.3.3)

Support:

  • The plugin is free for your personal/commercial use, but do buy me a beer if you like it. Enjoy! 🙂
  • I’m not responsible for what you do with it. If you have issues, you can ask for support on the WP.org repo.

Download WP Featherlight Disabled:

  • WordPress.org repo
  • GitHub repo

Share this post:

Share on FacebookShare on TwitterShare on LinkedInShare on WhatsAppShare on EmailShare on SMS

Read all my posts on WordPress plugins

About Johnny

Right on the edge of WordPress development! 10+ years of WordPress design, development, hosting, speed optimization, product advisor, marketing, monetization. I do all that.

More WordPress Guides

Use a REAL Email Hosting Service (not your web server!)

The magic of custom Gutenberg blocks

Favorite motivational quote

Fix “Better Search Replace” plugin “Max Page Size Error

SiteGround vs InMotion – Webhosting Review (UPDATED 2019)

10 TRUTHS about running a webhosting business

Reader Interactions

11 Comments

  1. Regev

    June 25, 2020 at 8:22 am

    Once upon a time in a land far away
    There was a man named Johnny who was sparring all day
    But to speed up our WordPress sites was his true life mission
    So he started forking and optimizing plugins into the most perfect edition
    Johnny Boy thank you from the bottom of our hearts
    May your TTFB never be as high as your smarts

    thanks for another awesome plugin
    – Your readers

    Reply
    • Johnny

      June 26, 2020 at 1:03 am

      “May your TTFB never be as high as your smarts”….that’s still a lot of room! 🤣🤣

      Reply
  2. Tobias

    June 28, 2020 at 10:20 am

    Hi Johnny,

    I love your blog. Thumbs up! I likes your articles about oxygen and SEO :)…

    Is there an option to enable the lightbox automatically for normal post type pages? Such a feature would be awesome to activate the lightbox on all pages or posts or custom post types.

    Kind regards,
    Tobias

    Reply
    • Johnny

      June 28, 2020 at 5:25 pm

      Ha…for that option, don’t even bother with my plugin. Just install the original one which has it enabled globally. Mine was made for the people who like everything off unless manually turned on.

      Reply
      • Tobias

        July 1, 2020 at 12:23 pm

        You are right. I can disable the script for all pages by myself and enable it only for posts. If a customer want posts with lightbox but without explain them to check the box :).

        Reply
  3. olivier Cotasson

    January 27, 2021 at 7:49 pm

    Hello Johnny,

    Though I came with a different approach :
    I use the (original) featherlight plugin for an optional ACF gallery.
    Since it is optional I only load the CSS and JS files required in my template file when images are found. And disabled the plugin altogether so that he does not load on each and every page.

    Thanks for the heads-up regarding this plugin. Since you’re a stickler about performance, I believe this is the best plugin in that regard.

    Reply
    • Johnny

      January 27, 2021 at 8:09 pm

      Heh heh, that’s clever too! I like that your idea is automated. Thanks for sharing your tactics on this.

      Reply
  4. Jonathan

    February 18, 2022 at 5:32 am

    Hi Johnny,

    Tried your forked version with Oxygen and it’s not working. Would you know why?

    Reply
    • Johnny

      February 20, 2022 at 1:19 am

      Do you have a url?

      Reply
      • Jonathan

        February 21, 2022 at 12:58 pm

        No, working on a local environment…

        Reply
  5. Jonathan Camp

    August 2, 2022 at 3:57 am

    How do I enable the filter to show non-compressed AND non-combined JS and CSS files please…?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer

More links

  • Gadget reviews
  • Try my free WPJ plugins
  • Join the WPJ FB Group
  • WPJ YouTube & newsletter
  • Become a WPJ Affiliate

Popular Reviews

  • Best WordPress Hosting
  • Best WordPress Themes
  • Best WordPress Plugins
  • Best WordPress Cache Plugins

Services

  • Speed optimization
  • Speed optimization courses
  • WordPress hosting
  • Hire me or other experts
  • Client login

About Johnny

10+ years of WordPress design, development, hosting, speed optimization, marketing.
Contact me.

newsletter block

Copyright 2023 | WordPress guides by Johnny Nguyen

Click to Copy