newbie32
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Blank page after update to latest versionIt seems it was a theme issue. Please delete thread.
Thanks!
Forum: Fixing WordPress
In reply to: Blank page after updating to latest versionSorry!
Please delete this thread!
The most “heavy” page it is homepage. But deffering audit say it is just 0.6 seconds.
Nope, doesn’t work. It’s still deformed.
EDIT: I have seen your edit. Let me test deeper…
EDIT2: OK, it is working! Please, correct the syntax in the docs/FAQ (https://docs.wp-rocket.me/article/15-disabling-lazy-load-on-specific-images#image-class) the presence of the quotation marks in the function.
Initially, I wanted to avoid this warning (Defer offscreen images) from PageSpeed with Lazy Load on carousel. I am sorry if I am asking another question in this thread, but how could I achieve that? Getting rid of the annoying warning…
EDIT3: Also, which class tell me if it is lazyloaded? “lazyloaded”, “rocket-lazyload”? or which? As I see, the theme put “skip-lazy” class almost everywhere…
Here you go:
https://revealit.me/7303c9a713
Scroll to bottom, blue background.
- This reply was modified 7 years, 3 months ago by newbie32.
How do I provide it anonymously? I mean, it’s a private server, sorry.
I am a little bit stupid at the moment because I just understand now what you asked me, sorry.
Here:
<div class="cell is-selected" aria-selected="true" style="position: absolute; left: 20%; height: 444px;"> <div class="inner-wrap-outer"> <div class="inner-wrap"> <div class="img-with-aniamtion-wrap center" data-max-width="100%" data-border-radius="none"> <div class="inner"><img data-shadow="none" data-shadow-direction="middle" class="img-with-animation skip-lazy img-test lazyloaded animated-in" data-delay="0" height="209" width="475" data-animation="fade-in" src="https://*.png" data-lazy-src="https://*.png" data-lazy-srcset="*.png 475w, https://*.png 300w" data-lazy-sizes="100vw" alt="" sizes="100vw" srcset="https://*.png 475w, https://*.png 300w" data-was-processed="true" style="opacity: 1;"> <noscript><img data-shadow="none" data-shadow-direction="middle" class="img-with-animation skip-lazy img-test" data-delay="0" height="209" width="475" data-animation="fade-in" src="https://*.png" srcset="https://*.png 475w, https://*.png 300w" sizes="100vw" alt="" /></noscript> </div> </div> </div> </div> </div>'function rocket_lazyload_exclude_class( $attributes ) { $attributes[] = 'class="nectar-flickity not-initialized nectar-carousel instance-0 flickity-enabled is-draggable"'; return $attributes; } add_filter( 'rocket_lazyload_excluded_attributes', 'rocket_lazyload_exclude_class' );EDIT: Also, how do I provide you a link? Maybe this will help you…