Breadcrumbs
Home / WordPress Static Home PageWordPress Static Home Page
I’ve been asked about this a few times lately, I know there’s a plugin that does this, but this is the most simple way, by far.
Duplicate the page.php file of your theme and name it home.php
Right before the line that starts with “< ?php if (have_posts())…”,
add this line: “< ?php query_posts(‘pagename=home’); ?>“
Create a page in the wordpress admin, and make sure that it’s post-slug is “home“
Done. Now the page called “home” will show as your homepage.
This entry was posted on Monday, November 5th, 2007 at 10:32 pm and is filed under Web Design.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.