Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to include data-no-lazy in lazyload

$
0
0

Replies: 0

Hi,

I am utilizing lazyload on the site. There are a number of elements on the site that have the data-no-lazy attrib, which Litespeed honors and does not lazyload those images.

However, I would like to override that behavior (at least for testing purposes.) Is there a way that I can override the “data-no-lazy” behavior of Litespeed and still load the images lazyload?

There is the litespeed_media_lazy_img_excludes API method but I couldn’t find documentation on that and don’t know if it can actually override the default data-no-lazy behavior.

Thanks,
-Norm


Viewing all articles
Browse latest Browse all 59525

Trending Articles