From 07b9d739368badc69108e114c2e8d44e027d99a6 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Mon, 26 Oct 2015 16:57:15 -0400 Subject: [PATCH] uncomplicating thing --- assets/calendar-icon.jpg | Bin 0 -> 1550 bytes functions.php | 287 ----------------------------- page_about-interior.php | 13 -- page_about.php | 4 +- page_art-gallery-interior.php | 2 +- page_bay-view-interior.php | 2 +- page_crooked-river-interior.php | 2 +- page_drawbridge-interior.php | 2 +- page_perry-interior.php | 2 +- page_pier-interior.php | 2 +- page_pointer-boat-interior.php | 2 +- page_vacation-interior.php | 2 +- page_weathervane-interior.php | 2 +- parts/off-canvas_about.php | 26 +-- parts/off-canvas_art-gallery.php | 26 +-- parts/off-canvas_bay-view.php | 26 +-- parts/off-canvas_crooked-river.php | 26 +-- parts/off-canvas_drawbridge.php | 26 +-- parts/off-canvas_main.php | 26 +-- parts/off-canvas_perry.php | 26 +-- parts/off-canvas_pier.php | 26 +-- parts/off-canvas_pointer-boat.php | 26 +-- parts/off-canvas_vacation.php | 26 +-- parts/off-canvas_weathervane.php | 26 +-- 24 files changed, 165 insertions(+), 443 deletions(-) create mode 100644 assets/calendar-icon.jpg delete mode 100644 page_about-interior.php diff --git a/assets/calendar-icon.jpg b/assets/calendar-icon.jpg new file mode 100644 index 0000000000000000000000000000000000000000..209356240e93dd1a9aeac5b8e803f561fc115a22 GIT binary patch literal 1550 zcmbVMU2NM_6uyb`(`@ZJZ)L9lx+GRBl&xzEgKcW#*iP!Tu`Syr zX>RUHY-XGe5f$Vc#UZ~?AM+XRl4U7X{F_*%1R{GW@NK9Z`5!2Lid&xQfmv994j>l z3CS8(;VX*Lh^>|n5(!~1OkUHak(eQmW>wwkjzw@t2`QQ)$P~xRJjVxVl9qyDPNsrw ze2NREQ%WjLr5TC~r>k*RPbx-DZ02`=-!;W>3BG V&0jMI=i4*SB+rgrJbb+P!@p-I&4&O0 literal 0 HcmV?d00001 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 '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'top-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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'art_mobile_off_canvas' ) ) { - function art_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'art-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'bay_mobile_off_canvas' ) ) { - function bay_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'bay-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'river_mobile_off_canvas' ) ) { - function river_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'river-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'bridge_mobile_off_canvas' ) ) { - function bridge_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'bridge-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'perry_mobile_off_canvas' ) ) { - function perry_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'perry-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -}if ( ! function_exists( 'pier_mobile_off_canvas' ) ) { - function pier_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'pier-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'boat_mobile_off_canvas' ) ) { - function boat_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'boat-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'vacation_mobile_off_canvas' ) ) { - function vacation_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'vacation-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'weathervane_mobile_off_canvas' ) ) { - function weathervane_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'weathervane-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - echo '
'; - } -} -if ( ! function_exists( 'about_mobile_off_canvas' ) ) { - function about_mobile_off_canvas() { - echo '
    '; - echo '
  • Home
  • '; - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'about-canvas', // 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' => 5, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'items_wrap' => '%3$s', - 'walker' => new Stafford_Offcanvas_Walker() - )); - 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
    \n"; - } - - function end_lvl(&$output, $depth = 0, $args = array()){ - $output .= '
'; - } - -} -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 @@ -- 2.17.1