WordPress.org

Forums

Catch Box
[resolved] Change "Home" name of Menu (5 posts)

  1. Maite Schoenfelder
    Member
    Posted 3 years ago #

    Hi everyone, I need help, please.
    I need to replace the name of the default button named "Inicio"("Starts" in english) for "Blog" in http://www.djtechtools.com.es/. Is the default entering posts page, that is the index.
    I have seen many tutorials and says that I must change "Inicio" in header.php. I didnĀ“t find the word inside this php file. Really, I have looked for "Inicio" in all php files and is nothing found.
    Please help me.
    Thanks.

    http://wordpress.org/extend/themes/catch-box/

  2. Bethany Cooper
    Member
    Posted 3 years ago #

    What you're looking for is usually located in functions.php and the trick is to change the snippet of code below; where is says 'true' (in bold) to 'Blog'. The code below is from the TwentyTen theme, so it will obviously be slightly different to yours.

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

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

  3. Maite Schoenfelder
    Member
    Posted 3 years ago #

    Thank you Bethany. I will try and say you after if it works or not in catch box theme.
    Thanks a lot.

  4. Maite Schoenfelder
    Member
    Posted 3 years ago #

    Thank you! All is ok. Is the same in Catch box theme

    function catchbox_page_menu_args( $args ) {
    $args['show_home'] = Blog;
    return $args;
    }

  5. Bethany Cooper
    Member
    Posted 3 years ago #

    No problem! I'm glad it worked!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags