[tintuc]Hôm nay cuahangtemplate xin giới thiêu với các bạn thủ thuật mới
Chọn Layout > Page Elements > Add a gadget > HTML /Java script
paste đoạn code sau vào :
<script style="text/javascript">
function numposts(json) { document.write('This blog has ' + json.feed.openSearch$totalResults.$t + ' posts'); }
function numcomments(json) { document.write(' and ' + json.feed.openSearch$totalResults.$t + ' Comments'); }
</script>
<script style="text/javascript">
function numposts(json) {
document.write('This blog has ' + json.feed.openSearch$totalResults.$t + ' posts');
}
function numcomments(json) {
document.write(' and ' + json.feed.openSearch$totalResults.$t + ' Comments');
}
</script>
<script src="http://www.atsuu.com/feeds/posts/default?alt=json-in-script&callback=numposts">
</script>
<script src="http://www.atsuu.com/feeds/comments/default?alt=json-in-script&callback=numcomments"></script>
Thay tên miền bằng blogger của bạn
Nếu có thắc mắc, hãy để lại comment phía dưới nhé, admin của cuahangtemplate.com sẵn sàng trợ giúp bạn
chúc các bạn thành công!! [/tintuc]
Post a Comment