Add Twitter Follow/Facebook Like Button Beside Each Author's Post

social media author name blogger
One of our blog commentator asked for a trick where we could add the Twitter Follow button right next to the authors name, below post title. This trick works great on multi author blogs which would show up follow button of the respective author who posted the article.

For this purpose, we would use the same conditional tag that we used for Multi-author bio box.



You may like to read that first:

So lets start our work and follow the steps below.

twitter follow button


Step #1 Go To Blogger Edit HTML


Go to Design >> Edit HTML and tick the check box. Now search for the following code. Note that you could add the following code any where in the post body area but our aim is to show up the Twitter follow button / Facebook Like button of the particular author right next to their name (after the post title).

So thats what we are going to achieve.

Search for :

<div class='post-header-line-1'>
Now once you found the above code, notice the code related to author (something like meta author). You got to paste the below code right next to author's name code.

You can experiment with the positioning of the Follow/Like buttons though.


<b:if cond='data:blog.pageType == &quot;item&quot;'>
<b:if cond='data:post.author == &quot;Author2Name&quot;'>
Facebook Like button Code/ Twitter Follow Button Code For Author 1</b:if>
<b:if cond='data:post.author == &quot;Author2Name&quot;'>
Facebook Like button Code/ Twitter Follow Button Code For Author 2</b:if>
</b:if>

How It Works?


You simply added the Authors Social media buttons in their respective conditional tags so that each Follow button would only show up if the post is written by the certain author. Hope it helped and would love to see you comments/Feedback in the comment section below.

You may now like to read:


COMMENTS

BLOGGER: 3
Loading...
.
Name

Adsense Tips And Tricks affiliate marketing Announcement Apps AskHassam Aweber Blogger Basics blogger templates Blogger Tricks Blogging Tips Blogosphere News Bluehost Building Traffic Buttons And Widgets BuySell Ads Tutorials cloud storage co Contest Customizations Disqus Tutorials Domain Hosting Drop Down Menus eBook Email Marketing face facebook Facebook Tutorials Feedburner Freelancing GetPaidTo Giveaway Google Google Analytics Google Gmail Google Plus Tricks Goolge Chrome Guest Post Infolinks Tutorials Interview iPhone Making Money Online marketing Microsoft Mobile Monetization Motivation PayPal Pinterest Plugins Reduce Page Load Time review RSS Feeds SEO Service Sitemap skype Slideshare Social Media Top Lists Tumblr Twitter Twitter Tutorials Vimeo web service Windows Phone Wordpress Yahoo YouTube YouTube Tutorial
false
ltr
item
BloggingeHow | Making Blogging Simpler: Add Twitter Follow/Facebook Like Button Beside Each Author's Post
Add Twitter Follow/Facebook Like Button Beside Each Author's Post
http://1.bp.blogspot.com/-Sz8LOTdZw9U/T5omvCeChdI/AAAAAAAADYc/fjtyojYbeJg/s200/Twitter-Follow.png
http://1.bp.blogspot.com/-Sz8LOTdZw9U/T5omvCeChdI/AAAAAAAADYc/fjtyojYbeJg/s72-c/Twitter-Follow.png
BloggingeHow | Making Blogging Simpler
http://www.bloggingehow.com/2012/04/add-twitter-followfacebook-like-button.html
http://www.bloggingehow.com/
http://www.bloggingehow.com/
http://www.bloggingehow.com/2012/04/add-twitter-followfacebook-like-button.html
true
5839591175544873606
UTF-8
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy
lets make blogging simpler
Resources

Tools of the Trade

make it fly! book
Make It Fly! Book

How To Build Backlinks That Actually Works...