how to define category loop last class in the third
You can do with php modulus % operator. Lets work with your code. <?php if ( have_posts() ) : ?> <?php twentyeleven_content_nav( ‘nav-above’ ); ?> <?php /* Start the Loop */ ?> <?php $count = 1; ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * … Read more