শনিবার, ডিসেম্বর ১১, ২০১০

How to Installing The Statistics Total Posts and Comments Widget [Manually ]

Hello Friends! How are you. today i post about Total Posts and Comments Widget and how to add this . If you are interested in that widget, you can follow the instruction below because it’s easy. To install the total posts and comments widget , you can do manually.

 Instruction
  • Please login to blogger with your own ID.
  • Click Layout.
  • Click Page Element tab.
  • Click Add a Gadget.
  • Click the sign plus ( + ) for HTML/JavaScript.
  • Copy and paste the code below in the available column

<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>

  • Click SAVE.
  • Done


Twitter Delicious Facebook Digg Favorites More

0 comments:

একটি মন্তব্য পোস্ট করুন

News & Update

Subscribe your email address to receive updates Wordpress tutorial , Joomla tutorial Blogspot tutorial, Free Wordpress theme , Wordpress plugin , Free Template and site Info