-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audit the use of Schema.org markup #296
Comments
+1 for moving to JSON-LD |
@christophherr Can you take this audit on please? Let's include it in the v1.6 release. It'll be good to have a consistent approach. |
Errors/warnings shown in the structured markup testing tool:We couldChange our post interface to add a publisher field and show a warning/error message when a post is being saved without image or publisher. Change the Schema.org markup in Beans. Adding this code snippet to your child theme's functions.php simulates that:
A change like this has to be tested really well. Explore alternativesBeans is adding Schema.org related markup to 23 hooks. While not necessarily all/a lot of the default output would have to be changed for different Schema.org vocabularies (e.g. products, event, localbusiness, restaurant...), it's not very intuitive or flexible.
|
For the record, I think, until we decide on an overall Schema strategy, we should
for the next/1.6 release. |
There have been changes to the Schema.org vocabulary since Schema markup was added to Beans.
WebPage
has gotten "stricter" and Google's Schema validator is showing errors and warnings (I only tested blog posts and blog archives)It would also be interesting to explore the possibility of removing the "hard-coded" Schema from our templates and moving to JSON-LD instead.
The text was updated successfully, but these errors were encountered: