WordLog

A weblog authored by Carthik about the latest in the WordPress world.

Thursday, August 19, 2004

Count Posts Plugin

Filed under: — Carthik @ 9:34 pm

The count posts plugin provides a method to display the number of posts published to a particular category. The author wrote it for a personal, private weblog and wanted the plugin to have a “home”, so here it is, on request. If you have something you cannot host, that you want to share, please get in touch with me.

The forum thread announcing the plugin has more details regarding it’s intended use as also the directions for using it.

In brief,
using

<?php count_posts('daily log', '60'); ?>

in index.php will display the number of posts made to the “daily log” category over the last 60 days.

For support related to this plugin, please post to the forum thread.

3 Comments

  1. Can it count total posts in the blog? And instead of speficying the past x days, can it show posts till date, from the beginning?

    Comment by Amit Gupta — 8/22/2004 @ 2:10 pm

  2. Counting the total number of posts in the blog is one simple query. I am sure there is some plugin out there that display wp statistics.
    The stats thread and you can see the page at the wiki for the download

    Comment by Carthik — 8/22/2004 @ 2:26 pm

  3. Its a pity for my SQL-Server… the poor one..

    Comment by OverflooD — 6/4/2007 @ 5:38 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

 

Powered by WordPress

eXTReMe Tracker