Support » How-To and Troubleshooting » [Resolved] Static Pages Overrun by a Post

[Resolved] Static Pages Overrun by a Post

  • Hi,

    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.


Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    The only plugin I have installed is akismet, which isn’t activated.

    However, I tried switching themes which let the static pages show, so its definately a problem with my theme. I’ll go through the code and see if I can find where I’ve gone wrong.

    Any pointers on where to start would be most welcome 🙂

    Thanks for your help esmi



    Forum Moderator

    All I can say is that the issue is probably within page.php. At least that’s where you need to start your troubleshooting.

    Thanks, found the issue.

    Had removed the div which told WordPress what the post class was.

    Cheers for the help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Static Pages Overrun by a Post’ is closed to new replies.