projects
/
WP-Themes
/
turkeyville.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03c3d44
)
Update title
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 26 Sep 2017 13:48:05 +0000
(09:48 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 26 Sep 2017 13:48:05 +0000
(09:48 -0400)
For event detail page pull the event name.
sections/interior-page.php
patch
|
blob
|
history
diff --git
a/sections/interior-page.php
b/sections/interior-page.php
index
85e6ee9
..
c26443b
100644
(file)
--- a/
sections/interior-page.php
+++ b/
sections/interior-page.php
@@
-1,6
+1,12
@@
<main class="page-inside">
<div id="page-title" class="text-center">
- <h1><?php echo get_the_title(); ?></h1>
+ <?php
+ if ( glm_is_event_detail() ) {
+ echo '<h1>'.glm_get_event_name().'</h1>';
+ } else {
+ echo "<h1>" . get_the_title() . "</h1>";
+ }
+ ?>
</div>
<div id="content-wrapper">
<div class="row">
@@
-71,4
+77,4
@@
</div>
</div>
</div>
- </main>
\ No newline at end of file
+ </main>