is there anyway configure pinterest save button appear in images specific class/id or multiple classes , ids?
can done using default embed code or should use api?
<script async defer data-pin-hover="true" data-pin-tall="true" data-pin-lang="en" data-pin-save="true" src="//assets.pinterest.com/js/pinit.js"></script>
in other words, code appears on every single image of website, appear on images have specific class or id.
you need add data-pin-nopin
images dont want pin
<script async defer data-pin-hover="true" data-pin-tall="true" data-pin-lang="en" data-pin-save="true" src="//assets.pinterest.com/js/pinit.js"></script> <img src="http://placehold.it/350x150"> <img data-pin-nopin src="http://placehold.it/350x150">
from docs
data-pin-nopin
the image can't saved, , hover buttons won't appear on image. attribute applied individual images on page.
Comments
Post a Comment