node.tpl.php should have the following:
<?php if ($links): ?>
<div class="extra-links">
<div class="terms terms-inline"><?php print theme('links', $taxonomy, array('class' => 'links term-links')) ?></div>
<?php print $links; ?>
</div>
<?php endif; ?>
I just added the if statement to check to see if $links is not empty
Comments
Comment #1
abato commentedHi,
I don't know php so I am asking here: The way I read the snippet below, bloguzz checks for either page OR links. If either is found it prints the $links in the div class="extra-links".
So should your code replace this all together - or supplement it somehow? And if so - how exactly
Thanks in advance.