Counter Posts And Comments
then click on design/layous
copy dan paste code dibawah ini.
<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>
<small><a href="http://jiwarosak.com/counter-posts-and-comments" target="_blank">get this</a></small>
save
Post a Comment