Hi there,
Please try this:
// Breadcrumbs Output
// =============================================================================
if ( ! function_exists( 'x_breadcrumbs' ) ) :
function x_breadcrumbs() {
$args_items = array(
'item_before' => '',
'item_after' => '',
'label_before' => '',
'label_after' => '',
'delimiter_before' => ' <span class="delimiter">',
'delimiter_after' => '</span> ',
'delimiter_ltr' => '<i class="x-icon-angle-right" data-x-icon=""></i>',
'delimiter_rtl' => '<i class="x-icon-angle-left" data-x-icon=""></i>',
'current_class' => 'current',
'anchor_atts' => array(),
'include_meta' => false,
);
$args_data = array(
'home_label' => '<span class="home"><i class="x-icon-home" data-x-icon=""></i></span>',
);
if ( x_get_option( 'x_breadcrumb_display' ) ) {
echo '<div class="x-breadcrumbs">' . x_breadcrumbs_items( x_breadcrumbs_data( $args_data ), $args_items ) . '</div>';
}
if ( x_is_product() ) {
echo "<div class='cat-prod-link-back' style='float:right;'><a href='#' onClick='history.go(-1); return false;'>Back to previous page</a></div>";
}
}
else :
// Deprecated Functions
// --------------------
// Kept for legacy purposes. If a user happens to have x_breadcrumbs()
// overwritten in a child theme from an older release that was using these
// functions, then a fatal error could occur if they do not exist. Going
// forward, if updates need to be made to breadcrumbs, we suggest looking
// into the various $args and filters available for x_breadcrumbs_data() and
// x_breadcrumbs_items(), which should give you all of the control you need
// without having to overwrite the function directly.
if ( ! function_exists( 'x_get_breadcrumb_delimiter' ) ) :
function x_get_breadcrumb_delimiter() {
$is_ltr = ! is_rtl();
return ' <span class="delimiter"><i class="x-icon-angle-' . ( ( $is_ltr ) ? 'right' : 'left' ) . '" data-x-icon="&#x' . ( ( $is_ltr ) ? 'f105' : 'f104' ) . ';"></i></span> ';
}
endif;
if ( ! function_exists( 'x_get_breadcrumb_home_text' ) ) :
function x_get_breadcrumb_home_text() {
return '<span class="home"><i class="x-icon-home" data-x-icon=""></i></span>';
}
endif;
if ( ! function_exists( 'x_get_breadcrumb_current_before' ) ) :
function x_get_breadcrumb_current_before() {
return '<span class="current">';
}
endif;
if ( ! function_exists( 'x_get_breadcrumb_current_after' ) ) :
function x_get_breadcrumb_current_after() {
return '</span>';
}
endif;
endif;
Please add it in the functions.php file of the child theme.
Hope this helps.