treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Wordpress Static Front Page

  • I'm building a site on Wordpress and I want it to have a static front page and a separate blog page. Is it just a matter of making a template for the home page, a template for the blog page and selecting each of those pages in the Reading Settings as Front Page and Posts Page?
  • Yes it's just that easy. To style the "static" page, you would have to style the "page.php" file, if I am not mistaking.

    -Chris
  • Yes, it's that easy =)

    I actually recommend that way. The other way is to make a "home.php" file and your theme will automatically use that as a homepage. But in my limited testing in this, it kinda screws up your ability to then also declare a Blog page, at for example, /blog/ by just using Settings alone.
  • Thanks for the feedback, you guys named Chris are pretty helpful. Is there any downside to having the site be just static HTML, but having the blog section run on Wordpress?
  • Not really. Well, you could argue that there could be permalink (URL) differences. Though, you could just install WordPress in the root and code your theme's index.php page like a standard HTML page.