Fix function names for off-canvas walkers
authorLaury GvR <laury@gaslightmedia.com>
Wed, 21 Feb 2018 16:46:57 +0000 (11:46 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 21 Feb 2018 16:46:57 +0000 (11:46 -0500)
index.php
lib/navigation.php

index a1bcc89..01e605a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -41,7 +41,7 @@
                         include "sections/front-page-header.php";
                         include "sections/front-page.php";
                     } else {
-                            include "sections/header.php";                        
+                        include "sections/header.php";                        
                         if (is_home() || is_page($GLOBALS['entity_page_slug']."-news")) {
                             include "sections/blog-home.php";
                         } else if (is_archive()) {
index 1f74fc7..2f45693 100644 (file)
@@ -41,7 +41,7 @@ if ( ! function_exists( 'glm_theme_top_bar' ) ) {
 }
 
 if ( ! function_exists( 'government_mobile_off_canvas' ) ) {
-  function river_mobile_off_canvas() {
+  function government_mobile_off_canvas() {
       echo '<ul class="left-off-canvas-list">';
       echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
       echo '<h3 class="propertyLabel"> Government </h3>';
@@ -57,14 +57,14 @@ if ( ! function_exists( 'government_mobile_off_canvas' ) ) {
           'link_after' => '',                             // after each link text
           'depth' => 3,                                   // limit the depth of the nav
           'fallback_cb' => false,                         // fallback function (see below)
-          'walker' => new Feature_Offcanvas_Walker()
+          'walker' => new Glm_Theme_Off_Canvas_Walker()
       ));
       echo '</ul>';
   }
 }
 
 if ( ! function_exists( 'chamber_mobile_off_canvas' ) ) {
-  function river_mobile_off_canvas() {
+  function chamber_mobile_off_canvas() {
       echo '<ul class="left-off-canvas-list">';
       echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
       echo '<h3 class="propertyLabel"> Chamber of Commerce </h3>';
@@ -80,14 +80,14 @@ if ( ! function_exists( 'chamber_mobile_off_canvas' ) ) {
           'link_after' => '',                             // after each link text
           'depth' => 3,                                   // limit the depth of the nav
           'fallback_cb' => false,                         // fallback function (see below)
-          'walker' => new Feature_Offcanvas_Walker()
+          'walker' => new Glm_Theme_Off_Canvas_Walker()
       ));
       echo '</ul>';
   }
 }
 
 if ( ! function_exists( 'visitors_mobile_off_canvas' ) ) {
-  function river_mobile_off_canvas() {
+  function visitors_mobile_off_canvas() {
       echo '<ul class="left-off-canvas-list">';
       echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
       echo '<h3 class="propertyLabel"> Visitor Information </h3>';
@@ -103,14 +103,14 @@ if ( ! function_exists( 'visitors_mobile_off_canvas' ) ) {
           'link_after' => '',                             // after each link text
           'depth' => 3,                                   // limit the depth of the nav
           'fallback_cb' => false,                         // fallback function (see below)
-          'walker' => new Feature_Offcanvas_Walker()
+          'walker' => new Glm_Theme_Off_Canvas_Walker()
       ));
       echo '</ul>';
   }
 }
 
 if ( ! function_exists( 'economic_mobile_off_canvas' ) ) {
-  function river_mobile_off_canvas() {
+  function economic_mobile_off_canvas() {
       echo '<ul class="left-off-canvas-list">';
       echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
       echo '<h3 class="propertyLabel"> Economic Development </h3>';
@@ -126,7 +126,7 @@ if ( ! function_exists( 'economic_mobile_off_canvas' ) ) {
           'link_after' => '',                             // after each link text
           'depth' => 3,                                   // limit the depth of the nav
           'fallback_cb' => false,                         // fallback function (see below)
-          'walker' => new Feature_Offcanvas_Walker()
+          'walker' => new Glm_Theme_Off_Canvas_Walker()
       ));
       echo '</ul>';
   }