• 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

Disable WordPress default LAZY LOAD

WordPress plugins Nov 18, 2020 by Johnny 4 Comments

How to disable the native WordPress lazy load function.

Paste the snippet below into your theme functions.php file:

/**
*  Disable WordPress default image lazy load
**/
add_filter( 'wp_lazy_loading_enabled', '__return_false' );

For those wondering why I think most sites should disable image lazy load, read this:

  • Why You Should (almost) NEVER Use Lazy Load

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

Genesis vs Astra – WordPress Theme Review 2019

Hosting Services Breakdown – domain registrar, web hosting, email hosting, DNS

Best Video-Hosting Service for Membership Site (Vimeo, Youtube, Wistia, Amazon S3, etc)

Color Emotion Guide

How to Raise Prices on Customers

301 Redirects to HTTPS (with and without WWW)

Reader Interactions

4 Comments

  1. Regev

    November 19, 2020 at 12:22 pm

    Since when does WP lazy loads images automatically? Why would plugins allow you to Enable it if its already happening by default?

    Reply
    • Johnny

      November 19, 2020 at 3:29 pm

      It’s been recently done. https://make.wordpress.org/core/2020/07/14/lazy-loading-images-in-5-5/

      Reply
      • Regev

        November 19, 2020 at 11:15 pm

        Goddammit!

        Reply
  2. Rico2000

    November 9, 2021 at 1:04 pm

    Hello
    I find your topic on Google, i got problem on https://mobilecheats.edu.pl with lazy.
    I add your code in functions.php but still show problem with lazy.
    Can u tell me more how we can solved that problem?

    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 2022 | WordPress guides by Johnny Nguyen

Click to Copy