From 988f6aedc8162927496557a5aa7c833c5db18595 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 22 Apr 2016 12:53:28 -0400 Subject: [PATCH] added chamber template --- chamber-template.php | 31 +++++++++++++++++++++++++++++++ lib/navigation.php | 22 +++++++++++++++++++++- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 chamber-template.php 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 */ -- 2.17.1