Add dynamic data to Json schema
-
Dear,
I try to clean errors and warning I have with the google structured data tools.
I have my “BlogPosting” pages working with site reviews.
I’ve cleaned some errors adding this to my functions.php file :
add_filter( 'site-reviews/schema/BlogPosting', function( $schema ) { $schema['author']['name'] = 'xxx'; $schema['author']['type'] = 'Person'; etc... return $schema; });
But I don’t know how to fix it for the dynamic datas :
-datePublished
-headline
-dateModifiedIs there a solution to add those data without using another structured data plugin ?
Thank you very much for your help.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add dynamic data to Json schema’ is closed to new replies.