Home › Forums › General Issues › WordPress native Lazy Loading with ACF image field › Reply To: WordPress native Lazy Loading with ACF image field
Thanks a lot !
Do you know if I need to activate WordPress Lazyloading with a snippet to add to the functions.php of my custom theme ?
Or WordPress does it natively ?
I found this source that explain there is a function to add but i’m sceptic :
https://seobookpro.com/how-to-enable-the-default-wordpress-lazyload-for-you-images-and-iframes-in-5-steps-no-plugin/
Suggesting to add it to functions.php
// Enable WordPress Default Lazy Load Functions for Images, Videos, Iframes
add_theme_support( 'lazy-load' );
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.