diff --git a/page-speakers.php b/page-speakers.php index aef4f36..d856ad2 100644 --- a/page-speakers.php +++ b/page-speakers.php @@ -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' ) ); +} + +?>
diff --git a/page.php b/page.php index 66b3413..56da11d 100644 --- a/page.php +++ b/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 '
'; } +if ( preg_match('/^(schedule|programa|speakers|halls)/', $pagename) ) { + wp_nav_menu( array( 'theme_location' => 'footer-schedule', 'container_class' => 'content subnav cf' ) ); +} + +echo '
'; + if (openfest_home_page()) { $coldiv1=''; $coldiv2='';