Do Not Lazy-Load the First Images
Tells WordPress to skip lazy loading for the first three images on a page, which usually improves Largest Contentful Paint.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Tells WordPress to skip lazy loading for the first three images on a page, which usually improves Largest Contentful Paint.
Marks the background image of the first Cover block on a page with fetchpriority="high" and turns off lazy loading for it, which speeds up hero sections (better LCP).
Adds a "Preload hero image" field to the post and page editor; when filled in with an image URL, that image is preloaded with high priority on that page, improving Largest Contentful Paint for pages whose main image is not the featured image.