How to disable pinning of post grid images?

Ticket for: Combo Blocks
0
How to disable pinning of post grid images? 1
Anonymous
Nov 10, 2020 10:32 PM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

I have the Tasty Pins plug-in for images on my site.  However, the pinning capability is also displayed on my post-grid images on my homepage, which I do not want.  Is there a way I can disable these images from having a pin button?  Below is what Tasty Pins says but I cannot find a way to edit the image attributes in Post Grid.  Any help would be very appreciated.  Thank you!

"Any images that have pinning disabled via the image settings or that have the data-pin-nopin="true" attribute will not show the Pinterest hover button."

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
How to disable pinning of post grid images? 2
PickPlugins
Nov 11, 2020
Flag(0)

Welcome to our forum.
you can do this via adding custom js/jQuery code,
jQuery('.post-grid img').attr('data-pin-nopin', true);

i just logged-in your site and updated the code.
https://imgur.com/bu5nXyE
Regards

Sign in to Reply
Replying as Submit