Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 798 forks source link

Business Hours Block: Use https://schema.org/openingHours #11845

Open lezama opened 5 years ago

lezama commented 5 years ago

I use https://schema.org/openingHours as suggested in https://github.com/Automattic/jetpack/pull/10998#pullrequestreview-199613159

roccotripaldi commented 5 years ago

We attempted to fix this in https://github.com/Automattic/jetpack/pull/11358 but ran into some woes. :(

For this schema to work properly, and validate on Google we'll need to add some additional attributes to the block editor:

Required

Not required, but recommended

Telephone and address are available via the Contact Info block, but Business Hours will needs it's own set of info.

scruffian commented 5 years ago

Can we achieve this with a block template containing all of these things?