How to edit Pinterest sharing code?
-
I’m adding a Pinterest widget to allow “Pin It” buttons to show up when hovering over images. See: https://developers.pinterest.com/on_hover_pin_it_buttons/ and https://business.pinterest.com/widget-builder/#do_pin_it_button.
The instructions tell me not to call pinit.js more than once. Thus, I cannot paste the code in my header/footer without the script calling pinit.js twice given that I have the sharing buttons enabled on Jetpack (which I assume already calls pinit.js).
Question: Where in the Jetpack plugin can I edit so that I can add the image hover pin feature? If that’s not possible (or just not very smart), how can I modify the child theme functions.php to add the proper Pinterest attribute?
- The topic ‘How to edit Pinterest sharing code?’ is closed to new replies.