WPRM Structured Data ID
-
Hi there,
I’ve been using your plugin with the review plugin and everything seemed to be fine.
However, yesterday I noticed in google structured data that WPRM and Site Review plugin don’t have the same ID. In fact, your plugin seems to add a #recipe at the end of his ID.As a result, I end up with two cards for Recipe. How can I correct that?
PS: I currently have this code in my function.php
//* GIVES WP RECIPE Plugin the same @id as Site Reviews @id
add_filter( ‘wprm_recipe_metadata’, function( $metadata, $recipe ) {
$metadata[‘@id’] = $pageURL;
return $metadata;
}, 10, 2 );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘WPRM Structured Data ID’ is closed to new replies.