I'm creating an authors.php page to display all the posts for the author clicked.
But the list(s) needs to show the very first / latest post so I can style it diferently than the rest of the posts?
I did think of just having 2 queries, one query just displaying the very first post, so I can style the thumbnail size, title size etc. in this loop;
<! -- Start the Loop . -->
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"
title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php the_post_thumbnail(); ?>
<small><?php the_time('F jS, Y') ?> by <?php the_author_posts_link() ?></small>
<?php the_excerpt();
endwhile;
endif;
Then another query minus the first post?
I'd like it done in a way so I can easily style it using divs etc. Does that make sense and is this possible?
:first-of-type