Build Online Store! | Penguin Panda Series - New! | 4 Rules To Make Money | SEO Settings | Facebook Popup 1, 2, 3 | Mashable 1 , 2


Thursday, December 29, 2011

Show Sharing Buttons Just Below all Post Titles in Blogs


Pin It

social sharing buttons widgetThe widget today is an upgraded version of the sharing widget we earlier shared. It includes popular social networking buttons like Twitter, Facebook Like, Google Plus +1, Add this and Stumbleupon. I am using it in my blog as you can see. We will also customize here the Add This button and will add blog title inside it. You can easily customize it to change the background colors and widget overall look. It can be added to both Blogger and Wordpress. It has great importance in boosting blog traffic through the shares made through these buttons which will circulate in social media and help you enjoy a long lasting referenced traffic. Lets add these valuable buttons to your blog.


Live Demo

 

Add Social Sharing Buttons Below Post Titles

I am sharing here the method for blogspot blogs. If you are using Wordpress then you may please add the code shared below inside your template by going to template section.

Follow the steps below if you use Blogger.

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Click on the box at top right that says "Expand Widget Templates"
  4. Then search for <data:post.body/>
  5. Just above it paste the following code,

<b:if cond='data:blog.pageType == &quot;item&quot;'> <div style='background:#FEE6E6; border:1px solid #ddd; -moz-border-radius:9px; -webkit-border-radius:9px; border-radius:9px; padding:5px; box-shadow: 3px 3px 3px #CCCCCC;'> <table border='0'> <tr>

<td><!-- Twitter -->

<a class='twitter-share-button' data-count='horizontal' data-lang='en' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share' rel='nofollow'/> <b:if cond='data:post.isFirstPost'> <script src='http://platform.twitter.com/widgets.js' type='text/javascript'> </script> </b:if> </td>

<td><!--Facebook-->

<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp; action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; margin-left:0px; width:100px; height:20px;'/> </td>

<td><div style='margin-right:25px;'><!-- STUMBLE UPON -->

<script expr:src='&quot;http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=&quot; + data:post.url'/></div> </td> <td><div style='margin-right:5px;'><!-- GOOGLEPLUS --> <g:plusone expr:href='data:post.url' size='medium'/> </div> </td>

<td><!-- AddThis Button BEGIN -->

<div class='addthis_toolbox addthis_default_style '> <a class='addthis_counter addthis_pill_style'/> </div> <script src='http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4de3b2d654f56f28' type='text/javascript'/> <script type='text/javascript'> var addthis_config = { ui_cobrand: &quot;MY BLOGGER TRICKS&quot;, ui_header_color: &quot;#ffffff&quot;, ui_header_background: &quot;#0080FF&quot; } </script>

<!-- AddThis Button END --></td> </tr> </table></div> </b:if><br/>

 

Make these changes:

  • To change the background color of the container edit #FEE6E6
  • Change MY BLOGGER TRICKS with your blog title so that it appears on the add this button upon mouse hover. As shown below:

customize add-this button

      5.  Note: skip this step if you have already added a Google+ button somewhere in your blog. Search for ]]></b:skin>  and just below it paste the following code:


<script src='http://apis.google.com/js/plusone.js' type='text/javascript'> {lang: &#39;en-US&#39;} </script>

 

       6.  Save your template and say bingo!

Visit your blogs and see it appearing only on post pages and not the homepage. If you wish to show it even on your homepage then simply delete the two purple lines from the code above.

Want more?

If you want more variations of the same widget then kindly check our social sharing widget collection.  Do let me know if you needed help. Peace pals! :)


If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates!

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »


Thanks for making this possible! Kindly Bookmark and Share it.
Technorati Digg This Stumble Facebook Twitter

43 comments:

Comment Page :
Karan Singh Chauhan on 12:22 AM, December 29, 2011 said... #

Hey Mohd_ its karan singh chauhan your old grt visitor. I am very much impressed by this post and sooner to implement this widget in my blog. Anyways plz check my guest post at mustafa.stc@gmail.com


www.krackoworld.com

Danialde4 on 12:41 AM, December 29, 2011 said... #

Thanks... ^_^

kostantinos on 4:03 AM, December 29, 2011 said... #
This comment has been removed by the author.
kostantinos on 4:03 AM, December 29, 2011 said... #

it is not working :( my blog is www.koufanekdota.blogspot.com

SHREE MADHAN on 7:29 AM, December 29, 2011 said... #

nice widget
http://softechnogeek.blogspot.com/

Khalid on 8:05 AM, December 29, 2011 said... #

Please can you tell me how to search

TechGeeks on 8:13 AM, December 29, 2011 said... #

tried this widget,mohammed i am having a sharethis plugin already in my blog http://studentsidea.blogspot.com ,how can i remove that ,if we add manualy i can remove it but ,the plugin was auto aded ,so kindly do help me..

Handi Priyono on 8:40 AM, December 29, 2011 said... #

yeah , that widget is working on my blog :d
bloggers blog
techiehandy - a technology blog

Faiz Muhammad Khan on 1:12 PM, December 29, 2011 said... #

great one !RISE PK

Oguntayo Mathew AdeKunle on 3:10 PM, December 29, 2011 said... #

Thanks, this is working perfectly on my blog

Umesh Tarsariya on 6:54 PM, December 29, 2011 said... #

thanks a lot dude (^-^)...
its look amazing in my blog...

Jack on 9:57 PM, December 29, 2011 said... #

Mohammed, I know this is very off-topic but I feel only you can help me with this problem that I've been trying to fix for a week now. In this template below that I've incorporated to my blog, Every time there’s more than one comment posted, the sidebars drop below the content posts on Internet Explorer. Can you please help me in figuring this out? I'm a 1000% sure the problem is with the comment area. So if you can help me, I'll subscribe and add your blog to my website as a thank you!

Open this template with Internet Explorer to see what I mean: http://iphone-hello-demo.blogspot.com/2011/05/vietnam-tours-and-travel.html

Mohammad Mustafa Ahmedzai on 10:46 PM, December 29, 2011 said... #

@karan

Welcome back karan :) Sure I will check it soon.

@khalid
Kindly click Ctrl + f to find the short specified code using your browser search box.

@Tech Geeks
Search for that widget inside your Page Elements and delete it there.

@Jack
Your demo blog looks just perfect in IE9 which is the one I use. Which version are you using?

Normally we introduce conditional IE statements for stylesheet to work properly. IE9 works now perfect with all designs.

Arnel Cartoneros on 11:27 PM, December 29, 2011 said... #

sir I have also question why in my html editor have a two data post body. this a new blogger template.And where I put the code for sharing buttons the top or in the buttom?

Muhammad Allam on 12:09 AM, December 30, 2011 said... #

Nice Widget
THANKS ....
MAKE DOLLARS ONLINE

Harsh Shah on 8:40 AM, December 30, 2011 said... #

Hey mohammed i have a problem i am trying to fix since long. Can you please help me with it. My blogs feed is not updating as i post new content. I checked on Feed Validator and http://www.feedvalidator.org/check.cgi?url=http%3A//feeds.feedburner.com/IndiaCoupons is the error it gave. I am not sure what to do and what not to. Please guide me. I also checked with the FAQ's where they say something about tag being introduced in the blog but i don't know how to find it and remove it.

Thanks

Harsh Shah on 8:43 AM, December 30, 2011 said... #
This comment has been removed by the author.
numtamilnadu.com on 9:10 AM, December 30, 2011 said... #

Hi Mustafa , I'm using this one but I dont want the widget to look in a separate box , can I make it integrated with the background just like in yours?

samsexy98 on 11:18 AM, December 30, 2011 said... #

Hi
Can I know what's the difference between this & the old one?

Mohammad Mustafa Ahmedzai on 3:12 PM, December 30, 2011 said... #

@arnel
The first one, the code that appears the first.

@Harsh
I checked your feeds and everything seems ok for your blog http://feeds.feedburner.com/IndiaCoupons
The feed is always updated around 12 hours later pal.

@numtamil

Delete these two bolded lines from the code above:

<div style='background:#FEE6E6; border:1px solid #ddd; -moz-border-radius:9px; -webkit-border-radius:9px; border-radius:9px; padding:5px; box-shadow: 3px 3px 3px #CCCCCC;'>


and the div tag from below:

<!-- AddThis Button END --></td> </tr> </table></div> </b:if><br/>

the container will get deleted.

@Sam
How are you buddy? :) This widget provides a container that makes it more visible and also contains a customized add this button. No digg button is included because preference is given to widely used social sharing buttons

Max on 4:05 PM, December 30, 2011 said... #

Hey Mohammad, i have been waiting in anticipation for many days now for the monop template to arrive in my inbox, i am daily reader of your blog, have subscribed ages ago ;)

id- mayur_prabhu@yahoo.com

keep up the good work and nice widget :D

samsexy98 on 4:19 PM, December 30, 2011 said... #

Ok..
I wanted that full pack with icons & other stuff included. I also commented there a few days ago but just didn't remember the title.

numtamilnadu.com on 4:48 PM, December 30, 2011 said... #

Thanks bro. The container got deleted ,it worked.

Gul Chaudhry on 5:25 PM, December 30, 2011 said... #

Thank you very much Ahmedzai Brother,
I like your Blogspot widgets very much and this is also a very good and useful widget.
Thumbs Up

Harsh Shah on 5:36 PM, December 30, 2011 said... #

Thanx pal but the prob was my feed size was more than 512K. Solved the problem by restricting my feed to recent 5 posts :)

ahmed safwan on 11:56 PM, December 30, 2011 said... #

i think that go daddy is better why did not you use it
you can convert your blogger to custom domain with 7$/year and then you can add 90 cnames and you can upgrade after for premium dns for unlimited cnames

i would like to know your answer about this question

thanks

Tarun Bhadauria on 10:40 AM, December 31, 2011 said... #

thanks

Mohammad Mustafa Ahmedzai on 4:28 PM, December 31, 2011 said... #

@Max

I am sorry for the inconvenience mark. I just sent all resources to you. :>

@Sam
Just sent them buddy. Everything and waiting for your reply to the email. :)

@Gul
My pleasure buddy. :)

@Harsh
You are getting smarter day by day. Keep it up :)

@ahmed
That is correct but godaddy offers only domain registration not web hosting. You can not create sub domains with it like forum and tools and services that I am going to release tonoght. Wait for my post on 2012 today to discover the secret. you will love the post. :)

samsexy98 on 4:31 PM, December 31, 2011 said... #

Already replied to your mail yesterday Bro.

Ethical Hackerzzzz on 3:04 PM, January 02, 2012 said... #

cant find <data:post.body.....
my blog www.techcafe.tk


help me

Ritesh Warke on 7:08 PM, January 07, 2012 said... #

Bro Share button is getting cutted, so I have to remove tweet button..

Help me to get al five buttons in a single line

Here :-> http://www.techinspiro.blogspot.com

jatin rohilla on 2:59 PM, January 15, 2012 said... #

working tnx :)....

http://nirmalmaza.blogspot.com/

Vladimir on 3:06 PM, February 20, 2012 said... #

Thanks Mohammad for your ebook - Create and sale ebboks. I would like to point out sharrre.com which seems to be fair lighter load on page. Whoever I am not skilled enought to implement into the blogger. Can you be of assistance.
Thanks very much.

techno gist on 6:16 AM, March 05, 2012 said... #

great post...thnx:)

http://technogist.blogspot.com

Haris Prasetyo on 2:10 PM, March 14, 2012 said... #

Thanks... Its Works...

Me Blog: http://haris-tkj-kreatif.blogspot.com/

HASSAN ELYAS on 12:55 AM, March 31, 2012 said... #

hey i want to remove the widget ! how can i remove it from my blog ? www.androidcop.blogspot.com

Patel Tutor on 2:21 PM, April 21, 2012 said... #

Dear Mohammad,
Some problem this widget in IE. it hides the google plus button and block the privacy of sharethis website... it's ok when i allow the privacy of sharethis site but it block the google+1 button what i do ?

http://qtutors.blogspot.com
have any suggestion regarding this kindly let me know :)

Patel Tutor on 2:23 PM, April 26, 2012 said... #

Sharing Button Now Showing see

http://warrive.blogspot.com
http://warrive.co.cc

here i add the above code but not showing the icon just div why?

YourCyberGuide on 1:35 PM, April 29, 2012 said... #

hey buddy it shows adchoice ... you might be aerning by sharing this widget... If dont then who else is

കുര്യച്ചന്‍ on 10:48 AM, April 30, 2012 said... #

thanks i am searching for it long time .....thanks.....

Abo-Abdullah Mosa on 5:27 AM, May 02, 2012 said... #

Thanks for sharing your knowledge. I've a problem with FACEBOOK Share button, It shows a wrong title, since it shows the title of my blog instead of showing the title of my post!!. It also shows a wrong description.
AS for DIGG it works just fine. I do not know if the problem with facebook of with my template.
Kindly fix this problem for me. Thanks in advance. My blog's name is Science universe: Physics articles. I'll not put the url. I do not spam. Thanks again.

Bollywood News on 9:19 AM, May 09, 2012 said... #

thanks a lot dude (^-^)...bollywood gossips

freeadsinfo.com on 10:22 PM, May 12, 2012 said... #

You are rocking with excellent tips and tricks.I appreciated you because your tips and tricks are easily understandable even no html knowledge. Thumbs up. Long live MBT.

Confused? Feel free to ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.

Regards,
Mohammad

 

Recent Posts

Join Me On Facebook

8600+ Followers

Join The Team!

Licensed Under CC

Recent Comments

Follow Me On Twitter

2601+ Followers

My Blogger Tricks (MBT) © 2012. All Rights Reserved | Contact |