From 81f5de7db8af63e4bc0ceab67f9a9614ad5c9ae2 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Sat, 7 Nov 2020 19:25:54 +0200 Subject: [PATCH] Add Streaming page submenu --- functions.php | 3 ++- page-streaming.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 2dc1648..ced1a74 100644 --- a/functions.php +++ b/functions.php @@ -29,7 +29,8 @@ add_filter( 'jetpack_open_graph_tags', 'og_image' ); register_nav_menus( array( 'main-menu' => __( 'Main Menu', 'initfest' ), - 'subnav-menu' => __( 'Sub Navigation', 'initfest'), + 'subnav-menu' => __( 'Sub Navigation', 'initfest'), + 'stream-menu' => __('Stream Menu', 'initfest'), 'footer-openfest' => __('OpenFest', 'initfest'), 'footer-openfest' => __('OpenFest', 'initfest'), 'footer-schedule' => __('Schedule', 'initfest'), diff --git a/page-streaming.php b/page-streaming.php index c159dc2..8ad60ab 100644 --- a/page-streaming.php +++ b/page-streaming.php @@ -1,11 +1,11 @@ 'footer-schedule', 'container_class' => 'content subnav cf' ) ); +wp_nav_menu( array( 'theme_location' => 'stream-menu', 'container_class' => 'content subnav cf' ) ); ?>
-

+