How to disable or change #primaryimage schema
-
Hi,
How to disable the default #primaryimage schema, or change its url to specific image(s), since google structure data testing tool throws an error – image size smaller than the recommended, for amp posts.
WebPage @type: WebPage @id: <canonical>#webpage url: <canonical> inLanguage: <site language> name: <page title> description: <page description> isPartOf - references WebSite @id: <homepage_url>/#website image - when we have a featured image. @type: ImageObject <strong>@id: <canonical>#primaryimage url: <image_url></strong> caption: <image caption>
Any filter or hook from Yoast API docs would be appreciated.
Thank you.
Ana
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to disable or change #primaryimage schema’ is closed to new replies.