• Resolved keyncdesigner09

    (@keyncdesigner09)


    Please help us to exclude slider from lazy loading. (To avoid Layout Shift on Page Loading)

    URL: https://chairfeatures.com/

    I have tried using the class (wp-post-image) but it is not working. Even excluding the whole page from lazy loading isn’t working. Other images of the page doesn’t lazy load, but the slider images still contain loading=lazy.

    We are using OceanWP Theme and Ocean Post Slider plugin for slider. Shortcode from plugin is added in page theme settings to load the slider under header.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @keyncdesigner09

    I hope you are doing good today.

    Based on your site source it seems the only solution, in this case, will be to exclude a home page from lazyload:
    https://wpmudev.com/docs/wpmu-dev-plugins/smush/#post-pages-urls-classes-and-ids

    Kind Regards,
    Kris

    Thread Starter keyncdesigner09

    (@keyncdesigner09)

    Hi @wpmudevsupport13 ,

    Thanks for the quick response. However even excluding homepage/frontpage from lazy loading didn’t work. All other images on the homepage/frontpage doesn’t load lazily. But, slider images still have loading=”lazy” in code and loading lazily.

    You can check the site again. The homepage/frontpage is excluded from lazyloading.

    Further, the plugin itself doesn’t have any lazyloading feature and for sure the slider is getting lazy loaded by SMUSH.

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @keyncdesigner09 !

    Sorry to hear you’re still experiencing this issue!

    In this case it looks like it’s not actually Smush making the images in the slider to load lazily but it may be a part of the code from the slider plugin, especially since other images don’t have lazy loading anymore.

    I would suggest in this case one more test to see if that’s the case: deactivating Smush and checking if the loading=lazy is still there. If it’s there, I’d consider contacting the plugin’s/theme’s support as they may have a way to deactivate that.

    Kind regards,
    Pawel

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @keyncdesigner09,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Slider Lazy Loading Issue’ is closed to new replies.