I want to check if the node is not a static page, and display $date
in "node.tpl.php" within this <div>
:
<div id="postDateArea"></div>
I currently have this in my node.tpl.php file:
<div id="postDateArea"><?php print $date; ?></div>
I currently have this in my template.php file:
function thebridge_preprocess_node(&$vars) {
if($vars['type'] != 'static_page') {
}
}