Save 25% on Wizard’s SQL for WP w/ code: WIZARDSQL
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 = Web Developer. Book Author. Secretly Important.
Digging Into WordPress: Take your WordPress skills to the next level.

9 responses to “WordPress Plugin: Simple Blog Stats”

  1. Avatar photo

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

    • Avatar photo
      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. Avatar photo

    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 ?

    • Avatar photo
      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?

      • Avatar photo

        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 ?

      • Avatar photo
        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. Avatar photo

    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.

    • Avatar photo
      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. Avatar photo

    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 »
The Tao of WordPress: Master the art of WordPress.
Thoughts
I try to make use of default functionality whenever possible. For everything.
Upgraded iMac to Ventura. Disabled "unsend mail" feature and found some (now) hidden wallpaper settings. Overall smooth upgrade.
( $this ) is bloat. ($this) is better.
The Legend of Zelda: Tears of the Kingdom coming May 12, 2023. Absolutely pumped.
Favorite thing for breakfast is a tall glass of cold water. Hits the spot every time.
Fall is my favorite season :)
Still a few days left before “Unlimited” pro licenses are no longer available.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.