<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; disable lazy load in wordpress</title>
	<atom:link href="http://www.wpwife.com/category/disable-lazy-load-in-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Properly Disable Lazy Load in WordPress (Step by Step)</title>
		<link>http://www.wpwife.com/wordpress-plugins/how-to-properly-disable-lazy-load-in-wordpress-step-by-step</link>
		<comments>http://www.wpwife.com/wordpress-plugins/how-to-properly-disable-lazy-load-in-wordpress-step-by-step#comments</comments>
		<pubDate>Thu, 16 Feb 2023 10:09:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[disable lazy load in wordpress]]></category>
		<category><![CDATA[lazy load in wordpress]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[wordpress tutorial]]></category>
		<category><![CDATA[wpcode]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=163609</guid>
		<description><![CDATA[
<p>Do you want to disable lazy loading in WordPress? By default, WordPress comes with a lazy load feature, which delays downloads for images and other media to improve page load speed. However, for some websites, it may affect user experience by not displaying images and&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/">How to Properly Disable Lazy Load in WordPress (Step by Step)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to disable lazy loading in WordPress?</p>



<p>By default, WordPress comes with a lazy load feature, which delays downloads for images and other media to improve page load speed. </p>



<p>However, for some websites, it may affect user experience by not displaying images and media right away. </p>



<p>In this article, we&#8217;ll show you how to easily disable lazy load in WordPress both using a code method as well as a plugin method.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-properly-disable-lazy-load-in-wordpress-og.png" alt="How to properly disable lazy load in WordPress" class="wp-image-163656" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-properly-disable-lazy-load-in-wordpress-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/how-to-properly-disable-lazy-load-in-wordpress-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>What is Lazy Loading?</h4>



<p>WordPress first introduced lazy loading images in <a href="https://www.wpbeginner.com/news/whats-new-in-wordpress-5-5-features-and-screenshots/" title="What’s New in WordPress 5.5 (Features and Screenshots)">WordPress 5.5</a>. Later it extended the lazy load feature to iframes embeds (e.g. YouTube videos, Spotify, and other embeds).  </p>



<p>This practice helps improve your <a href="https://www.wpbeginner.com/wordpress-performance-speed/" title="24 Useful Tricks To Speed Up WordPress &amp; Boost Performance">website&#8217;s speed and performance</a> by quickly loading content and the visible area first. </p>



<p>A faster website is not just good for users, but it is also good for SEO. Search engines like Google consider speed as an important ranking factor. </p>



<p>Apart from images and embeds, you can also easily lazy load <a href="https://www.wpbeginner.com/plugins/how-to-easily-lazy-load-comments-in-wordpress/" title="How to Easily Lazy Load Comments in WordPress">comments</a> and <a href="https://www.wpbeginner.com/plugins/how-to-lazy-load-gravatars-in-wordpress-comments/" title="How to Lazy Load Gravatars in WordPress Comments">Gravatars</a> to further improve page load speed.</p>



<p>Lazy loading can be seen in action by right-clicking on an image and selecting the Inspect tool in your browser. </p>



<figure class="wp-block-image size-full"><img width="680" height="293" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazyloading-example.png" alt="Lazy loading images in WordPress" class="wp-image-166375" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazyloading-example.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/lazyloading-example-300x129.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will split your browser screen and show you the HTML source code. From here, you&#8217;ll be able to see the &#8220;loading=lazy&#8221; attribute added to the image. </p>



<p>Now normally, we don&#8217;t recommend disabling lazy load due to its overall benefits for your <a href="https://www.wpbeginner.com/showcase/x-type-of-websites-you-can-create-with-wordpress/" title="23 Popular Types of Websites You Can Make in WordPress (+Examples)">WordPress website</a>. Turning it off can result in slower website speed, lower conversion rates, and lower SEO rankings.</p>



<p>However, sometimes lazy loading can affect the user experience for some websites. </p>



<p>For instance, if you run a photography website where images are the most significant aspect of your content, then lazy loading them may ruin the user experience for your customers. </p>



<p>In other cases, you might be using a different lazy loading solution and just want to turn off the default WordPress lazy load.</p>



<p>That being said, let&#8217;s see how you can easily disable lazy load in WordPress.</p>



<div class="wp-block-aioseo-table-of-contents"><ul><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/#aioseo-method-1-disable-lazy-load-in-wordpress-using-wpcode-recommended">Method 1. Disable Lazy Load in WordPress Using WPCode (Recommended)</a></li><li><a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/#aioseo-method-2">Method 2. Disable Lazy Load in WordPress Using a Plugin</a></li></ul></div>



<h4 id="aioseo-method-1-disable-lazy-load-in-wordpress-using-wpcode-recommended">Method 1. Disable Lazy Load in WordPress Using WPCode (Recommended)</h4>



<p>You can simply disable the lazy load feature in WordPress by adding a custom code snippet to your theme&#8217;s <a href="https://www.wpbeginner.com/glossary/functions-php/" title="functions.php">functions.php</a> file. </p>



<p>However, keep in mind that the smallest error while adding the code can result in breaking your website and making it inaccessible to your users.</p>



<p>This is why we recommend using the <a href="https://wpcode.com/"  title="WPCode - WordPress Code Snippet Plugin" rel="noopener">WPCode</a> plugin to add <a href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" title="How to Easily Add Custom Code in WordPress (Without Breaking Your Site)">custom code </a>to your site.</p>



<p>It is the best custom code snippets plugin that makes it super easy for beginners to safely add custom code to their website.  </p>



<p>First, you need to install and activate the <a href="https://wordpress.org/plugins/insert-headers-and-footers"  title="WPCode Free Code Snippet Plugin for WordPress" rel="noopener">WPCode</a> plugin. See our guide on <a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners">how to install a WordPress plugin</a> for more instructions.</p>



<p>Upon activation, go to the <strong>Code Snippets » + Add Snippet</strong> page. </p>



<figure class="wp-block-image size-full"><img width="680" height="335" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/addnewsnippet.png" alt="Add new snippet" class="wp-image-166377" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/addnewsnippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/addnewsnippet-300x148.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>This will take you to the &#8216;Add Snippets&#8217; screen where you&#8217;ll see a bunch of ready-to-use code snippets that you can add to your website. </p>



<p>From here, you need to click the &#8216;Use Snippet&#8217; button under the <strong>&#8216;Add Your Custom Code (New Snippet)&#8217; </strong>option.</p>



<p>Once you&#8217;re on the &#8216;Create Custom Snippet&#8217; page, you can start by typing a name for your code snippet. </p>



<p>It can be anything that will help you identify the code snippet and what it does. </p>



<figure class="wp-block-image size-full"><img width="680" height="317" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/snippet-title-type.png" alt="Snippet title and type" class="wp-image-166378" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/snippet-title-type.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/snippet-title-type-300x140.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, select &#8216;PHP Snippet&#8217; from the dropdown menu next to the &#8216;Code Type&#8217; option.</p>



<p>Now, copy and paste the following PHP code in the &#8216;Code Preview&#8217; box.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
</pre></div>


<p>This is how the code will look after it is pasted in the &#8216;Code Preview&#8217; box.</p>



<figure class="wp-block-image size-full"><img width="680" height="241" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/addcode.png" alt="Add code snippet" class="wp-image-166379" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/addcode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/addcode-300x106.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After adding the code, scroll down to the &#8216;Insertion&#8217; section.</p>



<p>Here, simply choose &#8216;Auto Insert&#8217; as the insertion mode. This will ensure that your custom code is automatically executed everywhere on your website once you activate the snippet.</p>



<figure class="wp-block-image size-full"><img width="680" height="205" src="https://www.wpbeginner.com/wp-content/uploads/2021/07/choose-an-insertion-method.png" alt="Choose an insertion method" class="wp-image-163439" srcset="https://www.wpbeginner.com/wp-content/uploads/2021/07/choose-an-insertion-method.png 680w, https://www.wpbeginner.com/wp-content/uploads/2021/07/choose-an-insertion-method-300x90.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you need to scroll to the top of the page and simply toggle the &#8216;Inactive&#8217; switch to &#8216;Active&#8217;.</p>



<p>After that, don&#8217;t forget to click the &#8216;Save Snippet&#8217; button to save and execute your custom snippet.</p>



<figure class="wp-block-image size-full"><img width="680" height="235" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/save-disable-lazy-load-snippet.png" alt="Save your code snippet" class="wp-image-163667" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/save-disable-lazy-load-snippet.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/save-disable-lazy-load-snippet-300x104.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Once activated, this custom code snippet will disable the lazy loading feature on your WordPress website. </p>



<p>You can test by right-clicking on an image and selecting Inspect from the browser menu. </p>



<p>In the HTML code for the image, the loading=lazy attribute will now disappear. </p>



<figure class="wp-block-image size-full"><img width="680" height="226" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazy-loading-disabled.png" alt="Lazy loading disabled" class="wp-image-166376" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/lazy-loading-disabled.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/lazy-loading-disabled-300x100.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4 id="aioseo-method-2">Method 2. Disable Lazy Load in WordPress Using a Plugin</h4>



<p>If you don&#8217;t want to add code to your site, then you can use the <a href="https://wordpress.org/plugins/disable-lazy-loading/"  rel="noopener nofollow" title="Disable Lazy Load">Disable Lazy Load </a>plugin. </p>



<p>The only thing you need to do is install and activate the <a href="https://wordpress.org/plugins/disable-lazy-loading/"  rel="noopener nofollow" title="Disable Lazy Load">Disable Lazy Load </a>plugin. For more instructions, check our guide on<a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners"> how to install a WordPress plugin</a>.</p>



<figure class="wp-block-image size-full"><img width="680" height="194" src="https://www.wpbeginner.com/wp-content/uploads/2023/01/activate-disable-lazy-load-plugin.png" alt="Activate plugin to disable lazy load" class="wp-image-163668" srcset="https://www.wpbeginner.com/wp-content/uploads/2023/01/activate-disable-lazy-load-plugin.png 680w, https://www.wpbeginner.com/wp-content/uploads/2023/01/activate-disable-lazy-load-plugin-300x86.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>The plugin works out of the box and does not require any configuration. Once activated, it will automatically disable the lazy load feature on your site.</p>



<p>We hope this article helped you learn how to properly disable lazy load in WordPress. You may also want to see our guide on <a href="https://www.wpbeginner.com/beginners-guide/speed-wordpress-save-images-optimized-web/" title="How to Optimize Images for Web Performance without Losing Quality">how to optimize WordPress images</a> for better page load times, or see our pick of the <a href="https://www.wpbeginner.com/plugins/best-wordpress-image-compression-plugins-compared/" title="7 Best WordPress Image Compression Plugins Compared (2023)">best WordPress image compression plugins</a>. </p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-properly-disable-lazy-load-in-wordpress/">How to Properly Disable Lazy Load in WordPress (Step by Step)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/wordpress-plugins/how-to-properly-disable-lazy-load-in-wordpress-step-by-step/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
