Merge pull request #1 from initLab/master

add code-of-conduct for the submenu
This commit is contained in:
Vencislav Atanasov 2015-09-20 16:09:05 +03:00
commit 7b3ca9cc69
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' ) );
} }