2014-10-07 14:52:34 +03:00
|
|
|
<?php
|
|
|
|
get_header();
|
|
|
|
|
|
|
|
if ( $pagename == 'about' ||
|
|
|
|
$pagename == 'ideas-and-recommendations' ||
|
|
|
|
$pagename == 'team' ||
|
|
|
|
$pagename == 'history' ) {
|
|
|
|
wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
|
|
|
|
echo '<div class="separator"></div>';
|
|
|
|
}
|
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
|
|
|
|
2014-10-04 17:31:15 +03:00
|
|
|
<?php get_footer(); ?>
|