FI Follow-Info
Monday, March 28, 2016

Make Notif Disqus In Post Blog


I will make clear how to display the number of Disqus comments on the part of your blog page posts, many are today switching to Disqus feedback because easier and much easier to monitor guests who commented on your blog, let's follow the guide to create notif Disqus to Blog.

Tutorial Make Notif Disqus In Post Blog 

1. Put This Code Above the </body>

<script id="dsq-count-scr" src="//CHANGE-USERNAME-YOU.disqus.com/count.js" async="async"></script>

Please remember, Replace with username blog at DISQUS.

2. To display the amount of comments updating the code below:

<span class='post-comment-link'>
    <b:include cond='data:blog.pageType not in {&quot;item&quot;,&quot;static_page&quot;} and data:post.allowComments' data='post' name='comment_count_picker'/>
</span>

OR

<b:if cond='data:post.allowComments'>
    <a expr:onclick='data:post.addCommentOnclick' href='#comment-form'> <b:if cond='data:post.numComments == 0'> No Comment </b:if> <b:if cond='data:post.numComments == 1'> 1 Comment </b:if> <b:if cond='data:post.numComments &gt; 1'> <data:post.numComments/> Comments </b:if>
    </a>
</b:if>

Replace it with the Code below:

<a expr:href="data:post.url + &quot;#disqus_thread&quot;"></a>

Please make an effort, Backup Template of all before failing occurs.

1 comments:

Hello, what about in the mobile version?
with ?m=1#disqus_thread don't work.
Thanks.