I'm trying to add the taxonomy term for a blog post to node--blog.tpl.php for the Fusion Framework and the Acquia Prosper Theme, but I've run in to some trouble and I'm not sure why it's not working.
The goal is to have the authorship line look like this:
By Blog Author | Posted Thursday March 14, 2013 | Filed under [Category Taxonomy Term name]
Here is the code I've got in there currently:
<?php if ($display_submitted && isset($submitted) && $submitted): ?>
<div class="submitted terms terms-inline"><em>By</em> <?php print $name; ?> | <em>Posted</em> <?php print format_date($node->created, 'custom', 'l F j, Y'); ?> <?php if $terms: ?> | <em>Filed under</em> <?php print $terms; ?><?php endif; ?></div>
<?php endif; ?>
I've tried several different things, but I can't get anything to work. I'm thinking it should a simple fix, but I've not been able to make it work.
The tpl.php file tells me that $terms should be available to me as a variable, but I've tried everything I can think of to no avail. I'd appreciate any help you can offer!