How to generate a BreadcrumbList Schema

A breadcrumb trail on a page indicates the page’s position in the site hierarchy. A user can navigate all the way up in the site hierarchy, one level at a time, by starting from the last breadcrumb in the breadcrumb list.

Google uses the BreadcrumbList Schema-Type to show it in search results. You can read more about that on Googles Reference Page. In this post I’ll show you how to generate a BreadcrumbList with SNIP – The Rich Snippets and Structured Data Plugin for WordPress.

Continue reading

How to deactivate JSON+LD schema output of “The Events Calendar” plugin

Google and other search engines are working heavily on schema.org integration. In the past, a lot of theme and plugin authors have integrated schema.org in their plugins but could not keep up with the speed of changes. So what I see happens a lot is that plugin and theme authors do not update their code accordingly. This is the case with the The Events Calendar plugin, too. It is missing some fields search engines want to see.

Continue reading

How to add @id field to a snippet

Since version 2.4.0 it’s now possible to add a customized @id-field to each global snippet. Just edit a global snippet and scroll down to the JSON+LD metabox as shown below.

WordPress Metabox with a field for the @id value of a snippet
Edit the @id value.

Normally, search engines expect an URL with a hashtag here. So you can add the {url} placeholder to replace it with the current page URL. For example, if the snippet get’s included into the page https://this-is-my.site/whatever/ and you define the @id value as {url}#product then the full @id value would be https://this-is-my.site/whatever/#product.