I want to add a custom class to my featured images, so that I can exclude them from lazyloading. I found some solutions through Google but they couldn’t solve my issue. I have added my website URL in private info area for better understanding.
I have installed the code snippets plugin and added+activated the code just now. But still can’t see the first-featured-image class in the source code for the featured image.
You’re right, Ying. I added the class on dynamic image block. But now the class the added on the picture tag (the parent to img tag), not the actual img tag.