1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 PIN Button

Discussion in 'XenForo Questions and Support' started by Ken Black, Dec 22, 2013.

  1. Ken Black

    Ken Black Member

    Hi, I have an add on to add widgets in my right sidebar. At the Pinterest site it says to add a pin badge do this :

    Load the JavaScript
    Copy and paste this <SCRIPT> tag into the bottom of your page, right above the closing </BODY> tag:

    <script type="text/javascript" async src="//assets.pinterest.com/js/pinit.js"></script>

    Add the link

    Copy and paste this link into your page where you want your button or widget to appear:

    <a href="//www.pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fkentbrew%2F6851755809%2F&media=http%3A%2F%2Ffarm8.staticflickr.com%2F7027%2F6851755809_df5b2051c9_z.jpg&description=Next%20stop%3A%20Pinterest" data-pin-do="buttonPin" data-pin-config="above"><img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png" /></a>


    Where in xenforo do we add above the closing BODY tag for the javascript ???

    Thank you.
     
  2. EQnoble

    EQnoble Well-Known Member

    You can add the script at the end of the page_container_js_head template
     
  3. Ken Black

    Ken Black Member

    Okay - I'll try that thank you.
     

Share This Page