Remove references to Bay Harbor, and Hotel widget
authorLaury GvR <laury@gaslightmedia.com>
Wed, 4 Apr 2018 23:35:33 +0000 (19:35 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 4 Apr 2018 23:35:33 +0000 (19:35 -0400)
favicon.png
functions.php
lib/menu-walker.php

index 8f80aa4..0a45a4f 100644 (file)
Binary files a/favicon.png and b/favicon.png differ
index 33dff78..7bf6d79 100644 (file)
@@ -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')
-        ));
     }
 }
 
index 3036e10..448d052 100644 (file)
@@ -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' : '';