26.10.11

TUTORIAL : LETAK JUMLAH POST DAN KOMEN DALAM BLOG

Author : Nabila Medan Time : 10/26/2011 01:49:00 PM Total Comment : 3 Label :



Assalammualaikum~
daripada aku tak ber-update pape entri , aku nak share satu tuto kat korang ^^

contoh :
korang tengok kat bahagian sidebar belah kanan , yang bawah sekali :P
[jumpe tak ?]



1.Dashboard > Design > Add a Gadget > HTML/JavaScript
2.Copy code bawah ni and paste kat ruang HTML/JavaScript
<center><script style="text/javascript">function totalPosts(json) {document.write('Total Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}function totalComments(json) {document.write('Total Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');}</script><script src=" /feeds/posts/default?alt=json-in-script&callback=totalPosts"></script><script src=" /feeds/comments/default?alt=json-in-script&callback=totalComments"></script></center><small><a href="http://tutorialuntukblog.blogspot.com/2011/01/ketahui-jumlah-post-dan-jumlah-komen.html" target="_blank">get this</a></small>
3.Dah siap ? korang SAVE !

3 comments

Wednesday, October 26, 2011 5:14:00 PM Delete! [Reply Comment]

kalau nak tukar warne tak leh ke dear , tak nak colour hitam :)

Wednesday, October 26, 2011 5:30:00 PM Delete! [Reply Comment]

tenkiu :)

Friday, June 07, 2013 2:22:00 PM Delete! [Reply Comment]

jadi jadii ^^

Post a Comment
Related Posts Plugin for WordPress, Blogger...