Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1032677

    Hi

    i’ve change show_home in class-breadcrumb.php line 189 but it doesn’t work

    Can you help me please?

    /* Set up the default arguments for the breadcrumb. */
    $defaults = array(
    ‘separator’ => ‘»’,
    ‘before’ => ‘<span class=”breadcrumb-title”>’ . __( ‘You are here:’, ‘avia_framework’ ) . ‘</span>’,
    ‘after’ => false,
    ‘front_page’ => true,
    ‘show_home’ => __( ‘xxxx’, ‘avia_framework’ ),
    ‘echo’ => false,
    ‘show_categories’ => true,
    ‘show_posts_page’ => true,
    ‘truncate’ => 70,
    ‘richsnippet’ => false
    );

    • This topic was modified 6 years, 8 months ago by Lex2014.
    #1032698

    Hey Lex2014,

    Edit framework > php > class-breadcrumb.php , find this code:

    ‘show_home’ => __( ‘Home’, ‘avia_framework’ ),

    Replace it with:

    ‘show_home’ => __( ‘shop’, ‘avia_framework’ ),

    Best regards,
    Jordan Shannon

    #1032727

    Hi
    thanks for your quick answer.

    but I already tried this solution and it DOESEN’T WORK

    Look -> https://www.jolienight.it/ricette/

    #1032910

    Its the same situation

    ‘show_home’ => __( ‘Home’, ‘avia_framework’ ), replace home with other words

    nothing’s change

    • This reply was modified 6 years, 8 months ago by Lex2014.
    #1034016

    Hi Lex2014 ,

    Try using this code:

    add_filter('avia_breadcrumbs_args', 'avia_change_home_breadcrumb', 10, 1);
    function avia_change_home_breadcrumb($args){
    	$args['show_home'] = 'My Site';
    	return $args;
    }

    replace My Site with the text you want to use.

    Best regards,
    Nikko

    #1034025

    Yeeeeeeaah!!!

    This works!!! Thanks a lot Nikko ^_^

    #1034194

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Change "Home" Breabcrums’ is closed to new replies.