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:
87d02fd
)
Trying get_page_by_path
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 16 Feb 2016 19:31:20 +0000
(14:31 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 16 Feb 2016 19:31:20 +0000
(14:31 -0500)
header.php
patch
|
blob
|
history
diff --git
a/header.php
b/header.php
index
3d31c43
..
3e1c8f4
100644
(file)
--- a/
header.php
+++ b/
header.php
@@
-29,7
+29,7
@@
<?php if($memberPage):?>
<li><a href="<?php echo get_page_link($memberPage->ID);?>">Memberships</a></li>
<?php endif;?>
- <?php $donationsPage = get_p
ost
("donate-now");?>
+ <?php $donationsPage = get_p
age_by_path
("donate-now");?>
<?php if($donationsPage):?>
<li><a href="<?php echo get_page_link($donationsPage->ID);?>">Donate</a></li>
<?php endif;?>