From: Laury GvR Date: Wed, 21 Feb 2018 16:42:32 +0000 (-0500) Subject: Adding mobile off-canvas functions for the separate sections X-Git-Tag: v1.0.15^2~2^2~16 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=85687b23df56e113886c21d2290120903fdf9e3b;p=WP-Themes%2Fbaragacounty.git Adding mobile off-canvas functions for the separate sections --- diff --git a/index.php b/index.php index 6bc20a6..a1bcc89 100644 --- 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()) { diff --git a/lib/navigation.php b/lib/navigation.php index 0cb81c2..1f74fc7 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -40,6 +40,98 @@ if ( ! function_exists( 'glm_theme_top_bar' ) ) { } } +if ( ! function_exists( 'government_mobile_off_canvas' ) ) { + function river_mobile_off_canvas() { + echo ''; + } +} + +if ( ! function_exists( 'chamber_mobile_off_canvas' ) ) { + function river_mobile_off_canvas() { + echo ''; + } +} + +if ( ! function_exists( 'visitors_mobile_off_canvas' ) ) { + function river_mobile_off_canvas() { + echo ''; + } +} + +if ( ! function_exists( 'economic_mobile_off_canvas' ) ) { + function river_mobile_off_canvas() { + echo ''; + } +} + /** * Government Navigation */ diff --git a/sections/off-canvas.php b/sections/off-canvas.php index 7334bd2..30d557e 100644 --- a/sections/off-canvas.php +++ b/sections/off-canvas.php @@ -6,24 +6,24 @@