add code-of-conduct for the submenu

This commit is contained in:
Vasil Kolev 2015-09-20 15:44:01 +03:00 committed by Openfest
parent 143075adbf
commit cce86c0383
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
get_header(); get_header();
/* Some special pages (the ones describing the event, team, etc. need a special submenu */ /* 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) ) { if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers|code-of-conduct)/', $pagename) ) {
wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) ); wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
} }