Site logo

Archived topic

Pinterest saves it button on hover

1 reply · Started by Sundry on February 14, 2022

Viewing posts 1–2 of 2

Please help me enable Pinterest to save it button on picture hover. I use to paste into:
<script async defer data-pin-hover=”true” data-pin-tall=”true” src=”//assets.pinterest.com/js/pinit.js”></script> code in content-single.php above </article>.

How to do it correctly? I want to show only on posts.

Hi there,

This is a third-party customization beyond the scope of the theme so we may be unable to help you on this one.

But to help out:

If this is something from pinterest, this should come with a short instruction usage. You can refer to that.

As for having the script only run for single post pages:

If the script isn't working, perhaps its because it was enqueued incorrectly or it also comes w/ an init script for it to run.

Since this isn't something under our scope, we suggest asking the source if they have some sort of documentation for where should the pinit.js be added (footer or header) and what are the init commands for the script to run.

This archived topic is closed to new replies.