I'm trying to put a set of links in my common/footer.php to a specific set of exhibit sections. I have the following code, which works, but I'm sure it could be better:
<?php echo link_to_exhibit("Rights and Permissions",array(),"rights-and-permissions",null,null) ?>
Presumably there's a way to denote the section via id and not "rights-and-permissions"? The same for the title? I'd like it so the links automatically update in the event that someone changes the the title or slug of the section.
Thanks for the help in advance!