Refining WordPress core’s lazy-loading implementation
Since the image lazy-loading feature was originally added to WordPress core in 5.5, by default every post content image as well as every image rendering using the wp_get_attachment_image() function (which includes featured images) is lazy-loaded. This optimization follows the typical implementation of the feature in other projects, without consideration for whether an image appears above … Continue reading Refining WordPress core’s lazy-loading implementation
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed