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

abato’s picture

Hi,

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

<?php if ((!$page)||($links)): ?>
      <div class="extra-links">
        <?php print $links; ?>
      </div>
      <?php endif; ?>

Thanks in advance.