• Goodmorning,

    The lazyload plugin by wp Rocket provides this info on how to exclude an image from being lazy loaded:

    Simply add a?data-no-lazy="1"?property in you?img?or?iframe?tag.

    You can also use the filters?rocket_lazyload_excluded_attributes?or?rocket_lazyload_excluded_src?to exclude specific patterns.

    For iframes, the filter is?rocket_lazyload_iframe_excluded_patterns.

    It should be simple, but I don’t know where and how do I add data-no-lazy="1" property to the image?

    Probably something I can add to the functions.php file?

    Hopefully someone can explain a little more for me, because the plugin support is not very active.

    Thanks in advance ??

  • The topic ‘Exclude header logo from lazy load’ is closed to new replies.