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

Friday, July 17, 2015

Total Post dan Total Comment di Blog

Hai, kak Neira request nih! Nah, kak Neira tanya cara buat blogstats seperti di bawah blog archive Gifta! Hehehe... Maksudnya yang Total Post dan Total Comment itu lho! Gambarnya akan terlihat setelah kalian read more!
Eh, sorry lupa tandain!
Yang bordernya ungu itu lho!
Nah, tau kan? Oke, langsung yuk!

1. Blogger > Dashboard > Layout / Tata Letak > Add a Gadget
2. Pilih HTML/JavaScript
3. Copy dan paste kode di bawah pada kotak content
<center><div style="background:#ffffff; color: #000; padding: 2px; border: 1px #000 solid; border-radius:0px;margin:3px;">
<script style="text/javascript">
function numberOfPosts(json) {document.write('Total Post: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}
function numberOfComments(json) {document.write('Total Komentar: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}
</script><script src="http://www.giftasblog.co.vu/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script>
<script src="http://www.giftasblog.co.vu/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></div></script>
</div></center>
4. Preview dan Save!
KETERANGAN
Biru: kode warna, bisa dilihat di sini
Merah: URL blog kalian

Lihat hasilnya! Nah, berhasil kan? Oh iya, dulu tuto ini kudapat dari kak Lyssa! Tapi kalau di blog kak Lyssa, total post dan commentnya gak ada border dan backgroundnya, itu Gifta hias sendiri.

There are 2 comments.
Please post another comment..