From: Laury GvR Date: Fri, 16 Oct 2015 18:42:38 +0000 (-0400) Subject: Trying to display the ubermenu only in main nav using shortcode. X-Git-Tag: v1.0.0~49^2~58 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=a19769c5f564a391da6cf9a9228efea021e51c89;p=WP-Themes%2Fcrawfordco.git Trying to display the ubermenu only in main nav using shortcode. --- diff --git a/functions.php b/functions.php index 9a1057b..cd6b562 100644 --- a/functions.php +++ b/functions.php @@ -118,7 +118,7 @@ function glm_offcanvas_menu() { echo '
'; wp_nav_menu(array( - 'theme_location' => '', + 'theme_location' => 'top-bar', 'container' => '', 'container_class' => '', 'menu' => '', diff --git a/parts/top-bar.php b/parts/top-bar.php index a95b22d..29427a1 100644 --- a/parts/top-bar.php +++ b/parts/top-bar.php @@ -1,6 +1,8 @@