Custom posts in different columns style
You need to use the offset paramater in WP_Query e.g. <?php $loop = new WP_Query( array( ‘post_type’ => ‘recentproject’, ‘orderby’ => ‘rand’, ‘posts_per_page’ => ‘1’) ); $counter=0; ?> <?php while ( $loop->have_posts() ) : $loop->the_post(); $counter++; ?> <div class=”col-8 columns”> <?php edit_post_link(); // Always handy to have Edit Post Links available ?> <?php if ( … Read more