updates (commited by vasil)

This commit is contained in:
Monika Eftimova 2014-10-07 14:52:34 +03:00 committed by Openfest
parent 1d3a065604
commit 3ad8d6db7b
7 changed files with 44 additions and 39 deletions

View File

@ -473,10 +473,14 @@ footer .content li { list-style: none; }
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
} }
.subnav .menu {
margin-left: -2.2em;
}
.subnav li { .subnav li {
float: left; float: left;
padding: 0; padding: 0;
margin: 0 1em 0 0; margin: 0 1em 0 0;
list-style: none outside;
} }
.subnav li.selected { .subnav li.selected {
font-weight: bold; font-weight: bold;

View File

@ -6,6 +6,7 @@ add_theme_support( 'post-thumbnails' );
register_nav_menus( register_nav_menus(
array( 'main-menu' => __( 'Main Menu', 'initfest' ), array( 'main-menu' => __( 'Main Menu', 'initfest' ),
'subnav-menu' => __( 'Sub Navigation', 'initfest'),
'footer-openfest' => __('OpenFest', 'initfest'), 'footer-openfest' => __('OpenFest', 'initfest'),
'footer-openfest' => __('OpenFest', 'initfest'), 'footer-openfest' => __('OpenFest', 'initfest'),
'footer-schedule' => __('Schedule', 'initfest'), 'footer-schedule' => __('Schedule', 'initfest'),
@ -99,7 +100,8 @@ function transport_shortcode() {
if ( $transport->have_posts() ) : if ( $transport->have_posts() ) :
while ( $transport->have_posts() ) : $transport->the_post(); while ( $transport->have_posts() ) : $transport->the_post();
?> ?>
<p><?php the_title(); ?> <br /> <?php the_content(); ?></p> <h4><?php the_title(); ?></h4>
<p><?php the_content(); ?></p>
<?php <?php
endwhile; endwhile;
endif; endif;

View File

@ -1,10 +1,12 @@
<?php get_header(); ?> <?php get_header(); ?>
<section id="content" role="main" class="content"> <section id="content" role="main" class="content grid">
<div class="col-left">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'entry' ); ?> <?php get_template_part( 'entry' ); ?>
<?php comments_template(); ?> <?php comments_template(); ?>
<?php endwhile; endif; ?> <?php endwhile; endif; ?>
<?php get_template_part( 'nav', 'below' ); ?> <?php get_template_part( 'nav', 'below' ); ?>
</section> </div>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</section>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -1,17 +0,0 @@
<?php
get_header(); ?>
<section class="content grid">
<div class="col-left">
<h1><?php the_title(); ?></h1>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
the_content();
endwhile;
endif;
?>
</div>
<?php get_sidebar(); ?>
</section>
<?php get_footer(); ?>

View File

@ -1,8 +1,4 @@
<?php <?php
/*
Template Name: Speakers
*/
get_header(); ?> get_header(); ?>
<div class="separator"></div> <div class="separator"></div>
<section class="content grid"> <section class="content grid">
@ -36,7 +32,7 @@ get_header(); ?>
endif; endif;
?> ?>
</div> </div>
<div class="col-right"><?php get_sidebar(); ?></div> <?php # get_sidebar(); ?>
</section> </section>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -5,6 +5,8 @@ Template Name: Sponsors
get_header(); ?> get_header(); ?>
<section class="content"> <section class="content">
<h1><?php the_title(); ?></h1>
<div class="separator"></div>
<?php <?php
if ( have_posts() ) : while ( have_posts() ) : the_post(); if ( have_posts() ) : while ( have_posts() ) : the_post();
the_content(); the_content();
@ -29,7 +31,7 @@ get_header(); ?>
the_title(); the_title();
} }
the_content(); the_excerpt();
?> ?>
</div> </div>
<?php <?php

View File

@ -1,10 +1,26 @@
<?php get_header(); ?> <?php
<section id="content" role="main"> get_header();
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'entry' ); ?> if ( $pagename == 'about' ||
<?php //comments_template(); NO COMMENTS IN PAGES PLEASE ?> $pagename == 'ideas-and-recommendations' ||
<?php endwhile; endif; ?> $pagename == 'team' ||
<?php //get_template_part( 'nav', 'below' ); ?> $pagename == 'history' ) {
</section> wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) );
echo '<div class="separator"></div>';
}
?>
<section class="content grid">
<div class="col-left">
<h1><?php the_title(); ?></h1>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
the_content();
endwhile;
endif;
?>
</div>
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
</section>
<?php get_footer(); ?> <?php get_footer(); ?>