2014-10-07 14:52:34 +03:00
|
|
|
<?php
|
|
|
|
get_header();
|
|
|
|
|
2014-10-09 00:22:36 +03:00
|
|
|
/* Some special pages (the ones describing the event, team, etc. need a special submenu */
|
2015-09-20 15:44:01 +03:00
|
|
|
if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers|code-of-conduct)/', $pagename) ) {
|
2014-10-07 14:52:34 +03:00
|
|
|
wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
|
2014-10-09 00:22:36 +03:00
|
|
|
}
|
2014-10-07 17:02:23 +03:00
|
|
|
|
2014-10-16 19:29:43 +03:00
|
|
|
if ( preg_match('/^(schedule|programa|speakers|halls|workshop)/', $pagename) ) {
|
2014-10-15 17:31:41 +03:00
|
|
|
wp_nav_menu( array( 'theme_location' => 'footer-schedule', '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-14 18:22:19 +03:00
|
|
|
<?php echo $coldiv2; ?>
|
2014-10-07 17:02:23 +03:00
|
|
|
<?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(); ?>
|