Be the first to leave a comment!
Siapa sih yang tidak mau menjadi komentar pertama terus bilang pertamax di komentar postingan blogger mania? Apalagi blog blogger mania sudah banyak pengunjungnya, pasti rebutan mau menjadi komentator yang pertama, nah biar nambah seru buat menarik pembaca setia blogger mania supaya menjadi be the first to leave comment! ada sedikit modifikasi di kode css blogger mania untuk mengubah 0 komentar menjadi be the first to leave comment!. Mau tahu caranya?
1. Seperti biasa Login dulu ke blogspot, setelah masuk jangan lupa di save dulu templatenya.
2. Setelah itu ke Tata Letak > Edit HTML cari kode yang mirip seperti di bawah ini :
<span class='post-comment-link'> <b:if cond='data:blog.pageType != "item"'> <!-- if the page is NOT an itempage, display the link -->
<b:if cond='data:post.allowComments'> <!-- if the post allows comment to be made, display the link -->
<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>
</b:if>
</b:if>
</span>
3. Kalau ketemu kode itu , ganti dengan kode di bawah :
<span class='post-comment-link'>
<b:if cond='data:blog.pageType != "item"'> <!-- if the page is NOT an itempage, display the link -->
<b:if cond='data:post.allowComments'> <!-- if the post allows comment to be made, display the link -->
<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 leave a comment!
<b:else/>
<b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/>
<b:else/><data:post.numComments/> <data:top.commentLabelPlural/>
</b:if>
</b:if>
</a>
</b:if>
</b:if>
</span>
Setelah selesai jangan lupa save hasil pekerjaan blogger mania, kalau ingin mengganti kata be the first to leave comment!Sobat tinggal mengganti kode yang berwarna merah dengan kata-kata kreatif lainnya. Jangan lupa yak be the first to leave comment!.
(Hasil Karya Beatiful Beta).


0 comments:
Post a Comment