WooCommerce Breadcrumbs

Leírás

WooCommerce Breadcrumbs is a simple WordPress plugin that allows you to restyle the WooCommerce breadcrumbs. It also gives you the ability to disable them completely so they no longer display.

By changing the HTML surrounding your breadcrumbs, you’re able to provide better options for styling your breadcrumbs in different ways. For example, the default breadcrumbs simply display links with a separator character. Using WooCommerce Breadcrumbs, you can change them to display as an unsorted list of links instead.

NOTE: This plugin wont actually style your breadcrumbs for you. It simply gives you the tools to change the HTML that wraps around your breadcrumbs.

WooCommerce Breadcrumbs gives you the following settings

  • Breadcrumb separator: This is the separator to use between each breadcrumb
  • Wrap before: The opening HTML tag to wrap before all your breadcrumbs
  • Wrap after: The closing HTML tag to wrap after all your breadcrumbs
  • Before: The opening HTML tag to wrap before each individual breadcrumb
  • After: The closing HTML tag to wrap after each individual breadcrumb
  • Home text: The text to use for the ‘Home’ breadcrumb
  • Home URL: The URL that the ‘Home’ breadcrumb links to

If need be, you can also disable the breadcrumbs completely by unticking the ‘Enable breadcrumbs’ checkbox. This will stop the breadcrumbs from displaying on your site.

If you notice there are a few less breadcrumb options on the settings page than you expected, then you’re mostly likely using a WooThemes Theme. WooTheme themes disable the WooCommerce breadcrumbs in favour of the WooFramework Breadcrumbs. The downside to this is that there aren’t quite as many options that can be changed with the WooFramework Breadcrumbs.

To see some examples of how you can style your WooCommerce Breadcrumbs, check out the plugin homepage.

Képernyőmentések

  • WooCommerce Breadcrumb default settings
  • WooCommerce Breadcrumb settings
  • WooCommerce Breadcrumb settings for WooTheme Themes

Telepítés

  1. Upload the ‘woocommerce-breadcrumbs’ folder to your ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the ‘Settings > WC Breadcrumbs’ menu to update the plugin settings

GYIK

I’m not seeing as many options on my settings page as your screenshot

You’re most likely using a WooThemes theme. WooTheme themes disable the WooCommerce breadcrumbs in favour of the WooFramework Breadcrumbs and unfortunately there aren’t as many options that can be configured.

Can I disable the WooCommerce breadcrumbs?

Certainly! On the settings page, simply untick the ‘Enable breadcrumbs’ checkbox and save your settings.

How do I get my breadcrumbs back after disabling them?

The easiest method is just to deactivate the plugin. Alternatively, simply tick the ‘Enable breadcrumbs’ checkbox and save your settings.

Why don’t my breadcrumbs display properly when using the Storefront theme?

Storefront wraps their breadcrumbs with some custom HTML. This means you need to tweak your ‘Breadcrumb separator’, ‘Wrap before’ and ‘Wrap after’ settings. See this support post for more details.

Vélemények

2021.05.30. 1 reply
Easy to use. I just wanted to get rid of the breadcrumbs at all and have a woo-theme, so I did not have - as you said - many options to style them. But that is okay. Important for me was, to get rid of them. And this works very fine! Thank you.
12 (az összes) vélemény olvasása

Közreműködők és fejlesztők

“WooCommerce Breadcrumbs” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:

Közreműködők

“WooCommerce Breadcrumbs” fordítása a saját nyelvünkre.

Érdekeltek vagyunk a fejlesztésben?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Változási napló

1.1.0

  • Declare compatibility with WooCommerce HPOS

1.0.8

  • Moved loading of options from Constructor to help with translations by Falang plugin. Props @sbouey

1.0.7

  • Fix display of Breadcrumb separator on settings page. Escape attribute when displaying value
  • Fix breadcrumb removal for Storefront theme as it uses its own hook rather than the default WooCommerce hook

1.0.6

  • Updated Breadcrumb separator setting to allow html tags
  • Updated WC Tested tags

1.0.5

  • Updated WC Tested tags

1.0.4

  • Removed call to screen_icon() function as it’s now deprecated
  • Added WC Tested tags to plugin header for compatibility check

1.0.3

  • Updated version number as the .org directory doesn’t currently update the Last Updated date by simply updating the Tested up to value

1.0.2

  • Fixed undefined index error due to checkbox sanitization
  • Fixed misplaced braces

1.0.1

  • Updated ‘Tested up to’ version to 3.9
  • Added link to breadcrumb examples

1.0

  • Initial version. Yay!