For your better understanding, Pinterest is an online pinboard-look site that allows users to share images by “pinning” them on their boards. The shared images are linked to the original source, giving users the chance to visit the source by click on image.Pinterest launched as a closed beta in March 2010.Nine months after launch Pinterest had 10,000 users.See Also - How To Increase Your Google+ Circles
Add Pinterest Pin It Button
- Go to Blogger Dashboard > Design > Edit HTML (New Interface: Template > Edit HTML).
- First Of All Back Up Your Template.
- Check the Expand Widget Templates Checkbox
- Press (Ctrl+F) and Find Below Code In Template HTML
<data:post.body/>
- Normally there are two instances of the tag present in your template. Locate the the first (from top) one.
- Paste the following code immediately below (after) it:
<!-- Pinterest Button Start --><b:if cond='data:blog.pageType == "item"'><div id='pin-wrapper' style='margin:5px 10px 5px 0; text-align: left;'><a class='pin-it-button' count-layout='horizontal' expr:href='"http://pinterest.com/pin/create/button/?url=" + data:post.url'>Pin It</a><a href='javascript:void(run_pinmarklet())' style='margin-left:-93px; width:43px; height:20px; display:inline-block;'/></div><script src='http://assets.pinterest.com/js/pinit.js'type='text/javascript'/><script type='text/javascript'>function run_pinmarklet() {var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r=' + Math.random()*99999999);document.body.appendChild(e);}</script></b:if><!-- Pinterest Button End -->
- Button Configuration - You can customize the layout of Pin It button & counter by changing the value of count-layout (Yellow). But after change the count-layout also change margin-left (Yellow) value.For example count-layout value - horizontal and margin-left value - -93px.
| Button Style | count-layout value | margin-left value |
vertical
|
-46px
| |
horizontal
|
-93px
| |
none
|
-46px
|
Button Placement
- Place the button code before <data:post.body/>, instead of after.
- Change the value of text-align property in red color mentioned above in code.
- Align right: set it to right;
- Align center: set it to center;

0 comments:
Post a Comment