Hello to all,
i have this query_posts which displays 8 videos of all category
query_posts( array ( 'posts_per_page' => 8, 'post_type' => 'portfolio' ) );
how can i modify it and add condition that it will only display a specific category. Category ID is 5 for example.?
Thanks a lot 🙂
- The topic ‘Help on query_posts() Show only specific category’ is closed to new replies.