Posted by studioJMC as WordPress Information, WordPress Themes, WordPress Wednesdays
Welcome to the first ever WordPress Wednesday! Each week we’ll be answering as many of your questions about the blogging platform WordPress as possible. If you have questions you’d like answered that aren’t covered here, feel free to drop them in the comment form below. With that out of the way, let’s jump right in!
I’d like to use something other than my recent posts as my home page. Is that possible within WordPress?
It’s not only possible it’s relatively easy. The first step is to create a page to serve as your new home page. For the purpose of this example, we’ll call it “My New Home Page.”
While you’re still in the Write Page subpanel, create a second page:
Now you’re ready tell WP to use your new page as the home page:


View your site. “My New Home Page” should now be your home page.
Note: Any Page Content you have entered for the page you designate as your Posts Page will be overwritten by the listing of your recent posts.
See also the WordPress Codex page: Reading Options Subpanel
If your theme is set to display a list of your pages, the list should now contain links to both My New Home Page and Recent Posts. In the case of the Blogging Experiment Theme, this causes a bit of a problem since our menu is designed to display a “Home” link along with the page links.

Here’s the code from our menubar.php theme file:
<div class=”TopMenu”><a name=”top” id=”top”></a><ul><li><a href=”<?php echo get_option(’home’); ?>/”>Home </a></li><?php wp_list_pages(’depth=1&sort_column=menu_order&title_li=’ . __(”) . ” ); ?></ul></div>
To remove the (now redundant) Home link, simply delete:
<li><a href=”<?php echo get_option(’home’); ?>/”>Home </a></li>
There’s one more problem, right now our page links are in alphabetical order. Fortunately the sort_column parameter of the wp_list_pages function in our code is set to menu_order. That means we can adjust the menu order by editing the Page Order setting for our pages:
Pages with lower Page Order appear first in the menu. Pages with the same Page Order are sorted alphabetically. Our menu should now look like this:

By default, newly created pages have a Page Order of zero which will put them at the front of your menu if you forget to change it.
For more about the wp_list_pages WordPress template tag, see http://codex.wordpress.org/wp_list_pages
If you have a question you’d like me to address or (better yet) if you have a WordPress tip, trick or tutorial you’d like to share let us know!
26 Responses
Coryan | UTurnAhead
February 27th, 2008 at 8:30 pm
1I’ve been working on a new website (not particularly a blog) and was about to do some research on using a static homepage. Well, you’ve done it for me. Thanks for the excellent tutorial on setting up my static page AND solving a couple of the challenges that occur (the menu tab issue). I’ve printed out this post and will use it as a guide.
Dr. $hocka
February 28th, 2008 at 8:32 am
2Excellent post. Look forward to seeing more of this series.
Vicky
February 28th, 2008 at 10:24 am
3Thanks for this. I too look forward to more. I was wondering how to change the menu after doing a static page. How do you get your photos to stop wrapping around the text in a theme?
renee - 21st Century Parenting
February 28th, 2008 at 10:50 am
4Thanks for posting this. Wordpress is great. But it can be tricky sometimes. Most people have no idea how to have a “hybrid” blog/static site. It’s great that you are sharing the knowledge.
Also, the PAGES thing can be even more tricky!
Thanks!
renee
cuzzy
February 28th, 2008 at 12:25 pm
5man where were you a few weeks ago when I painfully did this on my own
thanks for the post. I look forward to wednesday’s now
The Best of the Blogosphere: February 29, 2008 | Super Blogging
February 29th, 2008 at 1:43 am
6[…] Using a WordPress Page as Your Home Page at Blogging Experiment. […]
Mike Huang
February 29th, 2008 at 1:43 am
7Great tutorial for us noobs
-Mike
Random Views From The Subconscious Mind » StumbleUpon Weekend
February 29th, 2008 at 6:22 pm
8[…] lucky person is Ben Cook, owner of Blogging Experiment. He showed how you could use a static homepage using Wordpress. The steps are beautifully laid out and it’s easy to […]
This Month In SEO - 2/08 - TheVanBlog
February 29th, 2008 at 7:27 pm
9[…] Using a WordPress Page as your home page […]
mac
March 1st, 2008 at 8:26 am
1010 votes for you! this guide is really helping me up on my sites. I already had a headache just to set this WP. Thanks a lot!
Around the Net with Knup - 3/1/2008 | knupNET
March 1st, 2008 at 9:18 am
11[…] Use wordpress page as homepage [Blogging Experiment] […]
Simlock verwijderen
March 1st, 2008 at 4:51 pm
12Why is it useful to keep or make Wordpress as your homepage? Because I think a introductional page is the best way to keep or make as an homepage. Don’t you?
How to be a successful blogger » The Blogrepreneur | The Blogrepreneur
March 2nd, 2008 at 1:43 am
13[…] Using a WordPress Page as your home page by Blogging Experiment […]
Sunday Chatter - 3/2 - Money Making Scoop
March 2nd, 2008 at 8:01 am
14[…] else throughout your site. It’s quite simple to set this up (no plugins required either). BloggingExperiment.com goes into detail on how to accomplish setting up a WordPress page to be displayed as your home […]
Pat
March 2nd, 2008 at 7:36 pm
15I manage a content blog and knowing how to do this “trick” was SO useful for me. People entering my website now see a static table of contents rather than the usual reverse chronological post order that makes my website NOT useful.
BTW, Ben, your blog rules. I hope I can compete with you someday.
Charity, Linux, WordPress | The BookmarkMoney Blog
March 3rd, 2008 at 7:39 pm
16[…] Using WordPress to manage a mostly static website. […]
Robin
March 8th, 2008 at 3:28 am
17Thanks a lot for the trick, been weeks trying to figure out this. Cheers!
Todd
March 10th, 2008 at 1:36 pm
18Great article, thanks. I do have a small issue though. When using a Page to display recent posts (’Recent Posts’ as you suggested) the Recent Posts page is not highlighted in the nav when you are on that page. My temporary static index Page (Static Index Page) highlights just fine, but no dice on Recent Posts. This highlighting is the default behavior for wp_list_pages, so I am wondering why this method breaks it.
Thanks again for this article.
This Month In SEO - 2/08 | TheVanBlog
March 10th, 2008 at 10:26 pm
19[…] Using a WordPress Page as your home page […]
Jenna
March 14th, 2008 at 1:29 pm
20Thanks so much for this tutorial. I had an idea of how to do this, but I always like to have a guide (if possible) whenever I try something new. Especially when I’m doing something for a job, which I was with this one. You explained it perfectly and it worked like a charm first try! THANKS AGAIN!
jason
April 22nd, 2008 at 4:19 am
21Dude, You are the Mang!
I had been searching everywhere for this function, downloading all kinds of plug-ins and it was right here the whole time!
Thanks Again and I signed up for your RSS and look foward to more words of wisdom that save me time and energy.
Pino
April 24th, 2008 at 8:29 am
22This duplicate ‘home’ on the menu bar had been a nasty issue for a 1.5 month old newbie like me. After searching 20 odd sites INCLUDING the wp site, you gave a clear and simple answer.
Many Thanks.
Pino
http://www.LanSmith.com
Pino
April 24th, 2008 at 8:37 am
23Do you have a similar tutorial on how to add a ‘drop down menu’ that displays sub pages off a main menu item? Like ‘Services Offered’ and under that, the list of services…
Also, is there a way to manually sort the items appearing under ‘Pages’ widget on the sidebar?
Thanks.
Franchi
May 27th, 2008 at 11:58 am
24Thanks for this tutorial. I`ve been looking on how to do this since a long time ago.
Rane
July 17th, 2008 at 4:17 pm
25Thanks a lot for your tutorial, already found the solution in editing my WP frontpage
so easy…
Christoffer
December 15th, 2008 at 4:04 pm
26Thanks a lot for this article!
I’m about to setup my very first homepage and have already installed wordpress on my server. Later on, I had some idea of building the whole homepage around wordpress. This article will help me a lot!
Just one question, is it legal to build my whole homepage using an already known theme? I mean wordpress is open source, right? But is it legal to take a theme and modify it, to make my whole homepage look the same?
Thanks,
Christoffer
RSS feed for comments on this post · TrackBack URI
Leave a reply
to top of page...