Static Page And A Wordpress Blog

This theme is designed based on a iWeb template on my Macbook. And I love it more when it is integrated with Wordpress, make my jobs so much simpler.

The main idea is: make a website with static page on the home page, and set up a blog that has link to the home page, with only single installation of Wordpress in the root folder/directory.

I duplicate the Page Template / page.php and rename it homepage.php (or home.php, or intro.php, it’s up to you).  Add this code to the top line:

<?php
/*
Template Name: Homepage
*/
?>

Then I published a page, name it Home, and choose Homepage as the Page Template.

I also duplicate the index.php, and rename it to blog.php. Then I publised another page called Blog, and choose Blog as the Page Template.

In the Setting - Reading, change the Front page displays to A static page (select below):

  • Front page: Home
  • Posts page: Blog

2 Comments »

  1. Old Permalink Redirect To The New One | Minimalist Web Design

    [...] About six hours ago, I changed permalink after a post has been published on June 25th, 2008 at 5:23 pm) and indexed by Google. Permalink changed from http://www.webminimalist.com/new-born.htm to http://www.webminimalist.com/static-page-and-a-wordpress-blog.htm. [...]

    Pingback — June 27, 2008 @ 4:14 am

  2. Google Indexed My Pages On Less Than 3 Days | Minimalist Web Design

    [...] Jun 25, 2008 at 17:23 - Installing new theme. [...]

    Pingback — June 27, 2008 @ 4:49 am

Leave a comment