Just to provide some context, I am relatively new to all of this. Please bear with me.
I have a unique CSS class that is specifically assigned to thumbnail images on my Wordpress website. Currently, I am using a script that adds a "Pin it" hover link to all images across the site. However, I would like to exempt this particular class (attachment-custom_thumb) from this script by including a "nopin=nopin" attribute. I understand that CSS alone cannot achieve this, so I am curious if there is a simple way to add that attribute to all photos within that specific class (as it seems like the most efficient and automated method of identifying the images I wish to exclude).
Thank you!