Paginated WP_Query doesn’t return 404’s, even when posts don’t exist
The script never hits a 404 so it continues to load. If I am looking at this correctly it won’t ever hit a 404, and it shouldn’t ever hit a 404. You are loading a page template, the finding and loading of which is going to be done by the main query. That page is … Read more