Blogger, MovableType and WordPress Template Tag Cheat-Sheet

Aaron 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 bookmarking and coming back to when you needed.

It’s a shame Drupal isn’t in there. Hey Aaron, here are the Drupal equivalents (using PHPTemplate)

“Non-Loop” (page.tpl.php)

  • $base_url
  • $site_name
  • $site_slogan

“Loop” (node.tpl.php)

  • $content
  • $teaser
  • $name
  • $terms

Note: Some of the above variables are not always available, you might need to use variable_get or add to a Global statement

View Comments to Blogger, MovableType and WordPress Template Tag Cheat-Sheet
  1. Aaron Brazell
    February 9, 2007 | 4:11 pm

    Well thats why they aren’t there! You have to write a dissertation just to use them. ;)

  2. Chris Garrett
    February 9, 2007 | 4:13 pm

    Ha, good point

blog comments powered by Disqus