• ndamaren

    (@ndamaren)


    I’m trying to setup static pages. I want my ABOUT page to be my home page when entering my site. for some reason, it is not working. i tried fixing this in the settings, but not working.

    is there some code i can put in somewhere to have my ABOUT page as my “homepage” ?

    thank you.

    -ndamaren

Viewing 15 replies - 1 through 15 (of 31 total)
  • esmi

    (@esmi)

    Thread Starter ndamaren

    (@ndamaren)

    what im not sure how to do this is this …

    Set the “Home” template to the default template or any custom template. Title your template as something other than home.php as this could cause a conflict.

    thanks

    -ndamaren

    esmi

    (@esmi)

    Don’t worry about that part.

    Jonas Grumby

    (@ss_minnow)

    The template for a static home page needs to be named front-page.php

    http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

    esmi

    (@esmi)

    No – it doesn’t!

    Jonas Grumby

    (@ss_minnow)

    Then in the Settings choose which “static page” you want to show as your main page, and that page will automatically use the front-page.php template.

    Jonas Grumby

    (@ss_minnow)

    I think there is some confusion about what is meant by a “static page”. If you go into Settings > Reading and select “a static page” whatever page you select there will use the front-page.php template.

    esmi

    (@esmi)

    That’s not correct. Not all themes have a front-page.php template file. The default page.php template (or any custom page template) works just as well. front-page.php is only required if you want to apply a front page specific template automatically.

    Jonas Grumby

    (@ss_minnow)

    That IS correct. If your theme does not have a front-page.php template file you can MAKE ONE. This seems to be what the person is asking about.

    esmi

    (@esmi)

    Of course you can make one but it is not needed. The default page template will work just as well with a static front page.

    Jonas Grumby

    (@ss_minnow)

    The default page.php template will apply that template to any of your pages that do not otherwise have a template made for them.

    Jonas Grumby

    (@ss_minnow)

    If you want a template that is only for your static home page, name it front-page.php. Believe me. I’ve done it many times.

    esmi

    (@esmi)

    So have I but it’s not required if you want a static front page on your site. The OP asked how to set his About page to be his front page – not how to apply a custom page template to his front page.

    Thread Starter ndamaren

    (@ndamaren)

    ok, so my theme has a front-page.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    so how do i get my ABOUT page as the front page?

    im all confused now. lol

    thank you!

    -ndamaren

    Jonas Grumby

    (@ss_minnow)

    Settings > Reading

Viewing 15 replies - 1 through 15 (of 31 total)

The topic ‘Static Pages’ is closed to new replies.