Ketika entri ini ditulis, aku telah mengumpul 75 entri dan 1475 komen. Kamu macam mana pula? Mungkin lagi banyak bukan? Jika kamu telah lama menulis blog, disarankan kamu menggunakan widget ini.
01. Pilih Layout > Page Element > Add a Gadget : Pilih HTML/JavaScript.
02. Tambahkan kod ini.
Jumlah Entri
<script style="text/javascript">
function showpostcount(json) {
document.write('Total Posts : <b>' + parseInt(json.feed.openSearch$totalResults.$t,10) + '</b><br>');}</script>
<script src="http://dilarangmelarang.blogspot.com/feeds/posts/default?alt=json-in-script&callback=showpostcount"/></script>
function showpostcount(json) {
document.write('Total Posts : <b>' + parseInt(json.feed.openSearch$totalResults.$t,10) + '</b><br>');}</script>
<script src="http://dilarangmelarang.blogspot.com/feeds/posts/default?alt=json-in-script&callback=showpostcount"/></script>
Jumlah Komen
<script style="text/javascript">
function numberOfComments(json) {
document.write('Total Comments : <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}
</script>
<script src="http://dilarangmelarang.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"/></script>
function numberOfComments(json) {
document.write('Total Comments : <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}
</script>
<script src="http://dilarangmelarang.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"/></script>
03. Pilih Save.
koi pun ada.. hahaha
ReplyDeleteMarzuki,
ReplyDeleteaku sudah mencuba.
ohh. sangat bagus dengan membin
semangat aku nak post lagi banyak.
oke.?
nak kire jumlah huruf dalam semua entri boleh tak?
ReplyDeletenak kire jumlah huruf dalam semua entri boleh tak?
ReplyDeleteko mmg best!
ReplyDeletealif-mikail, ambil dari mana? Haha...
ReplyDeletecikyuyu, bagus.
deedlebag, boleh. Nanti aku bagitau.
hajime, terima kasih.
copy jap widget ni...
ReplyDeletehehe :P
Bagusnya maklumat yang diberikan...
ReplyDeleteberkesan utk wordpress x?
ReplyDeleteaku rase kurang kene la template baru ko neh..
ReplyDeletehm..panda-panda mu ah ..
hihih..entri yg penuh info
bagus untuk dicuba ni
ReplyDeleteDah lama cilok. :P
ReplyDeletenak cuba gaks... hikhikhik... thanks bro!
ReplyDeletethanks for the tips
ReplyDeletecool.. thanks
ReplyDeleteterima kasih sangat berguna...
ReplyDeletesuka sangat tutorial kat sini...
thnx owner :)
ReplyDelete