I'm using WP Query & want to only return 1 post in a category.
Either the most recent sticky else the latest post.
Is this possible?
Thanks, George
<?php
$category1 = new WP_Query();
$category1->query( array('showposts' => 1, 'category_name' => 'hapless ' ));
while ($category1->have_posts()) : $category1->the_post(); ?>
<h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
<?php the_post_thumbnail(); ?>
<?php endwhile; ?>