Hello!, we are working on a site under x-theme. Wonderful theme!.
Since the site requires different customizations, we’re working with the child-theme, and now, we’re trying to edit the breadcrumb file to change two different things (both for the “current” item):
- add “h1” tag inside of the “a” tag for the current page, for SEO purpose.
- Change title of the “current” element, from “You are are” to “Usted está aquí” (spanish).
Looking for the place to do this, we found a file under “/themes/x/framework/functions/frontend/breadcrumbs.php” and replicated the whole “functions” folder into same path but for child-theme.
In this breadcrumbs.php, we found the sentence “You are here” and replace it. Also we found, in the output for breadcrumb, something that calls
if ( ! function_exists( ‘x_get_breadcrumb_current_before’ ) ) :
function x_get_breadcrumb_current_before() {
return ‘’;
}
endif;
if ( ! function_exists( ‘x_get_breadcrumb_current_after’ ) ) :
function x_get_breadcrumb_current_after() {
return ‘’;
}
endif;
That we tried to edit, but replacing these things do not show on the site.
Could you please help me find the right file to make these edits? or the right way to do it?
Thank you very much.