Is there any way to stylize articles one by one?
The $current_post property of the WP_Query object for the Loop should tell you which post you are on. Something like this should work: <?php $pclass = ($wp_query->current_post === 1) ? ‘middle-post-class’ : ‘first-last-class’ ; ?> <div id=”post-style” <?php post_class($pclass); ?> > <h1 class=”title”><a href=”https://wordpress.stackexchange.com/questions/87942/<?php the_permalink() ?>”><?php the_title(); ?></a></h1> <?php the_content(); ?> </div> The built in … Read more