Text Wrapped Twitter And Facebook Buttons At Top Of Posts


Today as i was replying to the Emails from my contact form i got a bit of a surprise.One Email asked "I like to add Facebook share and tweet buttons to my blog post same like your blog (share and tweet buttons at the beginning of the post text). thanks:)".So i went to my list of posts page for Spice Up Your Blog to get the link to the tutorial for this to send back.Then i realised i have never actually covered it in a post.

I have showed how to have a Twitter counter at the top of your posts and even a Ttwitter and Facebook button in a fixed floating position, but not how to have the Twitter and Facebook Counter Buttons at the start of posts wrapped in text.It's actually quiet an easy tutorial..

So lets do it !

The Twitter button i will be using is the Most recent updated Twitter Button that includes a link to your Twitter Profile.You will see if you use the Twitter button on any of the posts in this blog the link you post on Twitter includes a link to my Twitter Profile and once you share the link you are given the option to follow me (If Your Not Already).So the button not only gets people sharing your posts but also gets you more followers.The facebook button is the standard counter button not the Like Button.

I am using these buttons at the time of writing the post but as you know I'm always changing so for future reference i have a live demo below.

Live Demo - Twitter And Facebook Button Demo

Add Twitter And Facebook Buttons To Blogger

Step 1. In Your Blogger Dashboard Click > Design > Edit Html > Tick The Expand Widget Templates Box.

Step 2. Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code - More Info)


Step 3. Copy And Paste The Following Code Directly Before / Above <data:post.body/>

<div style='float:left; margin-right:10px;'>
<a class='twitter-share-button' data-count='vertical' data-via='PaulCrowePro' href='http://twitter.com/share'>Tweet</a><script src='http://platform.twitter.com/widgets.js' type='text/javascript'/><br/>
<a href='http://www.facebook.com/sharer.php' name='fb_share' type='box_count'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/><br/><a href='http://www.spiceupyourblog.com'><img alt='Best Blogger Tips' src='http://3.bp.blogspot.com/_rKG-ziTSNUQ/TQ5eV0U0EiI/AAAAAAAACik/xo2eFaDbfrE/s1600/best+blogger+tips.png'/></a>

Important - Replace My Twitter Username In Red PaulCrowePro With Yours, If you don't have one Leave It Blank.

Step 4 Save Your Template.

The buttons will now be at the start of all your posts for readers to share your content, we have lots more Social Bookmarking Gadgets for you to check out.

Drop Your Comments, Views And Questions Below.

Join over 5000 Subscribers! Please sign up to receive Updates.

SUYB has its Focus on Quality. If we post Crap, you can unsubscribe.

No Spam and No Garbage! - Use RSS, Twitter & Facebook as an Alternative

If You Enjoyed This Post Please Take 5 Seconds To Share It.


  1. Is there a way to make images and text wrap around this?

  2. @ Michael Ducyl.. - In what way could an image wrap around the buttons ?

    1. hi paul please reply i can see 4 ?? what to do ??

    2. 4 is save your template, you cant see the save button ?

  3. I’m just searching for some resourceful article to collect information about this topics.
    And after reading your post it has become a little easier to me , thanks

  4. Thanks for the tutorial, Paul!

    I pasted this code above but the counter before each post shows the cumulative number of tweets/fb shares for all posts instead of the number of tweets/shares for a particular post. Am I missing something?

  5. Cool another alternative to Add This

  6. thanks for sharing this tips..this is really cool tricks..i like it..keep posting this kind of information..it's really fun learning this kind of stuff..

  7. even though this shows up on each individual post on the main page, it DOES NOT link directly to that post unless that person has clicked through to that exact post. people aren't going to want to have to click through to the individual post just to share it on Twitter.

  8. @ Lesa - I have noticed this with the script based counter buttons, they don't pick up the post URL.I am looking into it and i will update the post if i find a solution, i will also add another comment to let you know.

  9. Friend it appears at top of post. It does not give good look in my blog. I like to add end of the post at Right Side.

    Help Me!


  10. it sure works but when i add it to the blog the facebook like button does not show up :(

  11. How do you get the links beside each other? I'm trying to the Pinterest, Twitter, and Facebook buttons on, but they are sitting on top of each other and running into one another,


Important - If you ask a question make sure you tick the "Notify Me" box below the comment form to be notified of follow up comments and replies.

Hire Us