Lego2012
12/13/2016 - 11:37 AM

How To Add Custom Pinterest Button

How To Add Custom Pinterest Button

<!-- Using the following snippet will let you add custom pinterest button in your WordPress website. -->

<!-- Add to your header above the body tag -->

<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. -->

<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>