add program subnav menu in the program pages, request by Yavor
This commit is contained in:
parent
1216ec2f0a
commit
fc969b0296
|
@ -3,7 +3,13 @@
|
|||
* Template Name: Speakers
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
|
||||
if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) {
|
||||
wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="separator"></div>
|
||||
<section class="content grid">
|
||||
<div class="col-left">
|
||||
|
|
7
page.php
7
page.php
|
@ -4,9 +4,14 @@ get_header();
|
|||
/* Some special pages (the ones describing the event, team, etc. need a special submenu */
|
||||
if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers)/', $pagename) ) {
|
||||
wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
|
||||
echo '<div class="separator"></div>';
|
||||
}
|
||||
|
||||
if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) {
|
||||
wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) );
|
||||
}
|
||||
|
||||
echo '<div class="separator"></div>';
|
||||
|
||||
if (openfest_home_page()) {
|
||||
$coldiv1='';
|
||||
$coldiv2='';
|
||||
|
|
Loading…
Reference in New Issue