WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Change menu label for "Home"

[Resolved] Change menu label for "Home"

  • I set my front page to be the page with all the posts, aka the blog. WP auto created the Menu item and labeled it “Home”. How can I change that menu label to something else?

    The newest All-in-One SEO plugin and Page Menu Editor plugin don’t have options for this. Is there another plugin or something I can change in the one of the php files?

    TiA

Viewing 6 replies - 1 through 6 (of 6 total)
  • In your admin screen click on the “Pages tab, this will show the list of pages, ie. “Home” hover your mouse over the “Home” page and click the edit link that appears. you can then change the title of that page. Press Update to update your changes.

    Moderator Michael

    @alchymyth

    WP auto created the Menu item and labeled it “Home”.

    link to your site?

    theme?

    how this ‘home’ is created, and how to change it, depends on your theme.

    Site: http://nwtechanddesign.com/jariccodance/
    Theme: Modified TwentyTen

    @lbraction — Generally speaking, this would work. However since I set the
    Front page displays > Your latest posts under “Reading”, I do not have this option because the “Home” page is not in my list of pages.

    I assume it’s somewhere hidden in the functions.php, but I’m not sure.

    esmi

    @esmi

    Forum Moderator

    If your nav menu falls back to wp_page_menu, then there’s no way to change the title of the Home menu item. You set up a custom menu instead – which would allow you to change the link text,

    Moderator Michael

    @alchymyth

    edit functions.php of twenty ten; find:

    function twentyten_page_menu_args( $args ) {
    	$args['show_home'] = true;
    	return $args;
    }
    add_filter( 'wp_page_menu_args', 'twentyten_page_menu_args' );

    change true to the name ‘Something Else’ (with the quotation marks)

    for instance:
    $args['show_home'] = 'Something Else';

    http://codex.wordpress.org/Function_Reference/wp_page_menu

    show_home
    (boolean) Add “Home” as the first item in the list of “Pages”. The URL assigned to “Home” is pulled from the Blog address (URL) in Administration > Settings > General. The default value is 0 (do NOT display “Home” in the generated list). Valid values:
    0 (False) – default
    1 (True)
    <any text> – Use this text as the link in place of “Home” (show_home is still considered true)

    @alchymyth – You rock! that worked perfect! thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Change menu label for "Home"’ is closed to new replies.