Hi all,
Is there a childtheme function to edit the breadcrumb seperator? I would like to change “/” to “>”
All posts I can find in this forum result in a 500 error.
I had to result in editing the core file, but I rather update :)
T
Hey borkent,
Open functions-enfold.php then find this code around line 415
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/'));
Change that with
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '>'));
You can save this as a copy to your child theme folder, I just tested on a new install and it works :)
Best regards,
Mike
Hi,
Thank you for your reply.
But to clone whole enfold-functions file will be a problem every time I update, so same result as to edit core.
Anybody able to do this change in a childtheme function?
Thomas
Hi Thomas,
You could copy to your child theme just the part that starts with if(!function_exists(‘avia_title’)) and till the end of this code block and make your changes there.
If you need further assistance please let us know.
Best regards,
Victoria