Forums

How to change the NAME of the home button to your own language!? (4 posts)

  1. Sylvi@King
    Member
    Posted 2 years ago #

    Hi!
    I have tried to figure this out before, but ended up making a NEW Homebutton in my own language(Norwegian) and even linking it to be the home-page. But the original HOME-button stayed put and I couldn't find out how to remove it. Also, as I added a Home-page button in my own language, it resulted in not enough room for the menu-buttons causing the lasat button down on a second line - NOT very flattering.

    So, to my Q: How, and where do I translate HOME into HJEM?

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    this will depend on the theme you are working with;

    in twenty ten for instance, this is in functions.php:

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

    where you exchange true with your name for Home

    other themes might have a hard-coded home link ....

  3. Sylvi@King
    Member
    Posted 2 years ago #

    Not really sure what twenty ten is. I am pretty new to WP.
    The theme I am using is called Specialist and is from Templatic (http://templatic.com/)

    I'll take a look at the PHP to see if I can find this section first, then get back to you!?

    What's a hard-coded home link?

  4. Sylvi@King
    Member
    Posted 2 years ago #

    Could this be it?

    The file is called: Header.php:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Topic