I have the AddThis module installed to show a set of social sharing icons in the Links section of my node (currently under the node body). I want the links to show up both above and below my node body, though. Is it kosher to simply copy

<?php if ($links): ?>
  <div class="node-links clear-block"><?php print $links; ?></div>
<?php endif; ?>

and paste it again into the template file on a higher line, so that the Links section renders twice -- once above, and once beneath the content?

If there's a better way to do this, please advise! Thank you!

Comments

nevets’s picture

That is a very reasonable approach to what you want.