Pinterest Button for WordPress blogPinterest is the latest darling of social media users. It is an online pin up board that allows users to share pictures (primarily) on their own boards. You can pin pictures from the websites you are surfing, and it will appear on your board with the source URL credited. Each boards are categorized according to their themes e.g. Food, Bags, Laughter, Vintage Cars, the list goes on.

Users can also re-pin pictures that they like on Pinterest. If you have been using tumblr, you will be familiar with this concept.

If you have yet to hear about Pinterest and want to know why people are crazy about it, check it out here. It is so hot that it is regulating the number of users joining, request for an invite and you should be hearing from them between 2-5 days.

Here’s the code to add to your WordPress theme. Just paste the codes to where you want the Pinterest button to appear. Popular places include below the post title or above the commenting section.

Code for the Pin-In button:

<!– Include ONCE for ALL buttons in the page –>
<script type=”text/javascript”>
(function() {
window.PinIt = window.PinIt || { loaded:false };
if (window.PinIt.loaded) return;
window.PinIt.loaded = true;
function async_load(){
var s = document.createElement(“script”);
s.type = “text/javascript”;
s.async = true;
if (window.location.protocol == “https:”)
s.src = “https://assets.pinterest.com/js/pinit.js”;
else
s.src = “http://assets.pinterest.com/js/pinit.js”;
var x = document.getElementsByTagName(“script”)[0];
x.parentNode.insertBefore(s, x);
}
if (window.attachEvent)
window.attachEvent(“onload”, async_load);
else
window.addEventListener(“load”, async_load, false);
})();
</script>

<!– Customize and include for EACH button in the page –>
<a href=”http://pinterest.com/pin/create/button/” class=”pin-it-button” count-layout=”horizontal”>Pin It</a>

 

GD Star Rating
loading...
How to Add Pinterest Button on WordPress Blog, 9.0 out of 10 based on 1 rating
If you enjoyed this post, please subscribe to my RSS feed or receive blog posts via email with the opt-in box on the sidebar :) You can also follow me on Twitter here.

About Lincoln Lim

Lincoln is a fan of Apple products, loves red wine and traveling. He blogs on internet marketing, social media, wordpress tips & guides, and using technology to maximize efficiency.

Tagged with:  
Share →

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>