I am currently developing a custom theme for a client and i have a custom post type that i created called Press Releases. I am loading the Press release posts on a template page labelled template-press.php. Inside this template i am running a WP_Query to fetch my press releases and then restoring the query back to the original wordpress query. The problem i am experiencing is the pagination - it keeps throwing a 404 error when i click on the Next Page link.
The webpage can be viewed here: http://test.inago.com/press/
I configured wordpress to display 5 posts at a time and there a total of 10 Press Release posts. The first 5 are being displayed followed by the Next Page link but again the Next Page link takes me to a 404 error instead of displaying the next 5 Press Release posts.
Can anyone shed some light as to why this is happening?