Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 890 forks source link

Add breadcrumb custom link setting–to admin or block options #19964

Closed graylaurenm closed 1 year ago

graylaurenm commented 1 year ago

Is your feature request related to a problem? Please describe.

We'd like site admins to have a backend setting for customizing breadcrumbs without having to touch the code. This is especially relevant because more of our clients are managing their content with blocks, not custom functionality.

Describe the solution you'd like

Initially, I thought it would be ideal to have a setting to pair with the "Anchor text for the Homepage" setting, allowing a custom "home" URL to be set. However, looking closer at the settings I think it might also make sense to (a) have a way to insert a custom link or (b) lean into the breadcrumbs block a bit more and add the option there (since this is where I think it becomes most relevant these days).

Why do you think this feature is something we should consider for the Yoast SEO plugins?

This would be an enhancement to existing breadcrumb functionality, giving users more customization options for improving user experience specific to their audience without being restricted by code or data structure limitations.

Additional context

Since we work with food bloggers, we want breadcrumbs to include the recipe index/top-level category, not the home page.

monbauza commented 1 year ago

Thanks for suggesting a new feature for our plugin, @graylaurenm! Similar feature requests (this one - internal repository - and this one) were submitted some time ago, and our developers decided not to implement them as this is not something that would benefit the average user. If we receive more requests to add this feature, we may reconsider our decision.

In the meantime, if you need to customize your breadcrumbs, there are a set of filters available in the plugin you can use. You can find some example code snippets on this link.