<div class="pinterest"> <a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php echo wp_get_attachment_url(); ?>&description=<?php the_title(); ?> on <?php bloginfo('url'); ?>" class="pin-it-button" count-layout="vertical"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It"></a> </div>
Pinterest is a vision board-styled social photo sharing website and app where users can create and manage theme-based image collections. Users of Pinterest curate themed image boards, populating them with media found online using the “Pin It” button, or uploaded from their computer. Each such item of media is known as a “pin,” and can be a picture, a video, a discussion or a monetary gift. Pins can be grouped into “boards,” which are sets of pins created on a given topic.
Pin it Button mimics the behavior of the official Pin It bookmarklet and you have the option of placing it above or below your post content. Just go to Settings > Pin It Button in your WordPress admin after installing.
Add one of the following code to the bottom of the footer.php, put that before