Custom submitted by in tpl files

User login

Here is a line of code to override Drupal's submitted by elements in node.tpl.php file.

<span class="submitted">
<?php print format_date($node->created, 'custom', "F d, Y");  print ' | ' . theme('username', $node); print ' | ' . $node->comment_count . ' Comments'; ?>
</span>

Tags: 
Drupal 6, Drupal Quick Tips, Drupal theming