EntryCount plugin

Freshness Warning
This article is over 14 years old. It's possible that the information you read below isn't current.

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.

Follow me on Twitter

Best Of

  • The mouse and me Not only is the mouse very destructive, but it's evaded all attempts to capture or kill it so far.
  • Lock-in is bad T-Mobile thinks they'll get new Hotspot customers with exclusive content and locked-in devices.
  • Newly Digital Newly Digital is an experimental writing project. I've asked 11 people to write about their early experiences with computing technology and post their essays on their weblogs. So go read, enjoy, and then contribute. This collection is open to you. Write up your own story, and then let the world know about it.
  • Pitching Bloggers Forget what you learned in your PR classes. Start acting like a human instead of a marketer, and the humans behind the blogs will respond.
  • California State Fair The California State Fair lets you buy tickets in advance from their Web site. That's good. But the site is a horror house of usability problems.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

14

Recently

Stretching your team (Jun 11)
Stretching your team is one of the best ways to improve your output, your team's happiness, and your velocity. But they'll need coaching.
Physical camera shutter for Cisco Spark Board (Jul 6)
A 3d printable design for a camera shutter for a Cisco Spark Board
My Travel Coffee Setup (Jan 20)
What my travel coffee brewing setup looks like, and how you can build your own for under $100.
Turkey Legs (May 30)
Product naming gone awry.
Speaking for Geeks: Your Slides (Dec 17)
Tips and tricks for creating great slides.
Speaking for Geeks: Writing Your Talk (Dec 14)
Don’t wait until the night before the talk to write it. Crazy, I know.
Speaking for Geeks: Tell a Story (Dec 13)
Telling a story keeps your presentation focused, keeps your audience interested, and makes it easier for you to remember your talk.
Speaking for Geeks: Where to speak (Dec 11)
You've got a great idea for a talk. How do you find conferences to submit it to?

Subscribe to this site's feed.

Elsewhere

Tropo
Voice and communications platforms, including Tropo and Phono. Work.
SacStarts
The Sacramento technology startup community.
Pinewood Freak
Pinewood Derby tips and tricks

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

AIM or Skype: akalsey

Resume

PGP Key

©1999-2018 Adam Kalsey.
Content management by Movable Type.