
內容簡介
這是一個簡單的短代碼,可以在 WordPress 網站的任何位置引入 Yoast SEO 的面包屑功能。使用這個短代碼前,你必須先安裝並啟用 Yoast 提供的 WordPress SEO 擴充套件,並啟用 “breadcrumb” 選項。
使用這個短代碼,你可以手動將 Yoast 的出色面包屑功能添加到每篇文章、頁面,甚至自訂文章類型中。如果你的佈景主題支援,你可以在 Widget 區域中使用 “文字 Widget” 加入此短代碼。
這是短代碼:
[yoast-breadcrumb]
有設定的兩個參數:
before — 加上前綴的面包屑程式碼。預設值:<div class="breadcrumb" itemprop="breadcrumb">
after — 加在後面的面包屑程式碼。預設值:</div>
你可以在這裡閱讀更多關於 Yoast 面包屑功能的資訊:Yoast Breadcrumbs – WordPress 麵包屑
你想要貢獻或幫助改進這個外掛嗎?
你可以在 GitHub 上找到它:https://github.com/Surbma/surbma-yoast-breadcrumb-shortcode
你可以在 GitHub 上找到我的其他外掛和項目:
https://github.com/Surbma
歡迎您提供建議、幫助改進我的外掛、佈景主題和其他項目。
你想知道更多有關我的訊息嗎?
請造訪我的網頁:Surbma.com
外掛標籤
開發者團隊
② 後台搜尋「Surbma | Yoast SEO Breadcrumb Shortcode」→ 直接安裝(推薦)
原文外掛簡介
A simple shortcode to include Yoast SEO’s breadcrumb function everywhere on your WordPress website. You have to install and activate the WordPress SEO by Yoast plugin and enable breadcrumb option to use this shortcode.
With this shortcode you can put Yoast’s fantastic breadcrumb feature manually into every post and page or even into custom post types. If your theme supports it, you can use this shortcode in your widget areas with the Text widget.
The shortcode:
[yoast-breadcrumb]
There are two parameters for this shortcode:
before – The code that your breadcrumb should be prefixed with. Default value:
You can read more informations about Yoast’s breadcrumb function here: Yoast Breadcrumbs – WordPress Breadcrumbs
Do you want to contribute or help improving this plugin?
You can find it on GitHub: https://github.com/Surbma/surbma-yoast-breadcrumb-shortcode
You can find my other plugins and projects on GitHub:
https://github.com/Surbma
Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.
Do you want to know more about me?
Visit my webpage: Surbma.com
