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.
Adam Kalsey
Mobile: 916.600.2497
Email: adam AT kalsey.com
AIM or Skype: akalsey
©1999-2008 Adam Kalsey.
Content management by Movable Type.
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.