cleanup, this was too ugly even for me
This commit is contained in:
parent
d7969d22fa
commit
877df9b2cd
12
page.php
12
page.php
|
@ -1,17 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
get_header();
|
get_header();
|
||||||
|
|
||||||
if ( $pagename == 'about' ||
|
/* Some special pages (the ones describing the event, team, etc. need a special submenu */
|
||||||
$pagename == 'about-3' ||
|
if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history)/', $pagename) ) {
|
||||||
$pagename == 'ideas-and-recommendations' ||
|
|
||||||
$pagename == 'feedback' ||
|
|
||||||
$pagename == 'team' ||
|
|
||||||
$pagename == 'team-2' ||
|
|
||||||
$pagename == 'history' ||
|
|
||||||
$pagename == 'history-2') {
|
|
||||||
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' ) );
|
||||||
echo '<div class="separator"></div>';
|
echo '<div class="separator"></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (openfest_home_page()) {
|
if (openfest_home_page()) {
|
||||||
$coldiv1='';
|
$coldiv1='';
|
||||||
|
|
Loading…
Reference in New Issue