Support » Plugin: WooCommerce » Woocommerce Breadcrumbs – Where to change 'home' text

  • Resolved samandella



    I hope someone can help.

    I’ve changed the url of ‘home’ in woocommerce breadcrumbs e.g. home/shop/product so now ‘home’ doesn’t go to the website home page but to a different page named ‘collections’ but where do I change the text so it reads collections/shop/product instead of home/shop/product?

    I’ve looked everywhere!! Any ideas?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author James Koster


    Hey, take a look at this document which describes how to customise the WooCommerce breadcrumb;

    Excellent!! Thanks very much 😀

    Warning: PHP newbie.

    I, too, want to change the Home breadcrumb link to the Shop page. Sadly I don’t understand the solution stated as

    “add_filter( ‘woocommerce_breadcrumb_home_url’, ‘woo_custom_breadrumb_home_url’ );
    function woo_custom_breadrumb_home_url() {
    return ‘’;

    Let’s say my shop page is at .
    What exactly would I want my ‘add_filter’ to say?
    And do i replace the add_filter function already in functions.php file?


    THis topic is marked as resolved but I still need help! Please see my previous post.


    Do not replace add_filter function that already exist in functions.php file if you do not want to disrupt the proper integration of Woocommerce plugin into your theme.

    You only need to change URL after “return” to URL of your shop page, as I have done below:

    add_filter( ‘woocommerce_breadcrumb_home_url’, ‘woo_custom_breadrumb_home_url’ );
    function woo_custom_breadrumb_home_url() {
    return ‘‘;

    Insert this snippet after the last “}” on the end of the add_filter function already in youre functions.php file.


    Thanks so much for spelling this out for me, wellebit. Sadly I am still missing the mark in some way.
    Please see

    I added the snippet to \themes\ThemeName\functions.php such that the code now looks like

    add_filter( ‘wp_page_menu_args’, ‘et_add_home_link’ );
    add_filter( ‘woocommerce_breadcrumb_home_url’, ‘woo_custom_breadrumb_home_url’ );
    function woo_custom_breadrumb_home_url() {
    return ‘’;

    There was no } after the existing add_filter call. Can you tell me how I’ve messed up?


    Each theme has specific settings of woocommerce plugin. I Think I know the solution of the problem. However, it is not convenient to explain here the details. If you want, send me a functions.php file and I will try to set snippet to the right place, and I’ll return the modified file to your email. My email is


Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Woocommerce Breadcrumbs – Where to change 'home' text’ is closed to new replies.