WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. cool.nicq
    Member
    Posted 2 years ago #

    Hi,
    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
    http://www.ratan.com.np

    http://wordpress.org/extend/themes/themia-lite/

  2. esmi
    Forum Moderator
    Posted 2 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
    Member
    Posted 2 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

    Regards

  4. esmi
    Forum Moderator
    Posted 2 years ago #

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

  5. cool.nicq
    Member
    Posted 2 years ago #

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

    you can check it out on ..
    http://galeshwordham.com.np/np/

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

    Regards

  6. esmi
    Forum Moderator
    Posted 2 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
    Member
    Posted 2 years ago #

    thanz a lot..

    let me give a try to it..

    Regards

  8. cool.nicq
    Member
    Posted 2 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

    Regards

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    And what changes did you make to functions.php?

  10. ahauahau
    Member
    Posted 2 years ago #

    Hello!
    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.

    Sincerely
    Johan

  11. ahauahau
    Member
    Posted 2 years ago #

    Found the answer in this thread:
    http://www.inkthemes.com/supportforum/topic/how-to-change-name-of-home-button

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

  12. cool.nicq
    Member
    Posted 2 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