Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Start the Loop */
- while ( have_posts() ) : the_post();
- /* Include the post format-specific template for the content. If you want to
- * this in a child theme then include a file called called content-___.php
- * (where ___ is the post format) and that will be used instead.
- */
- ?>
- <div class="entry-content-<?php echo (( $wp_query->current_post == 0 ) ? 'main' : 'rest' ); if( $wp_query->current_post%2 == 1 ) echo ' left-post'; ?>">
- <?php get_template_part( 'content', get_post_format() ); ?>
- </div>
- <?php endwhile;
- twentytwelve_content_nav( 'nav-below' );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement