WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change menu label for "Home" (7 posts)

  1. nwtech
    Member
    Posted 3 years ago #

    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

  2. lbraxton
    Member
    Posted 3 years ago #

    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.

  3. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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.

  4. nwtech
    Member
    Posted 3 years ago #

    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.

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    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,

  6. alchymyth
    Forum Moderator
    Posted 3 years ago #

    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)

  7. nwtech
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.