NateWr / business-profile

WordPress plugin to display your business's contact details with seo-friendly Schema.org markup.
34 stars 16 forks source link

Handle new Google requirement for image #61

Closed NateWr closed 7 years ago

NateWr commented 7 years ago

Google now seems to expect an image object for FoodEstablishment types. Maybe for all LocalBusiness types.

https://search.google.com/structured-data/testing-tool/u/0/#url=demo.themeofthecrop.com%2Fluigi

Research what's behind this new requirement and add an ability to support this.

We may be able to pull an image automatically from the new site_logo theme option, or Yoast SEO settings.

robneu commented 7 years ago

I haven't really looked into this at all, but If they're requiring it for the FoodEstablishment type it's probably only a matter of time before it becomes a requirement for all local business schemas.

You probably should just add the ability to add an image in the plugin rather than depending on a theme option or Yoast.

It might be good to try to pull the image from there when first loading it so that people don't need to set it twice, but since both of those are optional and adoption is pretty slow on the site_logo I think you're going to need your own value for it.

NateWr commented 7 years ago

:+1:

NateWr commented 7 years ago

Additional fields are now recommended: priceRange and servesCuisine (for FoodEstablishment types).

NateWr commented 7 years ago

Image now supported. The additional restaurant-related fields are filed at: https://github.com/NateWr/food-and-drink-menu/issues/32