Custom Post Type Pagination Doesn't Work in Wordpress 3.4
I updated to wordpress 3.4 and after so my pagination broke showing not found on page/2 etc. I am using custom post types and custom query such as:
<?php $type = 'products'; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args=array( 'post_type' => $type, 'post_status' => 'publish', 'paged' => $paged, 'caller_get_posts'=> 1 ); $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query(); $wp_query->query($args); ?>
is there any possible fix for that? thank you.