该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Add a Yoast Breadcrumb

描述

Sometimes you have a different permalink set up than the breadcrumbs you want.
For instance: http://yourdomain.com/seo-services
The “seo-services” page is under the “services” section but you did not set it up as a child of the services page.
Still, you want the breadcrumbs to indicate the proper parent.
Example:
Home > Services > SEO Services
instead of:
Home > SEO Services

This plugin lets you do that.
It has no settings but adds a side meta box to all your posts and pages (All post types) where you can choose the title and url to prepend to the breadcrumbs trail.
Options are:
-Append a breadcrumb after the first breadcrumb (Usually “Home”)
-Prepend a breadcrumb to the last item in the breadcrumbs (the current page).
A title and URL need to be entered for each pair in order for the breadcrumbs to be affected. You can create 2 new breadcrumbs or just one.

Future Versions

  1. Change the page url field to use a drop down of current sites pages/posts instead of manually typing in the URL
  2. Add option to use the title of selected page or enter in the title manually to override (Manual is how it currently works)
  3. Please feel free to email me with bugs and/or suggestions.

屏幕截图

  • The meta box in the page edit screen. There is no settings screen. Activating the plugin adds the meta boxes to all pages, posts, and post types.

安装

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Make sure that you have installed and activated Yoast SEO and enabled breadcrumbs in the “SEO > advanced” section of the Yoast SEO settings.
  4. Go to any post or page and you will see the new options box on the side titled “Add a breadcrumb”. Add the title and link (link can begin with “/” instead of your domain path), and you will see that the breadcrumbs for that page have changed.

常见问题

What happens if Yoast is not installed or activated or if Yoast breacrumbs are not enabled?

The meta boxes will still appear on the post edit screen but will have no effect on your site until you enable Yoast SEO and enable Yoast SEO’s breadcrumbs.

评价

2017 年 9 月 26 日
Definitely what I have been looking for and for a very long time. So, I thought I had finally found a solution to my plug-in issue called Event Calendar Pro and which does not allow you to replace more than 1 slug and keeps on having Evnet Calendar Pro on all breadcrumbs (does not make sense). As far as I know, your plug-in does not allow to change category pages' names in Breadcrumbs. Definitely one thing to include in next release!
2017 年 7 月 19 日
This is great plugin which adds a very simple but also very important feature for your Yoast breadcrumbs. Good work my friend!
阅读所有3条评价

贡献者及开发者

“Add a Yoast Breadcrumb” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Add a Yoast Breadcrumb”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

Added option for second breadcrumb. The original field is the breadcrumb that is prepended to the last breadcrumb.

1.0

First Version