initfest/page.php

40 lines
903 B
PHP
Raw Normal View History

2014-10-07 14:52:34 +03:00
<?php
get_header();
if ( $pagename == 'about' ||
2014-10-09 00:08:39 +03:00
$pagename == 'about-3' ||
2014-10-07 14:52:34 +03:00
$pagename == 'ideas-and-recommendations' ||
2014-10-09 00:08:39 +03:00
$pagename == 'feedback' ||
2014-10-07 14:52:34 +03:00
$pagename == 'team' ||
2014-10-09 00:08:39 +03:00
$pagename == 'team-2' ||
$pagename == 'history' ||
$pagename == 'history-2') {
2014-10-07 14:52:34 +03:00
wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
echo '<div class="separator"></div>';
2014-10-09 00:08:39 +03:00
}
2014-10-07 17:02:23 +03:00
if (openfest_home_page()) {
$coldiv1='';
$coldiv2='';
} else {
$coldiv1='<div class="col-left">';
$coldiv2='</div>';
}
2014-10-07 14:52:34 +03:00
?>
<section class="content grid">
2014-10-07 17:02:23 +03:00
<?php echo $coldiv1; ?>
2014-10-07 14:52:34 +03:00
<h1><?php the_title(); ?></h1>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
the_content();
endwhile;
endif;
?>
2014-10-07 17:02:23 +03:00
<?php echo $coldiv1; ?>
<?php if (!openfest_home_page()) get_sidebar(); ?>
2014-09-30 12:44:55 +03:00
</section>
2014-10-07 14:52:34 +03:00
<?php get_footer(); ?>