This is the blog of Adam Kalsey. Unusual depth and complexity. Rich, full body with a hint of nutty earthiness.
Freshness Warning
This blog post is over 19 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
Oh, fine, get all logical on me... Somehow I missed the fact that there was a built-in tag that already did this.
If you don't mind my asking, what is the built-in tag?
MTBlogEntryCount
For the number of words in an entry?
Thank you so much Adam!! Got it!!
This discussion has been closed.
Neil T.
December 31, 2003 2:42 PM
What is the difference between this tag and - that tag already gives the total number of posts to a weblog. I've used it for some time.