Feature Request: Exclude RSS Feed from lazy loading
-
Woodmart Lazy loading breaks the RSS feed images that are consumed by Mailchimp, resulting in the Mailchimp emails containing blown up, blurry images of the base 64 encoded image (which looks to be about 10px x 10px).
To fix, please add the is_feed() check to exclude the RSS images from the lazy loading code.
Had to turn off lazy loading to fix, which is obviously not ideal for the rest of the website speeds.
Hello,
Thank you so much for purchasing our theme and contacting our support center.
Try to add the following PHP code snippet to the child theme functions.php file to do this
if( ! function_exists( 'woodmart_lazy_loading_rss_deinit' ) ) {
function woodmart_lazy_loading_rss_deinit() {
if ( is_feed() ) {
woodmart_lazy_loading_deinit(true);
}
}
add_action( 'wp', 'woodmart_lazy_loading_rss_deinit', 10 );
}
Regards
That worked great, thanks!!!
The topic ‘Feature Request: Exclude RSS Feed from lazy loading’ is closed to new replies.