Hi,
As detailed in this post: https://wpdiscuz.com/community/f-a-q/post-rating-using-aggregate-rating-schema/ , you can enable the Aggregate Rating Schema for LocalBusiness adding this code (attached below) to the functions.php + turning on the "Aggregate Rating Schema" option in Dashboard > wpDiscuz > Settings > Article and Comment Rating Tab.
add_filter('wpdiscuz_rating_schema', function ( $rating_schema, $key, $postid ){
$my_rating_schema = 'LocalBusiness';
$rating_schema = str_replace(__('Article Rating', 'wpdiscuz'), $my_rating_schema . ' Rating', $rating_schema);
return preg_replace( '|schema\.org\/Product|i', 'schema.org/' . sanitize_text_field($my_rating_schema) , $rating_schema);
},11, 3);
However, I have followed this and the schema is not visible in the posts. Do you know what is the issue?
Thanks,
M


