Using $args showing 404 on page 2
-
Hi,
Was wondering fi anyone had come across this issue before and knows how to fix it?
I’ve added this piece of code before my loop.
$args = array( 'post_type' => 'events', 'post_status' => 'future', 'order' => 'DESC');
It display my future custom posts fine on the first page but when I click ‘view older posts’ to go to ‘/page/2/’ I get my 404 page.
Any help would be much appreciated.
Many Thanks
Pete
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Using $args showing 404 on page 2’ is closed to new replies.