From: Ian Weller Date: Mon, 26 Oct 2015 16:01:21 +0000 (-0400) Subject: adding images X-Git-Tag: v1.0.0^2~429 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a8428cd23e37b632578d1d6e73d0276818a928db;p=WP-Themes%2Fstaffords.git adding images --- diff --git a/footer.php b/footer.php index a9e926a..d758ac3 100644 --- a/footer.php +++ b/footer.php @@ -5,13 +5,13 @@
- +
- +
- +
diff --git a/front-page.php b/front-page.php index 6c373bb..72024ea 100644 --- a/front-page.php +++ b/front-page.php @@ -8,19 +8,5 @@ get_template_part('parts/glm-blocks'); ?> - diff --git a/functions.php b/functions.php index 901a860..a817d81 100644 --- a/functions.php +++ b/functions.php @@ -81,6 +81,7 @@ function glm_page_menu($parent = 0, $class = '') register_nav_menus(array( 'top-bar' => 'Site Navigation', 'mobile-off-canvas' => 'Mobile', + 'property-bar' => 'Properties Navigation', 'art-bar' => 'Art Gallery Navigation', 'bay-bar' => 'Bay View Inn Navitgation', 'river-bar' => 'Crooked River Lodge Navigation', @@ -112,13 +113,31 @@ if ( ! function_exists( 'feature_top_bar' ) ) { )); } } +if ( ! function_exists( 'property_top_bar' ) ) { + function property_top_bar() { + 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' => 'property-bar', // 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 Feature_Top_Bar_Walker() + )); + } +} if ( ! function_exists( 'bay_top_bar' ) ) { function bay_top_bar() { wp_nav_menu(array( 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'bay-view', // adding custom nav class 'theme_location' => 'bay-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -136,7 +155,7 @@ if ( ! function_exists( 'art_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'art-gallery', // adding custom nav class 'theme_location' => 'art-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -154,7 +173,7 @@ if ( ! function_exists( 'river_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'crooked-river', // adding custom nav class 'theme_location' => 'river-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -172,7 +191,7 @@ if ( ! function_exists( 'bridge_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'drawbridge', // adding custom nav class 'theme_location' => 'bridge-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -190,7 +209,7 @@ if ( ! function_exists( 'perry_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'perry-hotel', // adding custom nav class 'theme_location' => 'perry-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -208,7 +227,7 @@ if ( ! function_exists( 'pier_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'pier-restuarant', // adding custom nav class 'theme_location' => 'pier-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -226,7 +245,7 @@ if ( ! function_exists( 'boat_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'pointer-boat', // adding custom nav class 'theme_location' => 'boat-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -244,7 +263,7 @@ if ( ! function_exists( 'vacation_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'vacation-rental', // adding custom nav class 'theme_location' => 'vacation-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -262,7 +281,7 @@ if ( ! function_exists( 'weathervane_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'weathervane', // adding custom nav class 'theme_location' => 'weathervane-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -280,7 +299,7 @@ if ( ! function_exists( 'about_top_bar' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class + 'menu_class' => 'about', // adding custom nav class 'theme_location' => 'about-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link @@ -337,7 +356,7 @@ class Feature_Top_Bar_Walker extends Walker_Nav_Menu { // } // $output .= $item_html; // } -// + // function start_lvl( &$output, $depth = 0, $args = array() ) { // if ($depth == 0) { // $output .= "\n