From b174530e5343dc7d1c4f8a441ef846a6866af05b Mon Sep 17 00:00:00 2001 From: ap7 Date: Mon, 29 Apr 2019 16:39:55 +0800 Subject: [PATCH] Fixed menu location of custom menu --- functions.php | 2 +- header.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 299da71..d044217 100644 --- a/functions.php +++ b/functions.php @@ -47,7 +47,7 @@ function teamwpugph_setup() { // This theme uses wp_nav_menu() in one location. register_nav_menus( array( - 'menu-1' => esc_html__( 'Primary', 'teamwpugph' ), + 'primary-menu' => esc_html__( 'Primary Menu', 'teamwpugph' ), ) ); /* diff --git a/header.php b/header.php index e924897..106fa7f 100644 --- a/header.php +++ b/header.php @@ -34,6 +34,7 @@ 'primary-menu', 'container_class' => 'uk-navbar-center', 'menu_class' => 'uk-navbar-nav', 'items_wrap' => '',