Home Forums Basel support forum Home Breadcrumb Changes?

Home Breadcrumb Changes?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9693

    netbaron00
    Participant

    Again thanks for the awesome theme, I’m having fun making some changes / making it mine with the design and pictures.

    I wanted to run one small question by you just to see if you can provide some guidance:

    My initial page that loads on the site, the “Home Page” is simply a landing page that displays basic information. The user then clicks enter and that takes them to the woocommerce generated shop page https://example.com/shop/

    But since my page needs a landing page, the breadcrumbs “Home” options always just kicks them completely out of the shopping experience. Is there a way I can change where the “Home” breadcrumbs sends my users?

    Thanks for any guidance you can provide!

    #9710

    Artem Temos
    Keymaster

    Hello,

    We are glad that you like our theme.

    Breadcrumb links come from WooCommerce plugin and can’t be controlled by our theme. It means that you may need to do some additional plugin code customization to change this link. Unfortunately, we don’t have an instruction for this.

    Regards

    #9754

    netbaron00
    Participant

    Hey thanks for the reply. I’m an idiot – a quick look at the woocommmerce documentation would have the solution I was looking for. I am sure you know what it is, but just in case:

    add_filter( ‘woocommerce_breadcrumb_home_url’, ‘woo_custom_breadrumb_home_url’ );
    function woo_custom_breadrumb_home_url() {
    return ‘https://domainexample.com/whatever/’;
    }

    #9761

    Artem Temos
    Keymaster

    Thank you for posting your solution here 🙂

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)