From 5d44d5be818471cf0b308ba15ce4eca3e7d3167c Mon Sep 17 00:00:00 2001 From: Martijn van der Klis Date: Mon, 10 Jun 2024 08:55:40 +0200 Subject: [PATCH] Fixes typo in integration-guidelines.md --- docs/features/schema/integration-guidelines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features/schema/integration-guidelines.md b/docs/features/schema/integration-guidelines.md index 429fd719..4fd02610 100644 --- a/docs/features/schema/integration-guidelines.md +++ b/docs/features/schema/integration-guidelines.md @@ -75,7 +75,7 @@ class Book { $post_id = YoastSEO()->meta->for_current_page()->post_id; // Set the type. - $data['type'] = 'Book'; + $data['@type'] = 'Book'; // Give it a unique ID, based on the URL and the Post ID. $data['@id'] = $canonical . '#/book/' . $post_id; @@ -183,4 +183,4 @@ In the example above, we used `isPartOf`. This is fine if your Schema "piece" is ```json "mainEntityOfPage": { "@id": "" } -``` \ No newline at end of file +```