Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197953

    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

    #197988

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Get an error when trying to edit breadcrumb's’ is closed to new replies.