I’m having problems where what are supposed to be static pages returning a post instead. This happens with all of my static pages, including my home page. I believe its something to do with the code for the theme I’ve been creating.
First and perhaps most importantly, I’m using the plugin pg4wp. Its possible this causing the problem, but I don’t think it is as I had the static pages running properly earlier.
If you want to take a look at the site:
All the links at the top (ignore “Contact”), besides “News” and “Events” are links to static pages. They come up with one of my news posts (which is missing the title and date etc because it is using the theme file page.php). “News” and “Events” are categories which come up as expected.
Also note that the links cannot be the problem, as when I go “View Page” from the Admin Panel, I get the same result.
Hopefully someone is able to help me, I’m going out of my mind trying to solve this one.