codeable-reviews-and-expert-profile icon indicating copy to clipboard operation
codeable-reviews-and-expert-profile copied to clipboard

Adding schema for ratings

Open robin-scott opened this issue 7 years ago • 6 comments

Am just loading this up as an idea - to add some schema into

on pages... will need to test it out on my burner personal website first before a PR ;)

robin-scott avatar Feb 23 '18 21:02 robin-scott

Robin, awesome! Let me know what you think! The only major change I have in the works is how the filtering works.

duplaja avatar Feb 24 '18 01:02 duplaja

hmm as mentioned, the head is before the shortcode is called, so will want to be an option in the plugin - to choose which page / post to put the schema in on, but the actual code to use is pretty straightforward. My only question is if a freelancer is a "local business" or a "product"?!

robin-scott avatar Feb 24 '18 03:02 robin-scott

I'd lean towards local business more than product. Providing a service, more than something consumable.

duplaja avatar Feb 24 '18 03:02 duplaja

I don't know enough about the back end / Google classifications to be sure, though, of course.

duplaja avatar Feb 24 '18 03:02 duplaja

Schema is still in beta. I have had in in place on my personal site, but haven't had anything pop up as far as showing stars on the search result. Does pass the schema checker though, so verdict is still out.

duplaja avatar Dec 12 '18 02:12 duplaja

@duplaja You can take a look at my site https://www.fldtrace.com/ to see how the reviews are using schema coding. They are tested to work in Google. For the record, it only works on subpages as Google won't show the home page reviews in SERP. Let me know if I can be of further assistance from the SEO/Schema standpoint.

Unrelated to the schema, I also recommend using SVG for the star rating images. You can re-use the code I have and change the color. This will reduce the http requests and the PNG size.

fldtrace avatar Feb 13 '19 19:02 fldtrace