Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1412141

    I want to modify the content of the red box, where can I modify it?

    #1412163

    Hey 952402034,

    The element that you want to change is breadcrumbs and we don’t have any options to change it except to hide or show it.
    Here’s our documentation regarding the element: https://kriesi.at/documentation/enfold/breadcrumbs/

    Best regards,
    Nikko

    #1412485

    I need to modify the text language of the displayed content. Currently, part of the display is in Chinese, and I need to change it to English!

    #1412486

    How to set the language of the theme?

    #1412658

    Hi 952402034,

    The labels are built-in the theme, you can modify it in enfold\framework\php\class-breadcrumb-trail.php line 85

    'before'			=> '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>',

    and line 88

    'show_home'			=> __( 'Home', 'avia_framework' ),

    if this is replaced in Chinese then just replace it with these default values.

    If it is changing for some reason then try to disable the plugins and enable them one by one to know which one is causing the issue.

    Otherwise, you can use this filter and add it via functions.php of the child theme to make the tweaks without modifying the core files:

    add_filter('avia_breadcrumbs_args', 'avia_change_home_breadcrumb', 10, 1);
    function avia_change_home_breadcrumb($args){
    	$args['before'] = '<span class="breadcrumb-title">' . __( 'You are here:', 'avia_framework' ) . '</span>';
    	$args['show_home'] = 'Home';
    	return $args;
    }

    Best regards,
    Nikko

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.