Many Disqus users admit that one the things they wish they had is the counter, which helps them keep track of the number of comments.
Fortunately, there’s a hack to fix this and Hammad Baig ( admin of Techtutshub ) was nice enough to share and post a quick short tutorial on how you can add a counter to your Disqus comments.
Follow the instructions below and be sure to back up your template to be on the safe side.
Step 1 : From your Blogger dashboard go to ‘Template’
Step 2 : Then ‘Edit HTML’ Click on the ‘Expand Widget Templates’ box to put a check mark in it
Step 3 : Search for this line of code inside your template by pressing ‘Ctrl+F’
<div class='post-header-line-1'/>
Step 4 : Copy/paste this below and immediately after it<!-- Disqus Comment Count Start-->
<a class='dsq-comment-count comment-link commentslink'
expr:href='data:post.url + "#disqus_thread"'/>
<!--Disqus Comment Count End-->
Step 5. Save your template and that’s it!
Now you should have the number of comments displayed just below the post’s title, right next to the date.
Via Allblogtools
No comments:
Post a Comment