renaming the home tab in twenty eleven (3 posts)

  1. savedave
    Posted 3 years ago #

    Hi there

    I have been reading around looking for a solution - I want to give the Home tab in my new site: http://www.nadaav.com/n a different title. Lots of people in forums have been saying it's impossible, and you need to do custom menus and so on, but I know that is not the case.

    I have managed this on two previous sites, but it was some time ago and I have forgotten how I did it.

    For example if you see http://www.nadaav.com/soundasleep and http://www.nadaav.com/news - you will see that there is no home tab in either - or rather the home tab has been renamed in both. Neither have custom menus.

    I can't seem to work out how to do it again though.

    Can anyone remind me how this is done?

    thanks kindly


  2. Tara
    Volunteer Moderator
    Posted 3 years ago #

    in your child theme's functions.php, add some code;

    for example, try this snippet:

    add_action( 'after_setup_theme', 'twentyeleven_child_theme_setup' );
    function twentyeleven_child_theme_setup() {
    add_filter( 'wp_page_menu_args', 'twentyelevenchild_page_menu_args' );
    function twentyelevenchild_page_menu_args( $args ) {
    	$args['show_home'] = 'Welcome!'; // rename 'home' button
    	return $args;


  3. savedave
    Posted 3 years ago #

    thanks - i will give this a try

Topic Closed

This topic has been closed to new replies.

About this Topic