<mt:EntryRawPostType>

This template tag outputs an entry's post type. Post types include:
  • Traditional blog post
  • Photo post
  • URL/Link post
  • Embed/Video post
  • Audio post


This template tag is related to the custom fields that are automatically generated when you use Motion template sets. It can only be used with blogs created with Motion template sets.



Example:
<mt:Entries lastn="5">
<mt:EntriesHeader>
<ul>
</mt:EntriesHeader>
<li class="post type-<$mt:EntryPostType$>"><$mt:EntryTitle$></li>
<mt:EntriesFooter>
</ul>
</mt:EntriesFooter>
</mt:Entires>

When the Motion Template Set is used, you can submit posts that contain more than simple text.


This page was last updated on 2009-03-26, 11:48.

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.