Add Streaming page submenu

This commit is contained in:
Ivaylo Markov 2020-11-07 19:25:54 +02:00
parent a4f8e714b8
commit 81f5de7db8
2 changed files with 4 additions and 3 deletions

View File

@ -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'),

View File

@ -1,11 +1,11 @@
<?php
/* Template Name: Streaming */
get_header();
//wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
wp_nav_menu( array( 'theme_location' => 'stream-menu', 'container_class' => 'content subnav cf' ) );
?>
<section class="content grid">
<div class="col-left">
<h1><?php pll_e('Streaming') ?></h1>
<!-- <h1><?php pll_e('Streaming') ?></h1> -->
<?php
if (!empty($_GET['track'])) {