Custom submitted by in tpl files
Submitted by konordo on Mon, 05/02/2011 - 23:16
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>
- 492 reads
- Printer-friendly version
- Send to friend









