Sorting Categories Any Way in Movable Type

Sorting Categories Any Way in Movable Type

There is a lot of discussions off how to sort categories in MovableType in any way. MovableType only sorts alphabetic decending and this is often not what you need.

One solution proposed is to add a sortation number in front of the category names like:

01.Category one
02.Category two
03.Category three

The problem is that you then will have the annoying numbers.

The solutions proposed on the net are extreemly advanced with additional plug ins required etc.

My solution is to use an HTML comment numbering, which won't be shown:

<!-- 01 -->Category one
<!-- 02 -->Category two
<!-- 03 -->Category three

So this will be very simple and do the job and will be shown like:

Category one
Category two
Category three

By jens @ 25 February, 2006 08:45



Comment

Unfortunately, your method has one major flaw...

The <title> tag in HTML cannot contain comments, so <!-- 01 --> gets displayed up in the title of any category based archives or individual entry archives on my blog; any attempt to take this out is as much a hassle as any of the other methods I've come across.

By Jesse Gardner @ 07 March, 2006 03:28


Post a comment