Rename “Home” Twenty Ten’s Tab

How to rename, “Home” tab on the top navigation of your WordPress blog if you use Twenty Ten theme.

I have checked in Twenty Ten Theme header.php  template file, it is completely different than kübrick theme.

It’s because wordpress 3.0.1 or 3+ supports menu custom, that is in fact very useful for us.

For example, we want to add a “static” page in index page of wordpress. See more in how to change your index page or home page wordpress 3 post.

Note: This tutorial will only change the text of “Home”, the page will stay the same. If you want to change the page content to be a non-blog using twenty ten, click the link above how to change home page.

This tutorial uses functions.php (which is very sensitive), so if you want to change it in more easy way, check my how to edit “Home” label tutorial.

Since i received two errors commenters, please watch this video: http://www.blog.web6.org/edit-index-label-menu-wordpress-3/ BEFORE you follow this tut! =D

So let’s start it, in this demo, i change “Home” to “Internet News”.

End result image:

Tips: Use your keyword to rename this “Home” tab. Get benefit for Search Engine Optimization in your blog.

Video Tutorial:

Or if video doesn’t show watch in YouTube.


Steps:

1. Admin Page (Dashboard) → Appearance → Editor → Functions.php

Be careful with functions.php, it’s best to save the content of the original file in your computer (using notepad or any HTML softwares).

2. Copy all the codes, paste it in notepad++.

3. In Line 215, or around this line, find this code:

$args['show_home'] = true;

Change it to:

$args['show_home'] = 'Internet News';

Image:

Replace the ‘Internet News’ with your custom word or keyword.

4. Copy all the codes again, paste it in functions.php in your dashboard.

5. Update File, and refresh your blog.

Credit to: WordPress

Share the knowledge
Share on Google+1Tweet about this on TwitterShare on Facebook0Pin on Pinterest0Share on Reddit0Email this to someonePrint this page

Comments

  1. shashank chinchli says

    I had taken twenty minutes to nearly half an hour to fugure out how to rename “Home” Twenty Ten’s Tab!!
    Really you publish such good tuts that might turn too useful for newbies to wordpress!
    Happy blogging!

  2. S says

    I received an error,
    Parse error: syntax error, unexpected T_STRING (on line 215)
    When I changed my custom word back to “true”, the error still didn’t go away.

  3. S says

    I’m using the twenty ten theme. Even though I put in the fresh functions.php file, I’m still getting the error. Bizarre.

  4. S says

    Ah, finally got it to work! I put in the fresh functions.php again, then tried the tut once more, and it worked. Hm. Not sure what happened the first time around. Thank you!

    • says

      Awesome!

      Glad it is fixed, editing functions.php can cause an error, small incorrect character can cause it as well.

      Happy you got it fixed, you’re most welcome!

  5. Chub says

    Hi…I am getting the following error. I have tried reverting back to a copy but still get the error?

    Any ideas

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in twentyten/functions.php on line 232

    • says

      Chub, i have noted with red font, that if you are not familiar with functions.php, you should visit another post which is: http://www.blog.web6.org/edit-index-label-menu-wordpress-3/

      That tutorial will have the same result without changing functions.php file.

      If you have functions.php error, it should be fixed with uploading the fresh functions.php file.

      Try it again, and if still has an error, i can help you by uploading it to your cPanel.

      Let me know if it helps.

  6. Chub says

    Hi Kimi…yep saw that AFTER I tried to do it the harder way…Hey Im a man we dont read things properly :-)

    Where do I get a “fresh” functions.php ?

    Cheers

    Chub

    • says

      LOL. Download wordpress.zip file from wordpress.org, , extract it, look for wp-content/themes/twentyten.

      But i have just checked your site again, it not in functions.php of twentyten, but in wp-include. I wonder what you did with your wp-includes? :D

      Try to upload twenty ten theme (the fresh one) – and rename the old one, like, twentyten_older, which i doubt it will work, since the error is now in wp-includes folder.

      If you need any help, i am here Chub.

  7. says

    Hi Kimi,
    really nice and easy explanation – I finally renamed my Home page name from “Home” into “Naslovna” as I write a blog on serbian language and it really makes me ughhhh every time I see it like “Home”.

    Thanks so much,
    Alek

  8. says

    theme twentyten renaming the home button.

    wp-includes
    edit this file post-template.php
    // Show Home in the menu
    if ( ! empty($args[‘show_home’]) ) {
    if ( true === $args[‘show_home’] || ‘1’ === $args[‘show_home’] || 1 === $args[‘show_home’] )
    $text = __(‘Home’);<<<<<<change this one

  9. Liz says

    WOW! Thanks a bunch for this. I was tearing my hair out trying understand other instructions on how to do this. Then miraculously, I stumbled upon your splendid instructions. Thanks for saving the rest of my hair! Nice idea on the intructional videos by the way. You have been bookmarked. keep it up because I will be back.