Does anyone know if it's possible to list the latest five posts on a static page, but only those posts that have been tagged with a certain keyword?
I've got this so far, but can't work out how to filter the post list based on what tag was used...
<?php
$args = array( 'numberposts' => 5, 'order'=> 'DESC', 'orderby' => 'post_date' );
$postslist = get_posts( $args );
foreach ($postslist as $post) : setup_postdata($post); ?>
<?php the_time('F j, Y'); ?>
<a href="<?php echo get_permalink(); ?>">
<?php the_title(); ?>
</a>
<?php the_excerpt(); ?>
<?php endforeach;
?>
Any help appreciated.