[WordPress] 外掛分享: Hansel & Gretel: Fine-Tuned Breadcrumb Generator

首頁外掛目錄 › Hansel & Gretel: Fine-Tuned Breadcrumb Generator
200+
安裝啟用
★★★★
4.8/5 分(8 則評價)
4821 天前
最後更新
問題解決
WordPress 3.1.0+ v0.0.5 上架:2012-08-05

內容簡介

完整文檔和最新更新

在 GitHub 上關注我們!

我在哪裡?

不說不行:麵包屑是當今網站的重要部分。它們為您的訪問者提供了一個直觀的階層結構,並允許用戶通過您的網站回溯(希望)找到更多內容。WordPress 簡化了網站的結構,但是要為所有不同類型的文章、頁面、分類、檔案和...生成面包屑,需要更多的努力。您懂的。

但是已經有外掛了,是嗎?

當然!對於簡單的階層結構,它們中的許多外掛表現良好,但是它們中的許多在某些方面效果不佳:

想使用新的語義化的 <nav> 元素吗?
不好意思,它們只有 <p> 或 <ul>。

需要控制麵包屑的類或 ID 吗?
是的,不好意思,它們的包裹器有一個固定的 class 為 breadcrumbs...我希望這就是您所需要的。

那自定義分類呢?
您已經知道問題的答案...

自訂文章類型呢?
最好希望它們是分層的!

我應該提到豐富片段/微數據吗?
我還沒有找到一個外掛。

好吧,但是您認為您的插件有何優勢?

顯然(考慮到前一節),此插件旨在解決現有麵包屑外掛環境的所有自定義問題,同時仍然使其盡可能易於使用(閱讀:HAG_Breadcrumbs();,完成!)。就是這麼簡單。希望它能達到您的期望!

特點

以下功能目前可供使用,除非另有指定。

簡單安裝
上傳外掛,通過 WordPress 管理員激活,然後在模板中放置函數即可在您想要出現麵包屑的位置。完成!

細調控制
H&G 可立即投入使用,但通常我們需要自定義控制。幾乎可以更改麵包屑呈現的每個方面,就像可用的許多選項一樣。

微數據集成
H&G 默認包含一個網頁麵包屑的微數據格式,這是由Bing、Google、Yahoo! 和 Yandex聯合支持。

完整的標記控制
選擇任何元素來包裝您的麵包屑,包括可選的 class(es) 或 ID 屬性。同樣地,您可以在包裝器元素標籤中包含前綴和後綴內容以進一步控制。

使用模板層次結構呈現
H&G 利用WordPress模板層次結構來決定要呈現哪些麵包屑(在自定義文章類型中自動處理!)。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Hansel & Gretel: Fine-Tuned Breadcrumb Generator」→ 直接安裝(推薦)

原文外掛簡介

For Full Documentation & The Latest Updates
Watch us on GitHub!
Where The Heck Am I?
Let’s face it: breadcrumbs are an integral part of websites these days. They give an immediate sense of hierarchy to your visitors and allow users to backtrack through your site to (hopefully) find more content. WordPress simplifies structuring sites how ever it seems reasonable, but it takes a bit more effort to generate breadcrumbs for all the different types of posts, and pages, and taxonomies, and archives, and … you get the idea.
But there are already plugins for that, aren’t there?
Sure! And a lot of them work really well for simple sites with simple hierarchies, but many of them fall short in one way or the other:

Want to use the new semantic

文章
Filter
Apply Filters
Mastodon