Widgets

Posted by : Bloggerwits Monday, July 14, 2014

Step 1- Select your blog and click on "Layout" and " Choose a Gadget"

Step 2- Select "HTML/JavaScript"


Step 3- Paste the " Number of Post/Comment Code" in section "HTML"

<script style="text/javascript">function mbhTotalCount(json) {document.write(parseInt(json.feed.openSearch$totalResults.$t,10));}</script><p style="font:20px Tahoma;">Total Posts: <script src="http://www.example.com/feeds/posts/default?alt=json-in-script&callback=mbhTotalCount"></script></p><p style="font:20px Tahoma;">Total Comments: <script src="http://www.example.com/feeds/comments/default?alt=json-in-script&callback=mbhTotalCount"></script></p>

Step 3- Replace "http://www.example.com" with your blog URL

Step 4- "Save Template" 

Leave a Reply

Popular Post

Copyright © 2014 Bloggerwits