Adding a “Home” link to the Pages Menu in WordPress 2.9.2.

Example site:

One simple change to the header.php file makes the Home page link show up in the Pages Menu. Add the number “1” between the = symbol and the & symbol. See red-colored 1 in the second example below:

<?php wp_page_menu(‘show_home=&sort_column=menu_order, post_title&link_before=<span>&link_after=</span>’); ?>

Change to:
<?php wp_page_menu(‘show_home=1&sort_column=menu_order, post_title&link_before=<span>&link_after=</span>’); ?>

Lots of help from the WordPress codex:

No Comments

  1. Cliff Bolnick on July 15, 2010 at 4:58 am

    I really dig what you write on here. We try and come back to it every day so keep up the good articles!

  2. Ryans on August 25, 2010 at 4:13 pm

    oh man thats too funny. I am looking for a way to make the nav menu horizontal and found this page through a google search. Whats funny about it is that i’m working on editing the exact same theme. take a look at my link.

    So yeah, do you have any idea as to how i could change this nav menu to a horizontal one from the current drop down style it is now?

    • admin on August 25, 2010 at 4:51 pm

      Hey Ryan, That is too funny – LOL. Yeah, my client found that Fashion Blog template at Template Monster and I’ve been customizing it. I never tried to make the nav go horizontally, so I have no idea. Sorry. Off the top of my head, it’ll be a bunch of changes in the CSS. Although, going from vert to horz or visa-verse always takes me forever to figure out. My resources for this are: and . I hope that helps.

Leave a Comment