Im trying to add the last sticky post to a section on my homepage as a Featured article. I have created this so far and it displays posts but not the sticky ones:
<?php query_posts(array('post__in'=>get_option('sticky_posts'),'showposts' => 1 )); ?> <?php while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php the_content(''); ?> <?php endwhile; ?> <?php wp_reset_query(); ?>
I have tried to change the query_posts to get_post. The problem then is that it displays the other 3 'latest news' posts from the other loop at the top of the page.
Any help would be really really appreciated