/*
Template Name: Events Template
*/
-$template !== 'no-sidebars.php';
get_template_part('index');
?>
\ No newline at end of file
<div class="row column">
<?php if(!is_front_page()) {
- if(!$is_glm_associate_required_page && $template !== 'no-sidebars.php' ){
+ if(!$is_glm_associate_required_page && $template !== 'no-sidebars.php' && $template !== 'events-template.php'){
get_template_part('parts/left-sidebar');
}
- if($is_glm_associate_required_page || $template == 'no-sidebars.php') {
+ if($is_glm_associate_required_page || $template == 'no-sidebars.php' || $template == 'events-template.php' ) {
// Only gets full width if required glm associate page or using the no-sidebars template
echo "<div class=\"small-12 columns\">";
} else if($right_sidebar) {
get_template_part('parts/main-content');
echo "</div>";
- if($right_sidebar && $template !== 'no-sidebars.php'){
+ if ($right_sidebar && $template !== 'no-sidebars.php' && $template !== 'events-template.php' ) {
echo "<div id='sidebar' class='small-12 medium-4 large-3 show-for-large columns'>";
get_sidebar();
echo "</div>";