Tagged: x
-
AuthorPosts
-
October 29, 2016 at 2:47 pm #1236120
RVgeeksParticipantHi,
I’m getting errors in my Google Webmaster Console about structured data errors on my posts… in particular, it doesn’t like the “datetime” attribute on comments. But in looking at the code, the comment threads are all identified using the Schema.org reference for “Review”. Shouldn’t “comments” be using the Schema.org schema for “Comment” (https://schema.org/Comment)?
Here’s a link to a blog post on my site: Blog Post Comments
I’m using X Theme version 4.6.4 on WP v 4.6.1 and I’m using the Integrity Stack.
Is there a way to change the Schema being used for the comment threads on a blog post? Or could you consider updating the X Theme in a future update to use Comment Schema instead of Review for comment threads?
Thanks!
October 30, 2016 at 1:26 am #1236394
RadModeratorHi there,
Thanks for posting in.
It uses http://schema.org/Review since comment section is also used on Woocommerce comment section. It’s almost the same as https://schema.org/Comment, they both inherit the properties of both http://schema.org/CreativeWork. WordPress comments use author and description only, in fact, http://schema.org/CreativeWork should be enough as the basis.
You can change that implementation if you prefer. You can edit this file
/themes/x/framework/views/{CURRENT_STACK}/wp-comments.php
Cheers!
October 31, 2016 at 1:32 am #1237440
RVgeeksParticipantOK. Thanks!
October 31, 2016 at 1:47 am #1237448
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1236120 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
