Take the 2-minute tour ×

I'm trying to create a list of links to post that are tagged a specific category. Is this possible? I'm not even sure where to begin. Any help?

so, for example I'm trying to show the 1st ten post that are tagged "video".


share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can do this by putting this where you want to display the list :

global $post;
$args = array( 'numberposts' => 10, 'offset'=> 1, 'category' => 1 );
$myposts = get_posts( $args );
<?php endforeach; ?>

In here all you need to do is replace the category ID with your desired categ ID. `'category' => 1 and that's all

share|improve this answer

Your Answer


