Tagged: breadcrumbs
Get the following error when I change You are here and Home to another language:
Parse error: syntax error, unexpected ‘)’, expecting ‘,’ or ‘;’ in /…/wp-content/themes/enfold/framework/php/class-breadcrumb.php on line 26
Hey LFE!
Please do not edit the breadcrumb function directly but open up functions-enfold.php and search for:
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true));
Replace the code line with
if($breadcrumb) $additions .= avia_breadcrumbs(
array(
'separator' => '/',
'richsnippet' => true,
'before' => '<span class="breadcrumb-title">You are here:</span>',
'show_home' => 'Home'
)
);
and instead of “Home” and “You are here” insert your custom text.
Cheers!
Peter