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.
  • Comment Spam Manifesto Spammers are hereby put on notice. Your comments are not welcome. If the purpose behind your comment is to advertise yourself, your Web site, or a product that you are affiliated with, that comment is spam and will not be tolerated. We will hit you where it hurts by attacking your source of income.
  • The importance of being good Starbucks is pulling CD burning stations from their stores. That says something interesting about their brand.
  • Rounded corners in CSS There lots of ways to create rounded corners with CSS, but they always require lots of complex HTML and CSS. This is simpler.
  • Where do the RSS ad startups fit in? Yahoo's RSS advertising service could spell trouble for pure-play RSS advertising services unless they adapt their business model.
  • 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.