I wanted to show one category posts from all custom post types, which my code does very well but pagination just stopped working. here is my code:
<div class="col-md-9 exerpts-wrap">
<div class="row">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(array(
'post_type' => array('post', 'resources', 'products'),
'category__in' => array(3)
));
while (have_posts()) : the_post(); ?>
<div class="col-sm-6">
<div class="blog-sec">
<?php get_template_part('content', get_post_format()); ?>
</div> <!-- blog-sec ends here -->
<?php endwhile; ?>
</div> <!-- col-sm-6 ends here -->
<?php pagination_numeric_posts_nav(); ?>
</div> <!-- exerpts-wrap fix ends here -->
Any suggestion would be greatly appreciated.