--- /dev/null
+<?php
+/*
+Template Name: Chamber Template
+*/
+
+
+get_header(); ?>
+<main class="page-front">
+ <?php get_template_part('parts/slide-show');?>
+ <div id="content-wrapper">
+ <div class="row">
+ <div id="main-content" class="small-12 columns">
+ <h1 id="slogan">Welcome to Silver Lake Sand Dunes!</h1>
+ <img id="divide" src="<?php echo esc_url( get_template_directory_uri() );?>/assets/fancy-divider.png">
+ <?php if(have_posts()) : while(have_posts()): the_post();?>
+ <?php the_content();?>
+ <?php endwhile; else:?>
+ <p><?php _e('Sorry, no posts yet');?></p>
+ <?php endif;?>
+ </div>
+ </div>
+ <div class="row">
+ <div class="small-12 medium-11 small-centered columns">
+ <div class="blocks">
+ <div class="row" >
+ <?php get_template_part('parts/glm-blocks'); ?>
+ </div>
+ </div>
+ </div>
+ </div>
+<?php get_footer(); ?>
\ No newline at end of file
));
}
}
-
+/*
+ * Chamber Menu
+ */
+if ( ! function_exists( 'glm_theme_chamber' ) ) {
+ function glm_theme_footer() {
+ wp_nav_menu(array(
+ 'container' => false, // remove nav container
+ 'container_class' => '', // class of container
+ 'menu' => '', // menu name
+ 'menu_class' => '', // adding custom nav class
+ 'theme_location' => 'chamber', // where it's located in the theme
+ 'before' => '', // before each link <a>
+ 'after' => '', // after each link </a>
+ 'link_before' => '', // before each link text
+ 'link_after' => '', // after each link text
+ 'depth' => 3, // limit the depth of the nav
+ 'fallback_cb' => false, // fallback function (see below)
+ 'walker' => new Glm_Theme_Top_Bar_Walker()
+ ));
+ }
+}
/**
* Mobile off-canvas
*/