[wordpress插件] Add a Yoast Breadcrumb添加酵母面包屑

wordpress 插件 文章 2020-01-29 09:00 598 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Sometimes you have a different permalink set up than the breadcrumbs you want.

有时您设置的永久链接与所需的面包屑不同。

For instance: http://yourdomain.com/seo-services

例如: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.

“ seo-services”页面在“ services”部分下,但您未将其设置为services页面的子项。

Still, you want the breadcrumbs to indicate the proper parent.

不过,您还是希望面包屑指示正确的父代。

Example:

示例:

Home > Services > SEO Services

主页>服务> SEO服务

instead of:

代替:

Home > SEO Services

主页> SEO服务

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.

必须为每对输入标题和URL,以使面包屑受到影响。

You can create 2 new breadcrumbs or just one.

您可以创建2个新面包屑,也可以只创建一个。

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. 更改页面url字段以使用当前站点的页面/帖子下拉菜单,而不是手动输入URL

    3. Add option to use the title of selected page or enter in the title manually to override (Manual is how it currently works)
    4. 添加选项以使用所选页面的标题或手动输入标题以覆盖(手册是当前的工作方式)

    5. Please feel free to email me with bugs and/or suggestions.
    6. 请随时向我发送有关错误和/或建议的电子邮件。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Make sure that you have installed and activated Yoast SEO and enabled breadcrumbs in the “SEO > advanced” section of the Yoast SEO settings.
    6. 确保已在Yoast SEO设置的“ SEO>高级”部分中安装并激活了Yoast SEO,并启用了面包屑。

    7. Go to any post or page and you will see the new options box on the side titled “Add a breadcrumb”.

    8. 转到任何帖子或页面,您将在标题为“添加面包屑”的一侧看到新的选项框。

      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.

    9. 添加标题和链接(链接可以以“ /”开头,而不是您的域路径),您将看到该页面的面包屑已更改。

下载地址

https://downloads.wordpress.org/plugin/add-a-yoast-breadcrumb.zip

https://downloads.wordpress.org/plugin/add-a-yoast-breadcrumb.zip

-EOF-

AI助手支持GPT4.0