How To Add Pinterest Pin It Button To Blogger

Pinterest,though a news site with lots of traffic thats why most bloggers around the world use it to get traffic to their blog.Now you can now add the pinterest pin it button to your blogger's blog for free and its easy.

How To Add Pin terest Pin It Button To Blogger


1. Go to Blogger --> Template
2. Backup your Template before making any changes to your blog
3. Click the Edit HTML button
3. Click the box "Expand Widget Templates"
4. Search for this code: <data:post.body/>
5. Paste the following code below

<a class='pin-it-button' count-layout='horizontal' expr:href='&quot;http://pinterest.com/pin/create/button/?url=&quot; + data:post.url'>Pin It now!</a>
<a href='javascript:void(run_pinmarklet())' style='margin-left:-93px; width:43px; height:20px; display:inline-block;'/>
<script src='http://assets.pinterest.com/js/pinit.js' type='text/javascript'/>
<script type='text/javascript'>
function run_pinmarklet() {
var e=document.createElement(&#39;script&#39;);
e.setAttribute(&#39;type&#39;,&#39;text/javascript&#39;);
e.setAttribute(&#39;charset&#39;,&#39;UTF-8&#39;);
e.setAttribute(&#39;src&#39;,&#39;http://assets.pinterest.com/js/pinmarklet.js?r=&#39; + Math.random()*99999999);
document.body.appendChild(e);
}
</script>


No comments:

Post a Comment