<div id="content-wrapper">
<?php echo glm_get_header();?>
<div id="page-title" class="text-center">
-
- <?php
+
+ <?php
//$glmAssociateMemberName = apply_filters('glm_get_member_data','name');
//$glmAssociateMemberSlug = apply_filters('glm_associate_member','member_slug');
-
+
if (is_member()) {
echo "<h1>" . get_member_name() . "</h1>";
+ } else if ( glm_is_event_detail() ) {
+ echo glm_get_event_name();
} else {
echo "<h1>" . get_the_title() . "</h1>";
}
<?php $post_content = get_post($post->ID); ?>
<div class="row column">
<?php if (get_page_template_slug( $post->ID ) == "page-chamber.php") { ?>
-
+
<?php $index_template = false; ?>
<div id="sidebar" class="large-3 columns show-for-large">
<?php get_template_part('parts/chamber-sidebar-left'); ?>
- </div>
+ </div>
<div id="chamber-content" class="small-12 large-9 columns">
- <?php if(function_exists('bcn_display') && !is_front_page())
+ <?php if(function_exists('bcn_display') && !is_front_page())
{
echo "<div class=\"breadcrumbs\">";
bcn_display();
echo "</div>";
} ?>
<?php get_template_part('parts/main-content'); ?>
- </div>
+ </div>
<?php } else if(is_in_tree(MEMBERS_ONLY_ID)) { ?>
<?php get_template_part('sections/glm-members-only'); ?>
<?php } else if (get_page_template_slug( $post->ID ) == "no-sidebar.php") { ?>
<?php if(!is_front_page()) {
echo "<div class=\"small-12 columns\">";
- if(function_exists('bcn_display') && !is_front_page())
- {
+ if(function_exists('bcn_display') && !is_front_page())
+ {
echo "<div class=\"breadcrumbs\">";
bcn_display();
get_template_part('parts/share-this');
echo "</div>";
} ?>
<!-- check for chamber page template -->
- <?php } else if (function_exists('is_account_page') && (is_account_page() || is_cart() || is_checkout())) {
-
+ <?php } else if (function_exists('is_account_page') && (is_account_page() || is_cart() || is_checkout())) {
+
?>
-
+
<div class="medium-3 columns show-for-medium-up shop-sidebar-wrapper">
<?php get_template_part("parts/shop-sidebar");?>
</div>
<div id="woo-quick-cart-totals" class="small-5 columns">
<p><?php echo $woocommerce->cart->get_cart_total(); ?>
for
- <?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count,
+ <?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count,
'woothemes'), $woocommerce->cart->cart_contents_count);?>
</p>
</div>
<div id="woo-quick-checkout" class="small-4 columns right">
<?php
- if (is_user_logged_in()) {
+ if (is_user_logged_in()) {
echo '<a href="'. get_permalink(101) . '?customer-logout=true" class="button login_toggle">log out</a>';
}
elseif (!is_user_logged_in()) {
<?php } else { ?>
<?php if(!is_front_page()) {
echo "<div class=\"small-12 medium-8 large-9 columns\">";
- if(function_exists('bcn_display') && !is_front_page())
+ if(function_exists('bcn_display') && !is_front_page())
{
echo "<div class=\"breadcrumbs\">";
bcn_display();
<?php } ?>
</div>
</div>
-</main>
\ No newline at end of file
+</main>