-
AuthorPosts
-
November 12, 2018 at 6:08 pm #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, 11 months ago by
Lex2014.
November 12, 2018 at 7:24 pm #1032698Hey 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 ShannonNovember 12, 2018 at 8:06 pm #1032727Hi
thanks for your quick answer.but I already tried this solution and it DOESEN’T WORK
November 13, 2018 at 9:56 am #1032910Its the same situation
‘show_home’ => __( ‘Home’, ‘avia_framework’ ), replace home with other words
nothing’s change
-
This reply was modified 6 years, 11 months ago by
Lex2014.
November 15, 2018 at 4:11 pm #1034016Hi 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,
NikkoNovember 15, 2018 at 4:27 pm #1034025Yeeeeeeaah!!!
This works!!! Thanks a lot Nikko ^_^
November 16, 2018 at 1:06 am #1034194Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
This topic was modified 6 years, 11 months ago by
-
AuthorPosts
- The topic ‘Change "Home" Breabcrums’ is closed to new replies.
