Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.


Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.


IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

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?

Comments

  • edited October 2017
    I have found a temporary solution with Markup (JSON-LD) structured in schema.org plugin. This plugin generates proper schema with script tag using JSON-LD. However, in some cases (like portfolio items) this plugin doesn't generate accurate code.

    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.
  • Also, another idea, possibly easier to implement (faster) would be an extra option in BeTheme settings that would allow custom shortcode for breadcrumb generation which would disable breadcrumb function built into BeTheme. BeTheme would execute the shortcode instead of own breadcrumbs function.

    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!
  • Please sign in to see answear!
Sign In or Register to comment.