So I’m trying to look pull posts that are only in the blog category and display 10 posts on the page. I’m thinking this should work, but I’m not sure why it isn’t. The page is still pulling posts from all categories.
<?php
$blogposts = new WP_Query(array(
'category_in' => 'Blog',
'posts_per_page' => 5000,
));
?>
<?php query_posts('blogposts'); ?>
<?php if ( $blogposts->have_posts() ) : while ( $blogposts->have_posts() ) : $blogposts->the_post(); ?>
................