From: Ian Weller Date: Mon, 26 Oct 2015 20:57:15 +0000 (-0400) Subject: uncomplicating thing X-Git-Tag: v1.0.0^2~424 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=07b9d739368badc69108e114c2e8d44e027d99a6;p=WP-Themes%2Fstaffords.git uncomplicating thing --- diff --git a/assets/calendar-icon.jpg b/assets/calendar-icon.jpg new file mode 100644 index 0000000..2093562 Binary files /dev/null and b/assets/calendar-icon.jpg differ diff --git a/functions.php b/functions.php index b090603..bcd2888 100644 --- a/functions.php +++ b/functions.php @@ -92,17 +92,6 @@ register_nav_menus(array( 'vacation-bar' => 'Vacation Rental Navigation', 'weathervane-bar' => 'Weathervane Restaurant Navigation', 'about-bar' => 'About Navigation', - 'art-canvas' => 'Art Gallery Mobile', - 'property-canvas' => 'Properties Mobile', - 'bay-canvas' => 'Bay View Inn Mobile', - 'river-canvas' => 'Crooked River Lodge Mobile', - 'bridge-canvas' => 'Drawbridge Bistro Mobile', - 'perry-canvas' => 'Perry Hotel Mobile', - 'pier-canvas' => 'Pier Restaurant Mobile', - 'boat-canvas' => 'Pointer Boat Mobile', - 'vacation-canvas' => 'Vacation Rental Mobile', - 'weathervane-canvas' => 'Weathervane Mobile', - 'about-canvas' => 'About Mobile', // 'footer' => 'Footer' )); @@ -408,282 +397,6 @@ if (!function_exists('glm_get_clientinfo_option')) { * Generate the list of pages as nested ul li list */ -if ( ! function_exists( 'stafford_mobile_off_canvas' ) ) { - function stafford_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'art_mobile_off_canvas' ) ) { - function art_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'bay_mobile_off_canvas' ) ) { - function bay_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'river_mobile_off_canvas' ) ) { - function river_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'bridge_mobile_off_canvas' ) ) { - function bridge_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'perry_mobile_off_canvas' ) ) { - function perry_mobile_off_canvas() { - echo ''; - } -}if ( ! function_exists( 'pier_mobile_off_canvas' ) ) { - function pier_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'boat_mobile_off_canvas' ) ) { - function boat_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'vacation_mobile_off_canvas' ) ) { - function vacation_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'weathervane_mobile_off_canvas' ) ) { - function weathervane_mobile_off_canvas() { - echo ''; - } -} -if ( ! function_exists( 'about_mobile_off_canvas' ) ) { - function about_mobile_off_canvas() { - echo ''; - } -} -if ( ! class_exists( 'Stafford_Offcanvas_Walker' ) ) : -class Stafford_Offcanvas_Walker extends Walker_Nav_Menu { - - function display_element( $element, &$children_elements, $max_depth, $depth = 0, $args, &$output ) { - $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' : ''; - $element->classes[] = 'page_item'; - - parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); - } - - function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) { - $item_html = ''; - parent::start_el( $item_html, $object, $depth, $args ); - - $classes = empty( $object->classes ) ? array() : (array) $object->classes; - - if ( in_array( 'label', $classes ) ) { - $item_html = preg_replace( '/]*>(.*)<\/a>/iU', '', $item_html ); - } - - $output .= $item_html; - } - - function start_lvl( &$output, $depth = 0, $args = array() ) { - $output .= "\n'; - } - -} -endif; add_theme_support('post-thumbnails'); set_post_thumbnail_size(120, 100, true); /** diff --git a/page_about-interior.php b/page_about-interior.php deleted file mode 100644 index 6a99367..0000000 --- a/page_about-interior.php +++ /dev/null @@ -1,13 +0,0 @@ - - -
- -
- - - - \ No newline at end of file diff --git a/page_about.php b/page_about.php index 856df1c..cb1d0e7 100644 --- a/page_about.php +++ b/page_about.php @@ -7,7 +7,7 @@ Template Name: About Page
- + - + \ No newline at end of file diff --git a/page_art-gallery-interior.php b/page_art-gallery-interior.php index 389c5ad..b92f9b7 100644 --- a/page_art-gallery-interior.php +++ b/page_art-gallery-interior.php @@ -6,8 +6,8 @@ Template Name: Stafford's Art Gallery Interior
+
- \ No newline at end of file diff --git a/page_bay-view-interior.php b/page_bay-view-interior.php index fde8d0d..4eb5775 100644 --- a/page_bay-view-interior.php +++ b/page_bay-view-interior.php @@ -6,8 +6,8 @@ Template Name: Bay View Inn Interior
+
- \ No newline at end of file diff --git a/page_crooked-river-interior.php b/page_crooked-river-interior.php index 969ccdd..592fc85 100644 --- a/page_crooked-river-interior.php +++ b/page_crooked-river-interior.php @@ -6,8 +6,8 @@ Template Name: Crooked River Lodge Interior
+
- \ No newline at end of file diff --git a/page_drawbridge-interior.php b/page_drawbridge-interior.php index ee520ae..ef65eaf 100644 --- a/page_drawbridge-interior.php +++ b/page_drawbridge-interior.php @@ -6,8 +6,8 @@ Template Name: Drawbridge Bistro Interior
+
- \ No newline at end of file diff --git a/page_perry-interior.php b/page_perry-interior.php index 8d99dce..a34eee9 100644 --- a/page_perry-interior.php +++ b/page_perry-interior.php @@ -6,8 +6,8 @@ Template Name: Perry Hotel Interior
+
- \ No newline at end of file diff --git a/page_pier-interior.php b/page_pier-interior.php index f274eb0..8b9ec02 100644 --- a/page_pier-interior.php +++ b/page_pier-interior.php @@ -6,8 +6,8 @@ Template Name: Pier Restaurant Interior
+
- \ No newline at end of file diff --git a/page_pointer-boat-interior.php b/page_pointer-boat-interior.php index 55debb0..aa15cc4 100644 --- a/page_pointer-boat-interior.php +++ b/page_pointer-boat-interior.php @@ -6,8 +6,8 @@ Template Name: The Pointer Boat Interior
+
- \ No newline at end of file diff --git a/page_vacation-interior.php b/page_vacation-interior.php index 1834ed0..ceaa80f 100644 --- a/page_vacation-interior.php +++ b/page_vacation-interior.php @@ -6,8 +6,8 @@ Template Name: Vacation Rentals Interior
+
- \ No newline at end of file diff --git a/page_weathervane-interior.php b/page_weathervane-interior.php index 83f9189..288fcef 100644 --- a/page_weathervane-interior.php +++ b/page_weathervane-interior.php @@ -6,8 +6,8 @@ Template Name: Weathervane Resturant Interior
+
- \ No newline at end of file diff --git a/parts/off-canvas_about.php b/parts/off-canvas_about.php index 82f78d4..f3e42a7 100644 --- a/parts/off-canvas_about.php +++ b/parts/off-canvas_about.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_art-gallery.php b/parts/off-canvas_art-gallery.php index d5694ab..ad531fa 100644 --- a/parts/off-canvas_art-gallery.php +++ b/parts/off-canvas_art-gallery.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_bay-view.php b/parts/off-canvas_bay-view.php index ecbb391..5915ae4 100644 --- a/parts/off-canvas_bay-view.php +++ b/parts/off-canvas_bay-view.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_crooked-river.php b/parts/off-canvas_crooked-river.php index 07c4207..cb350b2 100644 --- a/parts/off-canvas_crooked-river.php +++ b/parts/off-canvas_crooked-river.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_drawbridge.php b/parts/off-canvas_drawbridge.php index 82852a1..013c30b 100644 --- a/parts/off-canvas_drawbridge.php +++ b/parts/off-canvas_drawbridge.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_main.php b/parts/off-canvas_main.php index 532554b..23fb258 100644 --- a/parts/off-canvas_main.php +++ b/parts/off-canvas_main.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_perry.php b/parts/off-canvas_perry.php index e0b670b..dbbd72d 100644 --- a/parts/off-canvas_perry.php +++ b/parts/off-canvas_perry.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_pier.php b/parts/off-canvas_pier.php index 34ffd44..32e4bb1 100644 --- a/parts/off-canvas_pier.php +++ b/parts/off-canvas_pier.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_pointer-boat.php b/parts/off-canvas_pointer-boat.php index 5e112c6..b7c02c9 100644 --- a/parts/off-canvas_pointer-boat.php +++ b/parts/off-canvas_pointer-boat.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_vacation.php b/parts/off-canvas_vacation.php index d2ed1c4..fc0f72a 100644 --- a/parts/off-canvas_vacation.php +++ b/parts/off-canvas_vacation.php @@ -1,35 +1,37 @@ \ No newline at end of file diff --git a/parts/off-canvas_weathervane.php b/parts/off-canvas_weathervane.php index d1790eb..ac27013 100644 --- a/parts/off-canvas_weathervane.php +++ b/parts/off-canvas_weathervane.php @@ -1,35 +1,37 @@