I've got a page of which I'm displaying a load of custom post type posts, much like blog displays a load of posts.
I'm using WP_Query
and have my pagination links outputting correctly, however when I navigate to the page 2 url (/my_page/page/2
) I get a 404, not surprising because I think WordPress thinks I want sub pages... but I don't, I want that value as the paged value.
Is there a way to enable this on a specific page?
get_query_var( 'paged' );
? If not: search for that (via google) on the site.page
and2
... I don't./my_page
. If you then add/page
it does a lookup (depending on your rewrite rules) forpage/paged
query var with the value2
. You need to add much more info to that question.