Template Tag Reference Sheet

Ever try to move from one blogging platform to another and get confused by all the template tags that are unique to each one? Here’s a quick and dirty translation table for Blogger, MovableType and WordPress. It is by far non-exhaustive (MT has a billion tags it seems), but this should be a good guide nonetheless.

Blogger MovableType WordPress
Non-Loop Tags
<$BlogURL$> <$MTBlogURL$> <php bloginfo(’siteurl’) ?>
<$BlogTitle$> <$MTBlogName$> <?php bloginfo(’name’) ?>
<$BlogDescription$> <$MTBlogDescription$> <?php bloginfo(’description’) ?>
<$BlogArchiveFileName$> <$MTBlogArchiveURL$> -
Loop Tags
<BlogDateHeader>
<$BlogDateHeaderDate$>
</BlogDateHeader>
<$MTDateHeader$> -
<BlogDateFooter>
</BlogDateFooter>
<$MTDateFooter$> -
<$BlogItemBody$> <$MTEntryBody$> <?php the_content() ?>
- <$MTEntryItemExcerpt$> <?php the_excerpt() ?>
<$BlogItemAuthor$> <$MTEntryAuthor$> <?php the_author() ?>
<$BlogItemAuthorNickname$> <&MTEntryAuthorDisplayName$> or
<&MTEntryauthorNickname$>
<?php the_author_nickname() ?>
- <$MTEntryAuthorUsername$> <?php the_author_login() ?>
<$BlogItemAuthorEmail$> <$MTEntryAuthorEmail$> <?php the_author_email() ?>
<$BlogItemAuthorURL$> <$MTEntryAuthorURL$> <?php the_author_url() ?> or <?php the_author_link() ?>*
<$BlogItemDateTime$> <$MTEntryDate$> <?php the_time() ?> or <?php the_date() ?>
<$BlogItemArchiveFilename$> <$MTArchiveFile$> -
<$BlogItemNumber$> <$MTEntryID$> <?php the_ID() ?>
<PostSubject>**
<$BlogItemSubject$>
</PostSubject>
<$MTEntryCategories$> or
<$MTEntryCategory$>
<?php the_category() ?>
<$BlogArchiveLink$> <$MTArchiveLink$> -
<$BlogArchiveName$> <$MTArchiveTitle$> -

Aggregated information from the Blogger FAQ, MovableType Template Tag Index and the WordPress codex.


* Available in WordPress 2.1
** Available to Blogger Pro subscribers

10 Responses to “Template Tag Reference Sheet”

  1. […] case anyone is involved with inter-platform migrations, I have worked up a quick-reference for template tags and their translations in Blogger, Movable Type and […]

  2. […] Template Tag Reference Sheet quick-reference for template tags and their translations in Blogger, Movable Type and WordPress. (tags: wordpress movableType Blogger template tags) […]

  3. Great job!

  4. Nice work Aaron… Just one thing:

    For WordPress: You have the_title(); listed as the tag for the blog name… The actual tag is bloginfo(’name’);

    the_title(); should be used in the loop to display an entry’s title.

    Just thought I’d mention it… Great job mate :)

  5. Of course, Jonic. You’re correct. These tags were making my eyes cross. Anyways, updated. :)

  6. […] has posted an excellent reference for anybody interested in editing or migrating templates. In his Template Tag Reference Sheet he cross-references tags between the Blogger, MovableType and Wordpress platforms. Worth […]

  7. This is really useful, thank you!

  8. […] in tweaking MovableType, Wordpress and Blogger template to your own style, Emmense’s Template Tag Reference Sheet is a good referring point. Wordpress users, you will find that it is useful when you check into PHP […]

  9. […] gusta alguna plantilla de Wordpress y te gustaría adaptarla a Blogger? ¿O viceversa? Esta tabla de relaciones entre los diferentes sistemas de blogs podrás encontrar las relación entre las tags para conseguir el mismo resultado en cada sistema. […]

  10. […] Ver la tabla de de referencia de etiquetas […]

Leave a Reply