PC, Computers, Laptops, Games, Call of duty, Browsing Cheat, Mobile Tips, Tricks, MTN, Glo, Airtel, Zain, Etisalat, Naija, 9ija, Nigeria, Blogging, Ebooks, Opera Mini, Proxy Server Software, VPN, Software,

Home » » Facebook Comments Counter For Blogger - Part2

Facebook Comments Counter For Blogger - Part2

Written By Admin on Friday 9 March 2012 | 01:47


 facebook comments counter
This is second part of our series on Facebook Comments plugin. Facebook comments are now optimized and easily indexed and crawled by search engines. Facebook comments appear in search results and can drive your traffic both from its 845 Million registered users and also from Mega Search engine Google. I have already shared a tutorial on how to count the number of Facebook comments and show it on your blog homepage and today we will use the same script but with a different design and feel.  Adding this comment counter is really easy. All you need to do is to track the steps properly. Please see a demo first,


Live Demo

Facebook Comments Series
Part1: Show Facebook comments Inside Tabs in Blogger
Part2: Facebook Comment Counter For Blogger (Blogger + Facebook)
Par3: Optimize Facebook Comments To Increase Blog Traffic

Count Facebook Comments in Blogger

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Click the "Expand Widgets Templates" box
  4. Search for this code,

<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>

5.   The above code can occur thrice. Just replace the first occurrence of the code above with the following code:


<br/> 
<div style='border-top:1px solid #ddd; border-bottom:1px solid #ddd; padding:3px 0px; text-align:right;'> 
<img class='comments-tab-icon' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQH1qkSNR6_g0qENdTzsT8uF_tSR-nFy9TvoVkPfAXh7vQdNuvkjDXUgr7E2JI_Hx-P4O8iUHgjWuIeCFAoWIqDZIlW_FCvos1XkHozPMwv3hjgQj1vPYKjsDJa_K6zxprfTZ-HrBLr18/s400/fb.png'/> 
<a class='comment-link' expr:href='data:post.addCommentUrl'><fb:comments-count expr:href='data:post.url'/> Comments</a>
<img class='comments-tab-icon' src='http://www.blogger.com/img/icon_logo32.gif'/> <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
</div>

6.  Next search for ]]></b:skin>  and just above it paste the following CSS line;

.comments-tab-icon { height: 14px;  width: auto;  margin-right: 3px;}

7.   Save your template and you are all done!
Visit your blogs and you will see Facebook comments Count along with blogger comments count for each post between two horizontal borders.

Troubleshooting

If you needed any help just let me know. I hope this part was less techy compared to the previous one. If you need any assistance then just post your query. I know I am too lazy at replying quickly but I will surely answer every query asked. Peace and blessings dear brothers. :)

Source myblogtricks
Share this article :

+ comments + 1 comments

7 April 2014 at 17:36

kami dari jasa seo semarang ingin menawarkan jasa seo kepada anda pengunjung dari blog ini , banyak kata kunci yang telah kami kerjakan dan dan telah merajai search engine result page , kata kunci yang kami kerjakan di antara nya vimax asli obat pembesar penis , alat pembesar penis obat perangsang wanita dan lain sebagainya kami juga di kenal dengan jasa seo murah karena harga yang kami tawarkan cukup murah juga dan sangat bersahabat
hormat kami rental mobil demak

Post a Comment

 
Support : Creating Website | Williams Edia Template | Mas Template
Copyright © 2011. Welcome To Mobile and PC Cheats Database! - All Rights Reserved
Template Created by Creating Website Published by Williams Edia Template
Proudly powered by Blogger