projects
/
WP-Themes
/
northernlakes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e2d19
)
Update footer contact link to be the contact page
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 30 Jul 2015 15:04:48 +0000
(11:04 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 30 Jul 2015 15:04:48 +0000
(11:04 -0400)
parts/client-info-footer.php
patch
|
blob
|
history
diff --git
a/parts/client-info-footer.php
b/parts/client-info-footer.php
index
e499545
..
73f7e4b
100644
(file)
--- a/
parts/client-info-footer.php
+++ b/
parts/client-info-footer.php
@@
-24,6
+24,9
@@
<span class="bullet"> • </span><span><?php echo glm_get_clientinfo_option('extra');?></span>
<?php endif;?>
<?php endif;?>
- <span class="bullet"> • </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"> • </span><span><a href="<?php echo get_page_link($contactPage->ID);?>">Contact Us</a></span>
+ <?php endif;?>
</div>