the_post_thumbnail

  • Disable Lazy Loading Images Using the_post_thumbnail() in WordPress

    Disable Lazy Loading Images Using the_post_thumbnail() in WordPress

    The introduction of lazy-loading of images as of WordPress 5.5 improves site performance by delaying them until the user scrolls into view making our pages feel faster by only loading images as we need to see them. The Problem However, I needed a way to disable lazy loading for specific features like this image carousel…