projects
/
WP-Themes
/
glmthemes
/
shipwreck-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9536eb
)
Added blog icon to header nav
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 5 Nov 2015 14:00:31 +0000
(09:00 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 5 Nov 2015 14:00:31 +0000
(09:00 -0500)
header.php
patch
|
blob
|
history
diff --git
a/header.php
b/header.php
index
a69f740
..
2220f34
100644
(file)
--- a/
header.php
+++ b/
header.php
@@
-32,6
+32,10
@@
<?php if($donationsPage):?>
<li><a href="<?php echo get_page_link($donationsPage->ID);?>">Donate</a></li>
<?php endif;?>
+ <?php $blog = get_page_by_title('News');?>
+ <?php if($blog):?>
+ <li><a href="<?php echo get_page_link($blog->ID);?>">Blog</a></li>
+ <?php endif;?>
<?php $enewsPage = get_page_by_title('E-News Sign-up');?>
<?php if($enewsPage):?>
<li><a href="<?php echo get_page_link($enewsPage->ID);?>">Enews</a></li>