How do I alter the position of tags in drupal

I have recently installed drupal and like it pretty much but can't figure out how to move the tags output to the bottom of the post.

tags: tag,tag2,tag3
post content

to this

post content
tags: tag,tag2,tag3

No votes yet

Replies

template files

You need to edit your themes node.tpl file

sites/all/themes/(your theme name)/node.tpl
(If your template contains various node-???.tpl files you may have node types for different content types and will have to make the changes in multiple files to work on all pages that display taxonomy or tags)
Look for something similar to this

<?php if ($taxonomy): ?>
      <div class="terms"><?php print $terms ?></div>
    <?php endif;?>

Your rating: None

Post new comment

 
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><code>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters (without spaces) shown in the image.