• Resolved lehar001

    (@lehar001)


    Hello!

    I’ve created a new page for my wordpress site with a new template on it. Right now it contains the default wordpress loop that outpouts the five most recent blog posts. Everything looks fine, except this is not a page where I want to have blog posts – I want to fill it with static HTML (it’s an “About us” page). Having done this before, I thought it would be easy! I went into my “page-about us.php” and deleted everything inside the <div id=”main-content”>. By doing this, everything dissapeared and the page turned blank. Not even the sidebar or header gets loaded…

    Does anyone know what I’ve done to mess it up like this?

    Thank you!

Viewing 1 replies (of 1 total)
  • Thread Starter lehar001

    (@lehar001)

    I fixed it myself, yeeey!

    Turns out my main-content div didn’t contain the 404 part of the loop. For some reason, leaving that while removing the rest of the loop made the page crash!

Viewing 1 replies (of 1 total)
  • The topic ‘Help replacing default loop with static HTML in main-content’ is closed to new replies.