Schema for each element in breadcrumb list
-
Hi. I’ve added schema to my breadcrumb and this is how it looks like now https://search.google.com/structured-data/testing-tool/#url=http%3A%2F%2Fdevise.pp.ua%2F%3Fkit%3Deto-primer-podborki-devise
But I want to make each link in breadcrumb as an item (like this https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fpravo.guru%2Fzzp%2Ftorgovlya-i-tovary%2Fsertifikatsiya%2Fproishozhdeniya-produktsii%2Fvidy-form.html)I use this code in my templates
<ul class="breadcrumbs block__categories-list" typeof="BreadcrumbList" vocab="https://schema.org/"> <?php if( function_exists('bcn_display_list')) : bcn_display_list(); endif;?> </ul>
And this code in plugin’s settings
<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to %title%." href="%link%" class="%type%"><span property="name">%htitle%</span></a><meta property="position" content="%position%"></span>
How can i achieve this?
Thanks.
- The topic ‘Schema for each element in breadcrumb list’ is closed to new replies.