Disable lazy loading of WordPress default images

MooseLucifer

Active member
Joined
May 20, 2016
Messages
83
Points
18
WordPress 5.5 is officially released to users with many notable improvements. In particular, the outstanding feature is lazy loading images to help your website load faster. Despite Google's native lazy load support, according to our research, the default WordPress image lazy loading feature is pretty much worse than plugins with the same functionality played by third parties. Development, such as LiteSpeed Cache. Therefore, in the immediate future, you should turn it off to avoid conflicts that affect the display of images and the performance of the website.

There are two different ways to do this. However, you should note that it is only done after you have updated your website to WordPress version 5.5 or later.
If you use Paradise theme (version 5.4.1 and above) has a built-in feature that disables lazy loading in Appearance => Customization => Optimize speed. You need to switch this feature to Yes and then save it.

Disable lazy loading with code
Insert the following code in the functions.php file of the theme or child theme you are using and save. You can also use the Code Snippets plugin to insert if you do not want to interfere with the theme file directly.

Code:
add_filter('wp_lazy_loading_enabled', '__return_false');
Deactivated by plugin
All you need to do is install and activate a plugin called Disable Lazy Loading. This plugin also only includes 1 line of code, so you don't have to worry about it slowing down the web.
Disable-lazy-loading-of-WordPress.png

Another plugin that you can also install is Disable WP Lazy Load. Just activate is done; no additional configuration is required.

It's simple, right?. Good luck!
 
Recommended Threads
Replies
6
Views
1,726
Replies
0
Views
551
Replies
6
Views
1,925
Replies
4
Views
570
fwh

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top