Hello,
There’s a couple of ways we can go about this judging by the code posted in that thread.
If you are looking to rewrite and maybe slim down the child theme. I don’t think there are any docs on them, but I can write an example or two on them.
x_breadcrumbs_args
filter to change arguments to then be passed to the breadcrumb data generated
x_breadcrumbs_data
Filter to change items generated by breadcrumbs
We are also trying to get Breadcrumbs to be loopable in 6.4 so potentially you could handle all this in Cornerstone.
This is the list of deprecated functions that are removed in X10. I think if you just added these back in. They are simple enough. I’m not sure if you are missing anything else after this though. Let me know of any fatal errors you are getting and I can look through Pro4-5 again. If that works we can add these back in again to the main release.
// 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-s="&#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-s=""></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;