Welcome here! Please leave your comment and follow my blog. Use CTRL+C to copy (no right click allowed)
This blog is full of tutorials. Please use them, by clicking the "STUFF" page above^^ Thanks for your visit!!
I'm Gifta, I can't online everyday /^-^\/>

Thank you for your visit, please use my tutorials...!
August 05, 2016

Sunday, April 23, 2017

Replace "No Comments" with Another Text

Hello! Hari ni Seizza/Aisha/Aish request... Dia tanya, gimana caranya bikin 'Be the first to comment!' saat tak ada komentar dan '[angka] comments so far' jika komentar lebih dari 0. Nih, gambarnya:

Step one:

Blogger >> Template >> Edit HTML

Step two:

Cari kode ini:
<b:includable id='comment_count_picker' var='post'>
Lalu, hapus semua kode di bawahnya sampai </b:includable>

Step three:

Lalu, copy kode:
 <b:if cond='data:post.commentSource == 1'>
    <span class='cmt_count_iframe_holder' expr:data-count='data:post.numComments' expr:data-onclick='data:post.addCommentOnclick' expr:data-post-url='data:post.url' expr:data-url='data:post.url.canonical.http'>
<span class='post-comment-link' style='float:right'>
        <b:if cond='data:blog.pageType != &quot;item&quot;'>
          <b:if cond='data:post.allowComments'>
            <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 0'>Be the first to comment!<b:else/> <b:if cond='data:post.numComments == 1'><data:post.numComments/> comments so far<b:else/><data:post.numComments/> comments so far</b:if> </b:if></a>
Ganti yang merah dengan left atau tetap rightGanti yang dibold dengan kata-kata kalian
Paste DI BAWAH / SETELAH kode yang tadi kalian cari.

Step four:


Nah, mudah kan? Cuma 4 step doang... 

There are 12 comments.
Please post another comment..