Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- query_posts( $query_args );
- if (have_posts()) :
- echo '<div class="six columns">';
- while (have_posts()) : the_post();
- $postcount++;
- if( ($postcount % 2) == 1 ) : // skip 'even' posts
- else :
- include('post-loop.php');
- endif;
- endwhile;
- echo '</div> <!-- end first column -->';
- $postcount = 0;
- rewind_posts();
- echo '<div class="six columns"> <!-- start second column -->';
- while(have_posts()) : the_post();
- $postcount++;
- if( ($postcount % 2) != 1 ) : // skip 'odd' posts
- else :
- include('post-loop.php');
- endif;
- endwhile;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement