Content Management
EntryCount plugin
Freshness Warning
This blog post is over 20 years old. It's possible that the information you read below isn't current and the links no longer work.
31 Dec 2003
Update: This plugin isn’t needed. As Neil pointed out, there’s a built-in MT tag that already does this. Somehow I overlooked that when I was writing the plugin. So ignore all this drivel…
Here’s a quickie plugin to close out the year.
Jeff Nichols asked, “Does anyone know of an easy way to get a current entry count (post count) for Movable Type?” A quick look for a plugin that would do this turned up nothing so I whipped one up for him.
To install it, download EntryCount.zip, unzip it, and upload EntryCount.pl to your plugins directory.
To use it, add the tag <MTEntryCount>
to your template. The tag will will output the number of published entries to your blog. Draft entries are not included in the count, and only entries from the current blog are counted. Typical usage would be something like…
<MTEntryCount> entries