Themia Lite
[resolved] Renaming The Home Tab Button (12 posts)

  1. cool.nicq
    Posted 4 years ago #

    I was trying to rename the home tab of the "Themia lite" Theme.
    Went over many tutorials.
    >> custom menu
    >> wp-includes/post-template.php
    every thing..
    but nothing i find worthier..
    Custom menu worked, but only for side bar and footer via widgets

    Yes indeed, editing post-template.php, worked
    if ( ! empty($args['show_home']) ) {
    if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] )
    $text = __('Home');

    changed to $text = __('Welcome');

    works fine... but i need something where i can rename the tab in nepali, ie. home =>> होम
    as i edited contact =>> सम्पर्क in http://galeshwordham.com.np/np/

    can anyone help me in this matter...

    Regards and Thanks in advance
    Ratan Thapa


  2. esmi
    Forum Moderator
    Posted 4 years ago #

    No! Never, ever, edit core WordPress files. Revert the changes that you made or upload a fresh copy of wp-includes/post-template.php

  3. cool.nicq
    Posted 4 years ago #

    thanz a lot for the suggestion..

    yeah i did, installed a backup copy of post-template.php
    and looking for solution of my problem


  4. esmi
    Forum Moderator
    Posted 4 years ago #

    You can name your menu items in any way that you want if you use a custom menu.

  5. cool.nicq
    Posted 4 years ago #

    but the custom menu only worked for widget, not for the top or navigation..

    you can check it out on ..

    the custom menu worked fine on footer..
    didnt worked in top or headers...


  6. esmi
    Forum Moderator
    Posted 4 years ago #

    Then you need to add a new custom menu location to your theme via its functions.php file. See Navigation_Menus.

  7. cool.nicq
    Posted 4 years ago #

    thanz a lot..

    let me give a try to it..


  8. cool.nicq
    Posted 4 years ago #

    I tried...
    "Theme Locations" box as "Header Menu" displays the below message...

    The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.

    on the header.php ....
    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( 'description', 'display' );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo " | $site_description";

    Can any changes be made from here.. I tried editing from here.. but failed..

    Can you suggest


  9. esmi
    Forum Moderator
    Posted 4 years ago #

    And what changes did you make to functions.php?

  10. ahauahau
    Posted 4 years ago #

    A few months ago I found out how to easily change the name of the "Home"-button on one of my websites. Now I would like to do the same thing with another website using the same theme (Themia Lite), but I have forgot where to edit this.
    It does not appear in the Custom Menu.


  11. ahauahau
    Posted 4 years ago #

    Found the answer in this thread:

    Works fine, maybe that can help you too cool.nicq.

  12. cool.nicq
    Posted 4 years ago #

    Thanz a lot .. my problem is solved..

    now i can see "home" tab of my website in english and both nepali language...

    for new/other users http://www.inkthemes.com/supportforum/topic/how-to-change-name-of-home-button follow the link and see the solution ..

    http://www.galeshwordham.com.np where the "home" tab is not changed (website in english)..

    http://www.np.galeshwordham.com.np where the "home" tab is changed and renamed "होम"
    (website in nepali)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic