How to render taxonomy in page template? I'm trying to show all taxonomy terms in a custom template (page--project.tpl.php) that overrides page.tpl.php, but I can't pull it off.  

I'd like to use the default rendering that I get when I see with 
render($page['content']):


  


It seems like I should be able to use render($node-&gt;field_project_tags), but I get a bunch of drupal errors on the rendered template page:

Warning: Invalid argument supplied for foreach() in element_children() (line 6590 of /Users/username/sites/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6047 of /Users/username/sites/d7/includes/common.inc).
Warning: Illegal string offset '#children' in drupal_render() (line 6057 of /Users/username/sites/d7/includes/common.inc).
...


What's the cleanest, simplest way to render these taxonomy terms (as links) in a page template?
Use following code to display manually taxonomy terms:


$vocabulary = taxonomy_vocabulary_machine_name_load('vocobulary_name');
if ($terms = taxonomy_get_tree($vocabulary->vid)) {
  $tags ='';
  foreach ($terms as $term) {
      $taxonomy_path = taxonomy_term_uri($term);
      $tags .= l($term->name, $taxonomy_path['path']);
  }
}