Not a developer? Go to MovableType.com

Plugin and Theme Directory

ShortTitle v1

By
Posted October 11, 2003, in MT Tags, Templates, Widgets.

Details

This is a plugin that provides the <$MTEntryShortTitle$> tag that returns the short title for blog entry. The short title, by default, returns the entry title. This title can be overridden in the keyword field. The title in the keyword field is surrounded by square brackets. This allows other keywords to be used. For example, if the keyword field is:

linux [red hat] apache

Then the short title is red hat. This is very useful for using the entry title as a permalink. Usually, the entry title is fine, but for entries with really long titles, it would be nicer to have a shorter permalink URL. In these cases, the title can be overridden in the keyword field. To use this for a permlink, you would set the individual entry archive file template to:

<$MTArchiveDate
format="%Y/%m/%d"$>/<$MTEntryShortTitle
dirify="1"$>.html


Back