Divi WP Rocket Slider Fix for Lazy Load Images

by | Feb 18, 2019 | Divi Resources | 0 comments

The WP Rocket Lazy Load Images fix for Divi Sliders

Like many of you who use WP Rocket out there to improve your performances of your sites you probably got stuck with this one simple glitch. WP Rocket and Lazy load images do not work well together with Divi and Divi sliders. They had a fix that was outdated but with the more recent update of DIVI I have the new fix. 

On Line 612 of Slideritem.php fix this one code to include data-no-lazy “1”.

612:  ? sprintf( ‘<div class=”et_pb_slide_image”><img src=”%1$s” alt=”%2$s” data-no-lazy=”1″ /></div>’, 

The Old Sourced Article: https://docs.wp-rocket.me/article/657-divi-theme it is outdated but I hope they update it here too for more Divi Fans too!

 

Submit a Post

Submit an Article Today as a Guest Author. We review all articles and if you submit a post about branding, marketing, advertising, or futurism you are likely to get approval.

Submit A Post 

Need a new brand name or logo? Let ElephantMark Review Your Brand Strategy Today

 

Let us provide you with a brand audit, or a brand identity update today! We’re eager to assist you with all of your brand marketing communications!

Let’s Get Started

 
Sign-up with Rakuten to Save More & Earn More Back! It’s helped us earn over $100 a year, and it’s a no-brainer to add on to finding and discovering the latest promo codes.