From 620c9d6f4629fa96f5bdfb65e6b3a981fcd43366 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 25 Sep 2017 11:32:31 -0400 Subject: [PATCH] Add for the event detail page title. Needs to pull in the event name. --- sections/interior-page.php | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/sections/interior-page.php b/sections/interior-page.php index 9c13f6b..a234e3d 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -2,13 +2,15 @@
- - " . get_member_name() . ""; + } else if ( glm_is_event_detail() ) { + echo glm_get_event_name(); } else { echo "

" . get_the_title() . "

"; } @@ -17,13 +19,13 @@ ID); ?>
ID ) == "page-chamber.php") { ?> - + +
- "; bcn_display(); @@ -31,7 +33,7 @@ echo "
"; } ?> -
+
@@ -44,8 +46,8 @@ ID ) == "no-sidebar.php") { ?> "; - if(function_exists('bcn_display') && !is_front_page()) - { + if(function_exists('bcn_display') && !is_front_page()) + { echo "
"; bcn_display(); get_template_part('parts/share-this'); @@ -55,10 +57,10 @@ echo "
"; } ?> - - +
@@ -77,13 +79,13 @@

cart->get_cart_total(); ?> for - cart->cart_contents_count, + cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?>

log out'; } elseif (!is_user_logged_in()) { @@ -108,7 +110,7 @@ "; - if(function_exists('bcn_display') && !is_front_page()) + if(function_exists('bcn_display') && !is_front_page()) { echo "
"; bcn_display(); @@ -124,4 +126,4 @@
- \ No newline at end of file + -- 2.17.1