WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Bones theme with a static front page. The header.php calls the bones_main_nav() function without parameters, while bones_main_nav() only calls the wp_nav_menu() function.

share|improve this question
Do you have any menus defined in Appearance -> Menus? – Pat J May 29 '13 at 13:04
@PatJ No, I haven't touched that. – Gergő May 29 '13 at 13:07
up vote 0 down vote accepted

wp_nav_menu with no arguments and no menus defined in the back end at wp-admin->Appearance->Menus (which sounds like the circumstance you describe) just lists your pages, plus a "Home" link.

That is done by calling wp_page_menu, the default callback for wp_nav_menu, which means that under those conditions you can alter that text by hooking to wp_page_menu_args and setting, or changing, the show_home argument.

function alter_default_home_link_wpse_1011444($args) {
  $args['show_home'] = 'Home is where the heart is';
  return $args;
add_filter( 'wp_page_menu_args', 'alter_default_home_link_wpse_1011444');
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.