projects
/
WP-Themes
/
shipwreckmuseum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b984e7b
)
Maybe getting it as product post-type works.
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 16 Feb 2016 19:32:48 +0000
(14:32 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 16 Feb 2016 19:32:48 +0000
(14:32 -0500)
header.php
patch
|
blob
|
history
diff --git
a/header.php
b/header.php
index
3e1c8f4
..
129ac78
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_page_by_path("donate-now");?>
+ <?php $donationsPage = get_page_by_path("donate-now"
,OBJECT,"product"
);?>
<?php if($donationsPage):?>
<li><a href="<?php echo get_page_link($donationsPage->ID);?>">Donate</a></li>
<?php endif;?>