projects
/
WP-Themes
/
bayharbor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ed170
)
Test out showing the id if page not in array of booknow pages
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 18 Apr 2019 23:28:50 +0000
(19:28 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 18 Apr 2019 23:28:50 +0000
(19:28 -0400)
sections/interior-page.php
patch
|
blob
|
history
diff --git
a/sections/interior-page.php
b/sections/interior-page.php
index
d53fea0
..
4a0f1c0
100644
(file)
--- a/
sections/interior-page.php
+++ b/
sections/interior-page.php
@@
-62,6
+62,8
@@
<a class="booknow-button" href="<?php echo get_permalink(1384); ?>">Book Now</a>
</div>
<?php
+ } else {
+ echo "The id is " . get_the_id();
}
?>
<?php get_template_part('parts/main-content');?>