How to add pinterest pin it to website
Clean Pin it link
<a href="http://pinterest.com/pin/create/button/" count-layout="none"> <img src="//assets.pinterest.com/images/PinExt.png" alt="Pin it" / > </a> <script type="text/javascript" src="https://assets.pinterest.com/js/pinit.js"> </script>
For static website the link should be as follows
<a href="http://pinterest.com/pin/create/button/" count-layout="none"> <img src="//assets.pinterest.com/images/PinExt.png" alt="Pin it" / > </a> <script type="text/javascript" src="https://assets.pinterest.com/js/pinit.js"> </script>
For WordPress
<a href="http://pinterest.com/pin/create/button/?url= <?php the_permalink(); ?>&media= <?php if(function_exists('the_post_thumbnail')) echo wp_get_attachment_url(get_post_thumbnail_id()); ?>&description= <?php echo get_the_title(); ?>" count-layout="horizontal">Pin It</a> <script type="text/javascript" src="https://assets.pinterest.com/js/pinit.js"> </script>