I have a template for a custom post-type
single-continent.php which calls a secondary WP_Query loop to load a list of posts.
$query = new WP_Query(array( 'meta_query' => array($meta_queries), 'order' => 'DESC', 'orderby' => 'date', 'paged' => $paged, 'post_status' => 'publish', 'post_type' => 'post' ));
The function is setup to use
get_query_var() to check for page/paged but I cannot seem to make the URL
/page/2 work. Instead I get a 301 redirect back to the continent. I can use
/2 which is picked up by
get_query_var('page') but not sure if this is the correct solution (and I need to be able to use this with
newsposts on a page, but I have a custom post type here. I don't want to look through
continentsbut rather loop through
postsfrom my continent page itself.