Skip to main content

New answers tagged

3 votes

How to add BreadcrumbList when using template_preprocess_breadcrumb()

You can attach the JSON-LD directly to the HTML <head> adding the following code snippet inside your preprocess hook right below your code: // Prepare structured data. $value = [ '@context' =&...
leymannx's user avatar
  • 18.3k

Top 50 recent answers are included