Need 2 columns from this 1 full width and 2 columns code
-
I need to take out the 1 full width portion of this code and make it run like the bottom 2 posts below it. Meaning I want 2 column posts set up just like this.
what do I need to change in this code?
<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>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need 2 columns from this 1 full width and 2 columns code’ is closed to new replies.