Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor royho

    (@royho)

    Put the following in your child theme’s functions.php file.

    add_filter( 'woocommerce_breadcrumb_defaults', 'edit_wc_breadcrumb' );
    
    function edit_wc_breadcrumb( $args ) {
         $args['home'] = '';
    
         return $args;
    }
    Thread Starter vince23

    (@vince23)

    thanks for the reply but I’m getting this error message now:

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /homepages/26/d602621195/htdocs/wp-content/themes/mytheme/functions.php on line 65

    Plugin Contributor royho

    (@royho)

    So there is nothing wrong with that code. Double check you copy and pasted it correctly. Perhaps post an screen capture of where you pasted it. You can link the screen capture here.

    Thread Starter vince23

    (@vince23)

    Now it works, thank you very much !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Breadcrumbs’ is closed to new replies.