Skip to main content

Add Total Posts & Comments Widget in Blogger



How to show total number of posts and comments widget in blogger blog


Hello Guys! Hope you all are fine. Today I have come with another post for bloggers! You know there are many tips and tricks published for bloggers. You will find them in the blogging category. And several times I have also discussed about adding attractive widgets in blogs. Today I'm gonna share another one with you- Total Posts & Comments Widget.


Adding this code is very easy. All you need is just to add an HTML/ JavaScript Gadget in your site. And before that you must decide where you will place this gadget. It maybe at the bottom, or maybe at the right pane (if any) of your site. Or if your site has any page views/  hit counter then you can place it just before that counter. 

Okay let's start: 
  1. Don't forget to sign in your blogger account. Then go to the blogger control panel I mean design or dashboard. 
  2. Go to the Layout option from the left side. 
  3. There you will find several Add a Gadget options. Select one that is suitable for you. 
  4. Find and select HTML/ JavaScript Gadget. (Usually found at the 11th position)
  5. Now copy and paste the code below in the Content box.
  6. Hit the Save button and rearrange the widget by dragging through by mouse if necessary. 
  7. That's it! View your site to check. 
<script>function mbhTotalCount(json) {document.write(parseInt(json.feed.openSearch$totalResults.$t,10));}</script><div style="font: 15px Georgia;">
Total Posts: <script src="http://www.markspcsolution.com/feeds/posts/default?alt=json-in-script&amp;callback=mbhTotalCount"></script></div>
<div style="font: 15px Georgia;">
Total Comments: <script src="http://www.markspcsolution.com/feeds/comments/default?alt=json-in-script&amp;callback=mbhTotalCount"></script></div>

Just replace my URL (red part) with yours. 

And also look at the Demo below. This is exactly what you will get in your site after adding the above code in your template. 

Total Posts:
Total Comments:


Stay with Marks PC Solution to get more interesting IT topics!



Comments

  1. ys i am following your tips for doing blogs.........
    it consulting

    ReplyDelete
    Replies
    1. It's our pleasure buddy! :)

      Keep in touch . . . .

      Delete
  2. Good article! We will be linking to this particularly great article on our site. Keep up the great writing.

    شركات نقل العفش بجدة
    http://prokr.com/furniture-transfer-company/
    نقل عفش بمكة
    http://albyaan.com/movers-mecca/
    شركات نقل عفش
    http://prokr.org/
    نقل العفش بجدة والمنطقة الغربية
    http://shoala.net/movers/jeddah-western-region-companies/

    ReplyDelete
  3. Everything is very open with a precise explanation of the issues. It was definitely informative.
    عقارات جدة
    3kary.com
    شقق للإيجار بجدة
    http://3kary.com/property-status/apartments-for-rent/
    شقق للبيع بجدة
    http://3kary.com/property-status/apartments-for-sale/

    ReplyDelete
  4. we are ready to send you men who are able to help you in pest control you need in your home
    http://www.mazayapestcontrol.com/

    ReplyDelete
  5. I really appreciate your article. the post has excellent tips which are useful. this post is good in regards of both knowledge as well as information.cleaning apartment

    ReplyDelete

Post a Comment

Popular posts from this blog

GTA San Andreas Cheat Code (PDF)

After Vice City, San Andreas is the most popular game released by Grand Theft Auto (GTA). Usually GTA releases role playing game. San Andreas is such a game where you can act like a person. You can do everything. You have to take part in missions and complete them.  To make your missions easier, there are lots of cheat codes. If you can properly apply these codes, the tough parts of the game will be easier. Cheat codes are somewhat like keyboard shortcuts of computer programs.  I've shared 63 cheat codes below. There were more cheat codes in my collection, but I've omitted the less important cheats. Effects or result of the cheats are on the left side, and the codes are on the right side.  You can copy the following codes in your PC. And for your convenience, I've also uploaded a PDF file of these codes. You will find the download link at the bottom.  Effect Cheat Code Adrenaline Mode MUNASEF All Cars Explode ALL...

Rules for Bengali Typing in PDF (Bijoy Layout)

Bijoy is the most popular layout for Bangla typing. The layout was developed by Mostafa Jabbar. He is the pioneer of Bangla typing in computer. More than 90% people use his Bijoy layout for Bangla typing. Today, I'm gonna share a PDF file with you that contains the Bijoy Keyboard layout with English fonts! If your keyboard doesn't have bengali fonts then you can print this PDF file to know where the bengali fonts are located in your keyboard. Additionally this file contains all the necessary rules and tips which are essential for Bangla Typing.  Now there are many other software available for Bangla Typing Layout. Such as Avro Easy, Unicode, Unibijoy etc. And there rules are also somewhat different from Bijoy. And some of their layouts follow the same rules like Bijoy. Hopefully this PDF file will support most of the rules when a layout is similar to Bijoy Layout.  Click to enlarge the image Download the PDF file from the button below. Follow...

Office 2016 Activator (KMSPico 10.1.5)

It's been couple of months after the release of final version of Microsoft Office 2016. And maybe you're tired of finding for a working activator for this version. Today I'm gonna share Office 2016 activator with you - no more waiting!! About the Activator   Name: KMSPico 10.1.5 File Size: 3 MB (Approx) File Type: Zipped Folder 100% Neat & Clean - No virus! Activating Capacity . . . KMSPico 10.1.5 is successfully leading the KMS world for last few months. If everything is okay, success rate is 100%. This tool has been tested and verified by Marks PC Solution. With this tool, you can activate -  Office 2016, 2013 & 2010 Windows 10, 8.1 & 8 Hopefully this version will work for both 32 bit & 64 bit versions of Windows. Installing Office 2016 Collect/ Download Office 2016 Professional Plus from Microsoft or somewhere else. Install it as trial version without any key. Use the follow...