<$mt:EntryBody$>

Outputs the "main" text of the current entry in context.

Attributes:

  • convert_breaks (optional; default "1")

    Accepted values are '0' and '1'. Typically, this attribute is used to disable (with a value of '0') the processing of the entry text based on the text formatting option for the entry.

  • words (optional)

    Accepts any positive integer to limit the number of words that are output.


EntryBody supports a whole bunch of additional attributes to help format the output of the tag. Using those attributes, you can transform the content so it shows up correctly in HTML, JavaScript, PHP, XML or other forms of output, use regular expressions to modify the output of this tag, change the case of characters, add or remove white space or even more with just a simple attribute on the mt:EntryBody tag.

In the past, mt:EntryBody has been known as MTEntryBody, too. If you're using the Extended Entry field in Movable Type, it works similarly to mt:EntryBody but with the mt:EntryMore tag.
This page was last updated on 2009-05-27, 13:58. [Edit]

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.