Fall Sale! Code FALL2024 takes 25% OFF our Pro Plugins & Books »
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:

About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
The Tao of WordPress: Master the art of WordPress.

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 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 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 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 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 »
Banhammer: Protect your WordPress site against threats.
Thoughts
Went out walking today and soaked up some sunshine. It felt good.
I have an original box/packaging for 2010 iMac if anyone wants it free let me know.
Always ask AI to cite its sources.
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Crazy that we’re almost halfway thru 2024.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.