• To anyone out there,

    I’m running a self-hosted WordPress blog/cms that I’ve designed, site link is below:

    https://catherinenewton.net

    As you can see, the home page isn’t viewing correctly. This is because of one closing div tag. Normally this wouldn’t be a problem to fix, however:

    – All the other Pages using the page.php template look fine and don’t have any issues.
    – Whenever I make any of the pages the static home page (as a test), they display incorrectly.

    My questions:
    1. Which template does the static home page look at, if it is different from the normal page.php template?
    2. What is changing the code?

    I really hope someone can help me!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • If it doesn’t have a custom page template, then the static front page uses front-page.php (if it exists). If the theme includes home.php, that template file may also be used.

    Thread Starter bdndnet

    (@bdndnet)

    thanks esmi. i’m using the twenty ten template, and i don’t seem to have either front-page.php or home.php

    on the front page, all i need to do is add a </div> just before the <div id=”main”> to get it to display properly (at least that’s what firebug is displaying!). i’ve duplicated the page.php twice, one named home.php, one named front-page.php but it still won’t work!

    this is really doing my head in!

    Try creating a custom template for your home page.

    Thread Starter bdndnet

    (@bdndnet)

    I’ve solved the issue now: I copied the content of header.php into all my other templates and made a couple of changes, and then changed the header.php to make the home page work. A stupid amount of work for a problem that shouldn’t exist, but hey it works now.

    In Reading change the front page back to ‘select’ — this worked for me… I think the error occurs when using option tree to select a static page as well as through reading.

    Hope that helps

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Static Front Page creating problems’ is closed to new replies.