I wrote a quick and dirty plugin called EntryNumber that adds two tags to Movable Type: <mt:entrycount> and <mt:entrycountreverse>. Both tags require Entry context to work, so use them only inside an <mt:entries> loop or in an entry archive.
- MTEntryCount: displays the number of entries that came before the current entry, plus one. So the first entry in the blog is 1, the second is 2, the third one is 3 and so on.
- MTEntryCountReverse: displays the number of entries that came after the current one, plus one. So the most recent entry in the blog is 1, the second most recent is 2, the third most recent is 3 and so on.
The plugin can be downloaded for free: EntryNumber.zip
Tweet
Leave a comment