Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage Yoko
- * edited for full width top post
- */
- get_header(); ?>
- <div id="wrap">
- <?php if( is_home() && !is_paged() ) : ?>
- <div id="full-top" class="content">
- <?php the_post(); ?>
- <?php get_template_part( 'content', get_post_format() ); ?>
- </div>
- <?php endif; //end of if( is_home() && !is_paged() ) // ?>
- <div id="main">
- <div id="content">
- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php get_template_part( 'content', get_post_format() ); ?>
- <?php endwhile; ?>
- <?php /* Display navigation to next/previous pages when applicable */ ?>
- <?php if ( $wp_query->max_num_pages > 1 ) : ?>
- <nav id="nav-below">
- <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'yoko' ) ); ?></div>
- <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'yoko' ) ); ?></div>
- </nav><!-- end nav-below -->
- <?php endif; ?>
- </div><!-- end content -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement