How to manually add to theme?
-
How can I add lazy loading to an image in a theme file? I’m trying:
<img src="/wp-content/uploads/image.jpg" data-src="/wp-content/uploads/image.jpg" alt="Image" class="lazy-hidden" data-lazy-type="image" />
But it doesn’t seem to trigger it. What did I miss?
The page I need help with: [log in to see the link]
- The topic ‘How to manually add to theme?’ is closed to new replies.