From: Anthony Talarico Date: Fri, 22 Apr 2016 16:53:28 +0000 (-0400) Subject: added chamber template X-Git-Tag: v1.0.0^2~79 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=988f6aedc8162927496557a5aa7c833c5db18595;p=WP-Themes%2Fthinkdunes.git added chamber template --- diff --git a/chamber-template.php b/chamber-template.php new file mode 100644 index 0000000..05ec155 --- /dev/null +++ b/chamber-template.php @@ -0,0 +1,31 @@ + +
+ +
+
+
+

Welcome to Silver Lake Sand Dunes!

+ + + + +

+ +
+
+
+
+
+
+ +
+
+
+
+ \ No newline at end of file diff --git a/lib/navigation.php b/lib/navigation.php index 660864f..f18d6f1 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -48,7 +48,27 @@ if ( ! function_exists( 'glm_theme_footer' ) ) { )); } } - +/* + * 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 + 'after' => '', // after each link + '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 */