Posted By

FlashBuddy on 09/17/12


Tagged

pinterestwordpresssocial


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

zemonte


Add Custom Pinterest Button to WordPress or Any Site


 / Published in: HTML
 

URL: http://flashalexander.com/pinterest-social-button-link/

Edit and add code as indicated to use a custom Pinterest button and link on your WordPress site. Can be adapted for any site of course. No need to signup a pinterest account to add Pinterest action for clients.

  1. Add to your header above the body tag
  2. <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
  3.  
  4. Edit and add to your page where you want your button to appear.
  5. <div class="socialIcon-box"><a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fyourdomain.com&media=<?php bloginfo(template_directory); ?>/images/youricon.png&description=Site%20Name%20and%20Description" class="pin-it-button" count-layout="horizontal"><img src="<?php bloginfo(template_directory); ?>/images/youricon.png" /></a></div>

Report this snippet  

You need to login to post a comment.