Commit the last changes
This commit is contained in:
parent
7020dc79d9
commit
01da2c5e4b
@ -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;
|
||||||
|
@ -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;
|
||||||
|
16
index.php
16
index.php
@ -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">
|
||||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
<div class="col-left">
|
||||||
<?php get_template_part( 'entry' ); ?>
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||||
<?php comments_template(); ?>
|
<?php get_template_part( 'entry' ); ?>
|
||||||
<?php endwhile; endif; ?>
|
<?php comments_template(); ?>
|
||||||
<?php get_template_part( 'nav', 'below' ); ?>
|
<?php endwhile; endif; ?>
|
||||||
|
<?php get_template_part( 'nav', 'below' ); ?>
|
||||||
|
</div>
|
||||||
|
<?php get_sidebar(); ?>
|
||||||
</section>
|
</section>
|
||||||
<?php get_sidebar(); ?>
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
@ -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(); ?>
|
||||||
|
@ -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
|
||||||
|
32
page.php
32
page.php
@ -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' ) {
|
||||||
|
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>
|
</section>
|
||||||
<?php get_sidebar(); ?>
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user