ACF Gallery Field as a Responsive Grid
Adds an [acf_gallery name="gallery"] shortcode that shows an ACF gallery field as a lazy-loaded, responsive image grid linking to the full-size files.
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.
Adds an [acf_gallery name="gallery"] shortcode that shows an ACF gallery field as a lazy-loaded, responsive image grid linking to the full-size files.
Turns off the automatic sizes="auto" attribute WordPress adds to lazy-loaded images, which some themes and sliders display incorrectly.
Removes the loading="lazy" attribute WordPress adds to images and iframes. Use it when another plugin handles lazy loading or it conflicts with a slider.
Tells WordPress to skip lazy loading for the first three images on a page, which usually improves Largest Contentful Paint.
Adds an [acf_map name="location"] shortcode that shows a lazy-loaded embedded map and a directions link for the place saved in an ACF Google Map field.
Adds the "no-lazyload" class (and matching skip attributes) to the site logo and the featured image of single posts, so Smush and other lazy-load plugins load them immediately and improve Largest Contentful Paint.
Loads background images only when their section is about to scroll into view, for any element marked with data-wpide-bg="image-url", saving bandwidth on long landing pages.
Disables WP Rocket's image and iframe lazy loading on the pages you list, such as a gallery, slider page or landing page where above-the-fold images must load instantly.