Fixes #2

Closed
plazmonii wants to merge 2 commits from fixes into master
6 changed files with 44 additions and 22 deletions
Showing only changes of commit 01da2c5e4b - Show all commits

View File

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

View File

@ -6,6 +6,7 @@ add_theme_support( 'post-thumbnails' );
register_nav_menus(
array( 'main-menu' => __( 'Main Menu', 'initfest' ),
'subnav-menu' => __( 'Sub Navigation', 'initfest'),
'footer-openfest' => __('OpenFest', 'initfest'),
'footer-openfest' => __('OpenFest', 'initfest'),
'footer-schedule' => __('Schedule', 'initfest'),
@ -99,7 +100,8 @@ function transport_shortcode() {
if ( $transport->have_posts() ) :
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
endwhile;
endif;

View File

@ -1,10 +1,12 @@
<?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 get_template_part( 'entry' ); ?>
<?php comments_template(); ?>
<?php endwhile; endif; ?>
<?php get_template_part( 'nav', 'below' ); ?>
</section>
</div>
<?php get_sidebar(); ?>
</section>
<?php get_footer(); ?>

View File

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

View File

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

View File

@ -1,10 +1,26 @@
<?php get_header(); ?>
<section id="content" role="main">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'entry' ); ?>
<?php //comments_template(); NO COMMENTS IN PAGES PLEASE ?>
<?php endwhile; endif; ?>
<?php //get_template_part( 'nav', 'below' ); ?>
</section>
<?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>';
}
?>
<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(); ?>