New Bookstore! Save 20% on books with discount code: LAUNCH
Web Dev + WordPress + Security

WordPress Plugin: Simple Blog Stats

[ Simple Blog Stats ] Simple Blog Stats is a free WordPress plugin that provides a wealth of shortcodes and tags to display a variety of unique statistics about your site. Stats about your blog include total number of categories, comments, posts, users, tags, and more. SBS also displays recent comments and recent posts in posts, pages, and anywhere in your theme. Plus additional stats for Custom Post Types, word counts, and much more.

Installation

Typical WP install: upload, activate, done. Visit the SBS Settings in the WordPress Admin for shortcodes, template tags, and more information. No configuration necessary. SBS includes options for customizing the text/markup displayed before and/or after each shortcode and template tag.

Features

Statistics include:

  • Total number of posts
  • Total number of pages
  • Total number of drafts
  • Total number of comments
  • Number of comments in moderation
  • Number of approved comments
  • Number of registered users
  • Number of categories
  • Number of tags

More features:

  • Luxe toggle/panel Settings Page
  • Provides shortcodes to display stats in posts and pages
  • Provides template tags to display stats anywhere in your theme
  • Configure text/markup to appear before and/or after each shortcode
  • Option to restore default settings
  • Uses native WordPress functionality
  • Born of simplicity, no frills

Bonus features:

  • Display date of most recent site update
  • Display recent posts (configurable)
  • Display recent comments (configurable)
  • Display all blog stats in a nice list
  • Eat a bowl of ice cream :)

Options

For each of the shortcodes and template tags, you control the text/markup displayed before and/or after each shortcode and template tag. Here is a screenshot demonstrating this on the SBS Settings Page:

[ SBS Settings/Options Page ]
Screenshot of SBS Settings Page with shortcode configuration options

Additional options include:

  • Select the number of posts (for recent posts)
  • Select the number of comments (for recent comments)
  • Select the number of characters to use for post excerpts
  • Select the number of characters to use for comment excerpts
  • Restore Default Options
[ SBS Options Page ]
Screenshot of SBS Settings Page, streamlined and easy to use

Screenshots

Here’s a nice overview shot of the SBS Settings:

[ SBS Options Page ]
Screenshot of SBS Settings Page, streamlined and easy to use
[ SBS Options Page ]
Screenshot showing some available blog stats to display anywhere
Here is a complete view of the SBS Settings Page »
Note: Simple Blog Stats is a rebuild of the now retired BlogStats PCC plugin. Please upgrade asap if you haven’t done so already.

Download

Download Simple Blog Stats from the WordPress.org Plugin Directory:

Jeff Starr
About the Author
Jeff Starr = Designer. Developer. Producer. Writer. Editor. Etc.
Blackhole Pro: Trap bad bots in a virtual black hole.

9 responses to “WordPress Plugin: Simple Blog Stats”

  1. When do you plan to put the plugin in WP plugin repository, so that I see from my dashboard when you have updates? Thanks.

    • Jeff Starr
      Jeff Starr 2012/11/06 2:17 pm

      Soon! I’m finishing up the last of my plugin updates today and then moving them all into the Plugin directory asap. Working as fast as I can, just not there yet. Thanks for your patience :)

  2. Hi
    This plugin is great ! Very useful.

    Can you say a litlle more about this :
    “Display date of most recent site update”

    But which date ? Is it the last published post ?

    I’d like to display the date of the last published OR last modified post OR page… is it possible ?

    • Jeff Starr
      Jeff Starr 2012/11/08 7:02 pm

      Hi Cy-real, that should display the date of the most recent post. Is it working for you?

      • Yes, it works.
        But on my website, I often add and modify pages content, so the best for me should be to display the date of the most recent content (post or page, added or modified).

        Is there a simple way to do that ?

      • Jeff Starr
        Jeff Starr 2012/11/09 2:28 pm

        This will be a feature included in the next update as a separate template tag/shortcode. Thanks for the feedback.

  3. Hello!

    I bother you with a question. Can I use this shorcode in a sidebar widget. And if yes, how can I do it?

    Thanks for the time.

    • Jeff Starr
      Jeff Starr 2013/04/10 1:09 pm

      Yes, just add this to your theme’s functions.php file:

      add_filter('widget_text', 'do_shortcode');

      That way shortcodes will be processed when found in widgets.

  4. Is it possible to configure the shortcodes to show blog stats over a particular time frame? For example, these are the stats I want to display:

    – # posts in the last 7 days
    – # posts today
    – # comments in the last 7 days
    – # comments today

    Thanks!

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
GA Pro: Add Google Analytics to WordPress like a pro.
Thoughts
LOL @ “weekly” support: “Your request has been received and will be reviewed soon. Neil (your support guy) checks support requests weekly. Rest assured we’ll get to it!” — Gotta be kidding with this.
After several days of work, finally taking a break. If anyone needs me, I'll be in Zora’s Domain, working thru Mah Eliya shrine.
Never ever call the client a useless idiot. Even if it’s true.
Inevitable that Google shuts down Feedburner. Maybe this year? Who knows. Here is a nice summary plus alternatives.
There is no way that Marvel can serve up anything better than what they've already done with Infinity saga/Endgame. Knowhere to go but down, sadly.
I built a new search launchpad to make my life easier. So I can search multiple engines quickly and easily.
Updating all muh plugins for WP 5.5 imminent release! Wut August :)
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.