Custom Post Types strange pagination problem
I think your problem is at the following lines: if ( get_query_var( ‘post_type’ ) ) $post_type = get_query_var( ‘post_type’ ); else $post_type=”job_listing”; Your post_type var will probably already being set, so you are calling some different post type (the one stored inside the query_vars array with the post_type key), which maybe does not have a … Read more