How to rename, “Home” tab on the top navigation of your WordPress blog if you use Twenty Ten theme.
How to edit the label of “Home” menu with another words, without editing functions.php.
I have posted two videos, how to change your WordPress home page to welcome your visitors with your custom welcome text – no blog posts in the front.
I have also received an email a few days ago from one of my readers that he had a problem to change the text “Home” menu tab to something else because of an error.
This error was caused by editing functions.php incorrectly. Functions.php is known to be a “sensitive” theme file in WordPress. If you are curious how to do this with functions.php, see this WordPress thread.
We can actually fix it in our cPanel or web server, but for WordPress beginner fellows, this case is scary, and can make them panic.
So today, we will rename home wording in Twenty Ten home menu tab on the top navigation bar.
This tutorial will not use functions.php file, but directly in Custom Menu option which is available in WordPress 3.0.1 or 3+.
Here are the steps
1. In dashboard page, go to Appearance → Menus.
Appearance → Menus
2. Create a custom menu by typing a menu name in “Menu Name” input box. In this tutorial I use “My menu tab”. Click “Save Menu” button. (see image)
Type in Menu Name → Create Menu.
3. Next, in the left sidebar, there is “Pages” Menu option, very important: click “View All” tab.
Here, you should see the “Home” page is listed.
Add some or all pages that you want to display on your site, by ticking the pages name or hit “Select All” button, and click “Add to Menu” button.
Pages → View All → Select/Select All → Add to Menu.
4. You should see the lists of your pages under your newly custom menu, which is called, “My menu tab”. Arrange the page order as you like, see myWordPress 3 drop down menu and WordPress change home page posts for reference to create a drop down menu and a welcome static page.
The list of the pages (step 3) should be displayed under your custom menu.
5. Next, focus on “Home” tab, click the down arrow in the corner (see image below) and edit:
Navigation Label: The wording you want to have, in this tutorial, I use: www.blog.web6.org.
Title Attribute: Any text you like, but usually short description, I use: Free WordPress tutorial. This word will show when visitors hover the tab.
When you’re ready, click “Save Menu”.
Change: Navigation Label and Title Attribute.
5. Last step: the first list under Custom menu title, there is “Theme Locations” choose our new custom menu (My menu tab) in pull down menu as the primary navigation. Click “Save”.
In newer version, you can assign the menu location directly under your “Menu Settings”
Primary Navigation → drop down → choose your custom menu, Save.
Refresh your blog, you should see the change of your menu bar.
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!
Hey Shashank,
Thanks for your nice words, well i wonder why would you try to figure this out since you don’t use Twenty Ten? =P
hey dina,
Localhost is the place where i keep experimenting!!!
My laptop is full of experiments!
Hope so u got it 😛
ahaha, same here!
Happy experimenting 😉
cool colors this page has got 😀
Thanks!
thanks
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.
Hey S,
What theme are you using?
You can upload fresh functions.php file, or fix the error, i guess you put back to true incorrect.
I already put a link in the post, that i have posted a tut where we don’t have to edit functions.php, more easy here: https://www.wpvidz.com/edit-index-label-menu-wordpress-3/
Link to your site may help too. Let me know how it goes.
I’m using the twenty ten theme. Even though I put in the fresh functions.php file, I’m still getting the error. Bizarre.
site link? Without site link, none can help :/
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!
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!
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
Chub, i have noted with red font, that if you are not familiar with functions.php, you should visit another post which is: https://www.wpvidz.com/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.
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
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? 😀
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.
Da dah…..Tis done…Thanks Kimi.
Now lets start again at the top
Could you do me a favour and take my site link out….Otherwise I may get all sorts of spammers
Well done!
Sure 🙂
Have a great evening Chub.
Thank you Kimi…..Its been a pleasure 🙂
You’re most welcome, Chub 😀
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
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
Thanks very much … it works
i have done it….
Thank’s for the helping me…
Thank you for posting this tutorial! It was really helpful :)!
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.