Update footer contact link to be the contact page
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 30 Jul 2015 15:04:48 +0000 (11:04 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 30 Jul 2015 15:04:48 +0000 (11:04 -0400)
parts/client-info-footer.php

index e499545..73f7e4b 100644 (file)
@@ -24,6 +24,9 @@
         <span class="bullet"> &#8226; </span><span><?php echo glm_get_clientinfo_option('extra');?></span>
     <?php endif;?>
     <?php endif;?>
-    <span class="bullet"> &#8226; </span><span><a href="mailto:info@northernlakes.net">Contact Us</a></span>
+    <?php $contactPage = get_page_by_title('Contact Us');?>
+    <?php if($contactPage):?>
+    <span class="bullet"> &#8226; </span><span><a href="<?php echo get_page_link($contactPage->ID);?>">Contact Us</a></span>
+    <?php endif;?>
 </div>