Using the following snippet will let you add custom pinterest button in your WordPress website.
Add to your header above the body tag.
1 | <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script> |
Edit and add to your page where you want your button to appear.
1 | <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> |
Snippet Source/Credit: flashalexander.com