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 best of 2006 I wrote a lot of drivel in 2006. Here's the things that are less crappy than the rest.
  • 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.
  • 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.
  • Lock-in is bad T-Mobile thinks they'll get new Hotspot customers with exclusive content and locked-in devices.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

14

Recently

One on One meetings for managers: Frequency and Duration (Nov 28)
How long should your 1:1s be? How often should you run them?
One on One meetings for managers (Nov 26)
A one on one meeting is one of the top ways you can build your managerial leverage
How the Sales organization in a large company slows innovation (Nov 16)
If you have a new innovative product inside a large established company, it can be much harder to reach product market fit than it would be for the same product in a startup.
Networking as an entrepreneur (Oct 23)
Having a network is crazy important. Networking is not.
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.

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.