Custom Taxonomy and Custom Post Type Pagination giving 404 not found
I have been trying all the various solutions I have found across the web for this issue, but I still can’t get it to work – so was hoping someone could shed some light on it for me.
I’m using a custom post type called “review” and a custom taxonomy called “size” using the twentyten theme. I can display the first page of results for a certain size of review absolutely fine, but clicking on the next page link to go to page 2 of the results gives the “Not Found” message.
This is the code I’m using to get the relevant posts:
<?php $term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) );
$paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
Any help would be very much appreciated.
- The topic ‘Custom Taxonomy and Custom Post Type Pagination giving 404 not found’ is closed to new replies.