Pinterest "Pin It" Button
[resolved] JS file (2 posts)

  1. devoninternational
    Posted 2 years ago #

    Is there a way to remove the js file and only include in the //assets.pinterest.com/js/pinit.js only on the is_single() blog pages?

    Right now I have the button set to only posts but that js file is importing into the footer for every page. Thanks!


  2. Phil Derksen
    Plugin Author

    Posted 2 years ago #

    In the settings > Advanced tab, we have an option to disable pinit.js entirely.

    Then in your theme files you could enqueue //assets.pinterest.com/js/pinit.js only when is_single() is true.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest "Pin It" Button
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.