[WordPress] 外掛分享: Breadcrumbs for WooCommerce

首頁外掛目錄 › Breadcrumbs for WooCommerce
WordPress 外掛 Breadcrumbs for WooCommerce 的封面圖片
6,000+
安裝啟用
★★★★
4.7/5 分(13 則評價)
143 天前
最後更新
問題解決
WordPress 4.6+ v1.3.0 上架:2014-04-03

內容簡介

WooCommerce Breadcrumbs 是一個簡單的 WordPress 外掛,允許您重新設計 WooCommerce 的麵包屑導覽列。同時,此外掛還提供了完全禁用麵包屑的功能,讓其不再顯示。

通過變更包圍麵包屑的 HTML,您可以以不同方式提供更好的樣式選擇。例如,預設的麵包屑僅顯示帶有分隔符的連結。使用 WooCommerce Breadcrumbs,您可以將它們更改為顯示為未排序的連結清單。

註:此外掛實際上不會為您設計麵包屑的樣式。它只是為您提供更改包圍麵包屑的 HTML 的工具。

WooCommerce Breadcrumbs 提供以下設定

麵包屑分隔符:每個麵包屑之間使用的分隔符
先於包圍:在所有麵包屑之前包圍的開頭 HTML 標籤
後於包圍:在所有麵包屑之後包圍的結束 HTML 標籤
之前:在每個個別的麵包屑之前包圍的開頭 HTML 標籤
之後:在每個個別的麵包屑之後包圍的結束 HTML 標籤
首頁文字:用於“首頁”麵包屑的文字
首頁 URL:連結到“首頁”麵包屑的 URL

如有需要,您也可以取消勾選「啟用麵包屑」核取方塊,完全禁用麵包屑。這將停止在您的網站上顯示麵包屑。

如果在設定頁面上您注意到麵包屑選項比預期的少,那麼您很可能使用 WooThemes 主題。WooTheme 主題禁用了 WooCommerce 麵包屑,轉而採用 WooFramework 麵包屑。這樣做的缺點是 WooFramework 麵包屑沒有太多可以更改的選項。

要查看如何設計 WooCommerce 麵包屑的示例,請查看外掛主頁面。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Breadcrumbs for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Breadcrumbs for WooCommerce is a simple WordPress plugin that helps you 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 Breadcrumbs for WooCommerce, 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.
Breadcrumbs for WooCommerce 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.

延伸相關外掛

文章
Filter
Mastodon