From: Laury GvR Date: Wed, 4 Apr 2018 23:35:33 +0000 (-0400) Subject: Remove references to Bay Harbor, and Hotel widget X-Git-Tag: v1.0.0^2~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=18320d7fe6ca17b5c0bcbbb6d844138f437e1020;p=WP-Themes%2Fltbaygolf.git Remove references to Bay Harbor, and Hotel widget --- diff --git a/favicon.png b/favicon.png index 8f80aa4..0a45a4f 100644 Binary files a/favicon.png and b/favicon.png differ diff --git a/functions.php b/functions.php index 33dff78..7bf6d79 100644 --- a/functions.php +++ b/functions.php @@ -16,11 +16,6 @@ if (!function_exists('glm_quicksite_widget_init')) { 'id' => 'front-slideshow', 'description' => __('Meta Slider/Slideshow Area for Frontpage') )); - register_sidebar(array( - 'name' => __('Hotel Slideshow'), - 'id' => 'hotel-slideshow', - 'description' => __('Meta Slider/Slideshow Area for Hotel') - )); } } diff --git a/lib/menu-walker.php b/lib/menu-walker.php index 3036e10..448d052 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -49,9 +49,6 @@ endif; if ( ! class_exists( 'Glm_Theme_Off_Canvas_Walker' ) ) : class Glm_Theme_Off_Canvas_Walker extends Walker_Nav_Menu { function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args, &$output ) { - if ( HOTEL_PAGE_ID == $element->object_id ) { - $children_elements[ $element->ID ] = null; - } $element->has_children = ! empty( $children_elements[ $element->ID ] ); $element->classes[] = ( $element->current || $element->current_item_ancestor ) ? 'active' : ''; $element->classes[] = ( $element->has_children && 1 !== $max_depth ) ? 'page_item_has_children' : '';