Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Sorry you are confused.

    This plugin includes literally only one line of code:

    add_filter('wp_lazy_loading_enabled', '__return_false');

    That hook is provided by WordPress core and is documented here. As clearly stated, the code does only one thing:

    Filters whether to add the loading attribute

    The loading attribute is the only thing that WordPress adds to images for lazy loading. And when this plugin (i.e., that line of code above) is active, the loading attribute is disabled (not added). This can be verified on default WordPress installation.

    So when you say this:

    class no-display is still on all images

    ..it is incorrect. Because WordPress does not add no-display class to any images. If you are seeing that class, it is not added by WordPress Lazy Load feature. There is something else that is adding it. So the plugin is not at fault here.

    Further, the plugin (i.e., that line of code above) is well-tested and works on all default WordPress sites. If it is not working on any particular site, it means that there is something interfering with normal functionality, like some other plugin or the theme. In such case, the best recommendation would be to some basic troubleshooting and/or post for help in the WordPress support forum.

    I hope you will reconsider your rating of this plugin, as the issue you describe clearly is not with the plugin, but some other issue with your site.

    Let me know if any questions about this, glad to help anytime.

    • This reply was modified 3 years, 9 months ago by Jeff Starr. Reason: adds info
Viewing 1 replies (of 1 total)
  • The topic ‘Not working on 5.6.’ is closed to new replies.