Share This! supports joomla, wordpress, typepad, and blogger etc. This post will deal with installation of this widget in blogger. So let us see now how to install?
Step#1
- Open Blogger Dashboard → Layout → Add a Gadget
- Select Html/Javascript Editor and copy-paste the below code in it.
Javascript
<span id="st_finder"></span> <script type="text/javascript" src="http://w.sharethis.com/widget/stblogger2.js"></script> <script type="text/javascript"> var switchTo5x=true;stBlogger2.init("http://w.sharethis.com/button/buttons.js", {"stumbleupon":["hcount","stumbleupon",""], "googleplus":["hcount","googleplus",""], "facebook":["hcount","Facebook",""],"twitter":["hcount","Tweet",""], "pinterest":["hcount","Pinterest",""]} , "d1f5576d-5020-4262-9246-f3d7c58aede5");var f = document.getElementById("st_finder");var c = f.parentNode.parentNode.childNodes;for (i=0;i<c.length;i++) { try { c[i].style.display = "none"; } catch (err) {}} </script>
Step#2
1.We have removed ShareThis! button from this widget by a small tweaking. So if you wish ShareThis! button to be displayed then add below given code just before"stumbleupon":["hcount", "stumbleupon",""]
"sharethis":["hcount","sharethis",""] [ → Add This Before Above▲ Given Code ]
2. To view counts vertically in box, replace the code "hcount" with "vcount"
3. Save the widget and you are done.
0 comments:
Post a Comment