Performancing Metrics

Posts Tagged ‘pin it’

How to Add the Pinterest Pin It Button To Your WordPress Blog

Pinterest is all the rage these days. People just love pinning up pictures and graphics like there is no tomorrow. If you have a WordPress blog, then you can add the Pin It button to your blog pretty quickly. Here is what you need to do:

Copy and paste the following code right before the closing </body> tag in your theme file footer.php:

<script type="text/javascript">
(function() {
window.PinMe = window.PinIt || { loaded:false };
if (window.PinMe.loaded) return;
window.PinMe.loaded = true;
function async_load(){
var s = document.createElement("script");
s.type = "text/javascript";
s.async = true;
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>

Pin It Button

Once you have done that, make sure you update the footer.php file, or reupload it if you are editing the footer.php file any other way. Read More

Categories: Blogger Tools, Blogging: How To, General
Tags: , , , ,