Need someone to lead product management at your software company? I create software for people that create software and I'm looking for my next opportunity. Check out my resume and get in touch.

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.

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

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.

Adam Kalsey
December 31, 2003 2:55 PM

Oh, fine, get all logical on me... Somehow I missed the fact that there was a built-in tag that already did this.

Maggie
January 1, 2004 5:21 PM

If you don't mind my asking, what is the built-in tag?

Adam Kalsey
January 1, 2004 5:39 PM

MTBlogEntryCount

Maggie
January 2, 2004 4:42 PM

For the number of words in an entry?

Maggie
January 2, 2004 5:02 PM

Thank you so much Adam!! Got it!!

This discussion has been closed.

Recently Written

Mastery doesn’t come from perfect planning (Dec 21)
In a ceramics class, one group focused on a single perfect dish, while another made many with no quality focus. The result? A lesson in the value of practice over perfection.
The Dark Side of Input Metrics (Nov 27)
Using input metrics in the wrong way can cause unexpected behaviors, stifled creativity, and micromanagement.
Reframe How You Think About Users of your Internal Platform (Nov 13)
Changing from "Customers" to "Partners" will give you a better perspective on internal product development.
Measuring Feature success (Oct 17)
You're building features to solve problems. If you don't know what success looks like, how did you decide on that feature at all?
How I use OKRs (Oct 13)
A description of how I use OKRs to guide a team, written so I can send to future teams.
Build the whole product (Oct 6)
Your code is only part of the product
Input metrics lead to outcomes (Sep 1)
An easy to understand example of using input metrics to track progress toward an outcome.
Lagging Outcomes (Aug 22)
Long-term things often end up off a team's goals because they can't see how to define measurable outcomes for them. Here's how to solve that.

Older...

What I'm Reading

Contact

Adam Kalsey

+1 916 600 2497

Resume

Public Key

© 1999-2024 Adam Kalsey.