Custom Template Tags

By default, every custom field will have a custom template tag assigned to it. You can use these template tags just like any other in your templates and within the right context. For example, if you have created a custom entry field named Mood, by default the custom template tag will be MTEntryDataMood. You can use this tag like so:

<MTEntries>
<MTIfNonEmpty tag="EntryDataMood">My Mood: <MTEntryDataMood></MTIfNonEmpty>
</MTEntries>

On the field editing screen, you will also see a small template code snippet that you can copy and paste into your templates to publish data stored in the field.

Custom Template Tags

Leave a comment

Preview

About

This is part of the official user manual for CustomFields, a plugin for Movable Type by Arvind Satyanarayan.

More Information »

Screenshots

Click a screenshot to browse through the gallery or the arrows to flip through them

←→

Powered by Movable Type 4.0