Breadcrumb generation according to Schema.org definition
Hello,
would BeTheme team consider rewriting breadcrumbs code to comply with http://schema.org/BreadcrumbList?
Google is known to generate breadcrumbs in search results according to this document: https://developers.google.com/search/docs/data-types/breadcrumbs. It seems that BeTheme is generating a simple unordered list without any metadata. It shouldn't be hard to implement since Google states that only item / name and position are required in breadcrumbs trail (and the trail must be ol instead of ul).
I could modify the code myself, but I'd rather do it without modifying the source (because updates). Perhaps there's a way to simply filter the breadcrumbs output in child theme's functions.php without touching the source?
would BeTheme team consider rewriting breadcrumbs code to comply with http://schema.org/BreadcrumbList?
Google is known to generate breadcrumbs in search results according to this document: https://developers.google.com/search/docs/data-types/breadcrumbs. It seems that BeTheme is generating a simple unordered list without any metadata. It shouldn't be hard to implement since Google states that only item / name and position are required in breadcrumbs trail (and the trail must be ol instead of ul).
I could modify the code myself, but I'd rather do it without modifying the source (because updates). Perhaps there's a way to simply filter the breadcrumbs output in child theme's functions.php without touching the source?
Comments
For example, when BeTheme generates breadcrumbs like this:
Home -> Portfolio -> Category -> Item
Plugin generates schema according to this:
Home -> Category -> Item
Which is quite odd.
Also, it's rather temporary considering that schema could be added directly to the breadcrumb trail gnerated with BeTheme.
There are custom breadcrumb plugins like Breadcrumb NavXT or Yoast SEO breadcrumbs that use shortcodes to place their breadcrumb trail. Having a theme execute "do shortcode" instead of own shortcode function would allow the use of custom breadcrumb solutions using the same places as designed for breadcrumbs in theme (in layout).
That would be extremely flexible!
We will look into it, thank you for your insight.
thanks