Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

Total Posts and Total Comments Widget

Hello to all the blogger users today i m going to tell you how add an Total Post and Total Comment Widget

Total Post Widget Tells your visitors the post that are having been published to your blog and also shows that how many comments have been done to your blog so it can encourage to other people to comment on your blog

    
Q:   1.Is it difficult to install this hack ?
    A: No its so simple that you have to just add an HTML/JAVASCRIPT widget

  1. First login to your Blogger Dasboard .
  2. Then Click on Layout.
  3. Then click on add HTML/JAVASCRIPT.
  4. Add Below Code to it :

    <script style="text/javascript">

    function numberOfPosts(json) {
    document.write('Total Posts: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
    }

    function numberOfComments(json) {
    document.write('Total Comments: <b>' + json.feed.openSearch$totalResults.$t + '</b><br>');
    }

    </script>

    <script src="http://Your-Domain-Name/feeds/posts/default?alt=json-in-script&callback=numberOfPosts"></script>

    <script src="http://Your-Domain-Name/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script>

  5. Then Just Put Custom domain name for Example : www.yoursite.com or yoursite.com
  6. For Blog URL for example. riteshsanap4u.blogspot.com
  7. Just Click on Save Button

Your Total Post and Total Comments Widget is ready

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Google
  • Pocket
  • Print
  • Email

Related

April 18, 2009 Ritesh Sanap Blogger Tutorials Blogger Hacks

Post navigation

Previous Previous post: Folder Background Images in WinXP
Next Next post: Website Speed Test

Currently Trending

  • How to download Specific parts of YouTube videos
  • Windows Vista CD key
  • HORIZONTAL AND VERTICAL SPACING
  • How to Increase Dropbox upload speed
  • Advanced What should we Write about next? - WordPress Plugin
  • GTalk Tips and Tricks / Shortcuts
  • How to Make DNS Propagation Faster
  • How to Change the Welcome/Login Screen in Windows XP ?
  • How to download torrents without utorrent
  • Hacking DSL Router

Random Posts

Remove the Recycle Bin from the Desktop

February 29, 2008 By Ritesh Sanap

Xhilaration Blogger Template

April 14, 2011 By Ritesh Sanap

Chucky - Blogger Template

August 17, 2009 By Ritesh Sanap

[How to] show The Number of Feedburner Subscriber in Text

May 1, 2010 By Ritesh Sanap

How to Increase Dropbox upload speed

November 8, 2014 By Ritesh Sanap

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap

Simply Pure - WordPress Theme

November 2, 2014 By Ritesh Sanap

Advanced What should we Write about next? - WordPress Plugin

July 28, 2014 By Ritesh Sanap

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap

BlueStrap - WordPress Theme

January 1, 2014 By Ritesh Sanap

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva - Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2018 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.