• Is it possible to have a lazy load only on single posts? Maybe for posts that have a great number of pics. Or maybe this has no sense and I can set a lazyload everywhere. can I have it by coding or only by plug-in?

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

Viewing 1 replies (of 1 total)
  • Did you know, with the release of WordPress 5.5, lazy loading is now a part of the core software.

    WordPress now implements lazy loading by defaul. It automatically adds the loading=”lazy”?attribute to images that have width and height attributes.

    But you can still use a plugin or code it manually.

    Using a plugin:

    Using a plugin ensures better support across most browsers, and it also enables you to use lazy loading for other types of elements. Some may allow you to enable lazy loading globally and then add custom rules for specific pages or post types. Most plugins do not have a built-in option to restrict lazy loading specifically to single posts. I agree that this does not make sense and that you can opt-in to add lazyload everywhere.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.