Save 25% on Wizard’s SQL for WP w/ code: WIZARDSQL
Web Dev + WordPress + Security

New Version of BlogStats PCC for WP 2.3

Just a note to announce the release of a new version of BlogStats PCC. BlogStats PCC is a free WordPress plugin that provides an easy way to share your blog’s core statistics with your visitors. You can show off any or all of the following statistics:

  • total number of posts
  • total number of comments
  • total number of categories
  • total number of registered users
  • total number of unregistered users
  • total number of individual, static pages
  • the date of the most recent post modification
  • a link to the most recently published blog post
  • a link to the name of the most recent commentator
  • date/time of the most recent blog update, displayed in your default date format

BlogStats PCC enables you to display any or all of these statistics in any location (inside the loop or elsewhere). The plugin is 100% open source, completely free, totally customizable, and very easy to use. The new version (2.3.0a) works with all versions of WordPress (1.5 – 2.3), and is available for immediate download via the official BlogStats PCC homepage.

Jeff Starr
About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
.htaccess made easy: Improve site performance and security.

3 responses to “New Version of BlogStats PCC for WP 2.3”

  1. Avatar photo
    mvkozyrev 2008/01/08 3:38 am

    Great job! Thank you.

    And I little corrected it for WPMU:

    function pagestats() {
    	global $wpdb;
    	global $numpages;
    	$numpages = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'page'");
    	if (0 get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'post'");
    	if (0 < $numposts) $numposts = number_format($numposts);
    	echo 'Number of posts - ' . $numposts;
    }

    Now it works with WPMU correctly. Then I use small widget for display stats:

    get_var("SELECT post_author FROM " . $wpmuBaseTablePrefix . $blog_id . "_posts");
  2. Avatar photo
    mvkozyrev 2008/01/08 3:40 am

    oops. Try to post comment, but your system don’t display my full comment :(

  3. Avatar photo
    Perishable 2008/01/08 2:27 pm

    That’s quite alright, mvkozyrev :)

    I appreciate your work on this and also for sharing it with us. Now that I have a complete copy of your MU version (sent via email), I will upload it to the BlogStats PCC homepage and also include a link crediting your site.

    Many 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 »
Digging Into WordPress: Take your WordPress skills to the next level.
Thoughts
Mastodon social is a trip. Glad I found it.
As a strict rule, I never use cache plugins on any of my sites. They cause more problems than they solve, imho. Just not worth it.
Currently on a posting spree :)
6 must come before 7.
My top three favorite-to-write coding languages: CSS, PHP, JavaScript.
If you’re not 100% sure that you can trust something, you can’t.
Wishing everyone a Merry Christmas / Happy Holidays & much success in 2023.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.