SaaS SEO
Find MRR with our SaaS-tellite technology
B2B & Enterprise SEO
Go boldly where no business has gone before
Wordpress SEO
Navigate the WordPress wormholes
Webflow SEO
Ride Webflow's cosmic currents
Shopify SEO
Parallel universe where your store makes money
AKOOL Launch Plans
Case Study: Building a Webflow SEO strategy
Yaasa's WooCommerce Dev & SEO
Case Study: How we broke through a Google penalty
Woocommerce Development
Woo-w your customers with a stellar storefront
Website Migration
Migrate your site to a more host-pitable planet
Casino M8trix Feature Dev & APIs
Case Study: How CasinoM8trix launched a new blackjack API & feature design
Wordpress Vs Webflow
Analysis: We review the choice between WordPress & Webflow
SEO Low Hanging Fruit Analysis
Guide: How we find and chase down SEO quick wins
Team
The galactic senate
Case Studies
Starship graveyard
UX Strategies for SEO
Analysis: What impact does UX have on your rankings?
SEO First Blog Design
Guide: Designing your blog for sales
Ethan's Shopify SEO
Case Study: How we grew a shopify site to 15k monthly visits in 6 months
Knowledge Base
A Hitchhiker's Guide to SEO
Blog
If you can find space for more reading
Why We Do Full Service SEO
Why implementation beats recommendations
Costs of Linkbuilding in 2024
Linkbuilding costs & tactics in 2024
Website Requirements Guidelines
How we stay on track
Knowledge Base > eCommerce > How to customize breadcrumb navigation in woocommerce?
To customize breadcrumb navigation in WooCommerce, you can follow the steps below:
woocommerce/templates/global/breadcrumb.php
breadcrumb.php
>
$separator
Change the Home text To change the Home text in WooCommerce breadcrumb, you can add the following code to your theme’s functions.php file:
functions.php
add_filter(‘woocommerce_breadcrumb_defaults’, ‘custom_breadcrumb_home_text’); function custom_breadcrumb_home_text($defaults) { $defaults[‘home’] = ‘My Custom Home Text’; return $defaults; }
Change Home link to a different URL
To change the Home link to a different URL, you can add the following code to your theme’s functions.php file:
add_filter(‘woocommerce_breadcrumb_home_url’, ‘custom_breadcrumb_home_url’); function custom_breadcrumb_home_url($url) { return ‘http://example.com’; // Replace with the URL you want to use }
Replace “http://example.com” with the URL you want to use instead of the default Home URL.
Change the breadcrumb separator
To change the breadcrumb separator in WooCommerce, you can add the following code to your theme’s functions.php file:
add_filter(‘woocommerce_breadcrumb_defaults’, ‘custom_breadcrumb_separator’); function custom_breadcrumb_separator($defaults) { $defaults[‘delimiter’] = ‘ > ‘; // Replace with the separator you want to use return $defaults; }
Replace “> ” with the separator you want to use instead of the default separator.
How to remove the breadcrumb
To remove the breadcrumb trail from WooCommerce, you can add the following code to your theme’s functions.php file:
remove_action(‘woocommerce_before_main_content’, ‘woocommerce_breadcrumb’, 20);
This will remove the breadcrumb trail from all WooCommerce pages.
Breadcrumb navigation is a user interface element that displays the user’s current location within a website or online store. In WooCommerce, the breadcrumb trail typically appears above the main content area and shows the path from the home page to the current product or category page.
Yes, you can customize the breadcrumb trail in WooCommerce by modifying the breadcrumb.php file or using a plugin like Yoast SEO or Breadcrumb NavXT.
Yes, you can customize the order of elements in the breadcrumb trail by modifying the breadcrumb.php file. You can rearrange the elements or remove them entirely.
Yes, there are several plugins available for customizing the breadcrumb trail in WooCommerce. Some popular options include Yoast SEO, Breadcrumb NavXT, and WooCommerce Breadcrumbs.
To add schema markup to your WooCommerce breadcrumb trail, you can use a plugin like Yoast SEO or Schema Pro. These plugins allow you to add structured data to your breadcrumb trail, which can help search engines understand the content and context of your website.