• Resolved Amari

    (@helpless0writer)


    Hello,

    Love the plugin, and am just trying to see if it could possibly handle additional issues I’m having. Specifically, I’m trying to find a way to not get the warnings for:

    The review field is recommended. Please provide a value if available.
    The offers field is recommended. Please provide a value if available.

    I don’t do offers, so that makes sense as an error. However, the review field issue perplexes me.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Hi, it looks like you aren’t using Site Reviews on that page.

    The schema that Site Reviews generates is disabled by default. To enable it, you need to use the schema option in the shortcodes like this:

    [site_reviews schema=true]

    OR

    [site_reviews_summary schema=true]

    Site Reviews generates the JSON-LD schema which is what Google recommends. This also means that it is easy to modify using a filter hook if needed (as it’s essentially a javascript array).

    Site Reviews offers two different schema types: “LocalBusiness” and “Product”. If you are reviewing something that is not a LocalBusiness or a Product, you can use a custom schema type. Please see the following post which explains this further: https://www.ads-software.com/support/topic/how-to-add-new-seperate-values-to-schema/#post-12282838

    If you need help to add additional schema properties for your custom schema type, or to link the Site Reviews schema to other existing schema on your page, let me know and I will do my best to help you.

    • This reply was modified 4 years, 6 months ago by Gemini Labs.
    Thread Starter Amari

    (@helpless0writer)

    Okay, I added that but I’m still getting this error: https://ibb.co/tm4H6Zt

    According to Schema.org/Product, I need to add “review.” I know how to get to functions.php, but what do I need to add? Also, is it something that would require a child theme so it wouldn’t be erased?

    Plugin Author Gemini Labs

    (@geminilabs)

    1. First of all, the JSON-LD schema will only appear on pages that have the Site Reviews shortcode on it. The reason for this is simple: the Site Reviews schema is a representation of the reviews and the rating of your page to search engines. If your page does not use any of the Site Reviews shortcodes then there will be no visible review information on the page. If you were to add review/rating schema to your page that does not reflect visible content, then search engines will penalise your ranking.

    2. The problem you are having is coming from the microdata markup on your page. This is not being created by Site Reviews:

    And if I look at your page in the Structured Data Testing Tool, I can see that the Site Reviews schema is not being loaded on this page (probably because you are not using any of the Site Reviews shortcodes on it):

    3. Let me show you what it looks like when the Site Reviews schema is active on a page using the Site Reviews shortcodes.

    Here is what it looks like with the LocalBusiness schema type selected in the settings:

    You can view this on the Structured Data Testing Tool here: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fsite-reviews.staging.skybox.one%2Flocalbusiness

    And this is what it looks like with the Product schema type selected in the settings:

    You can view this on the Structured Data Testing Tool here: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fsite-reviews.staging.skybox.one%2Fproduct

    Note that although there are warnings in this one, the green preview button still appears which shows that this particular schema display the snippets in the search results. Also, the Product schema includes a @id property which allows it to link with Woocommerce’s schema which completes the missing properties.

    Thread Starter Amari

    (@helpless0writer)

    Okay, I did some tests and now I’m more in line with what you’re talking about. In order to get the preview section, I need actual people to review the product, similar to how we see on Amazon, in order for that function to work.

    That isn’t what I need or am looking for.

    Plugin Author Gemini Labs

    (@geminilabs)

    Can you provide a description of what you are trying to accomplish?

    Thread Starter Amari

    (@helpless0writer)

    I think I fixed my issue. Formerly, I was reliant on the “Product” schema since the review schema didn’t calculate my AggregateRating correctly. It was have the rating count be how many items I noted for my review and use the rating value from that.

    However, I tinkered a bit and with using:

    [site_reviews_form title=”How Would You Rate This?” hide=”content,email,name,terms,title” assign_to=”post_id]

    [site_reviews_summary assigned_to=”post_id” rating=”1″ title=”Overall Community Rating” labels=”Recommended, Worth Watching, On The Fence, Divisive, Skip” schema=”true”]

    It now shows the right reviewcount and rating value. Granted, it still shows the way listed in the first paragraph, but I think I finally got it.

    Edit: Donated to you for all your help. I hope the “Review statistics” feature is coming along. I’d love to easily show off what’s the top-rated or recently rated. Right now I’m not 100% sure that can be done in a cut and dry way a la WP Review Pro, or a similar plugin.

    • This reply was modified 4 years, 6 months ago by Amari.
    • This reply was modified 4 years, 6 months ago by Amari.
    Plugin Author Gemini Labs

    (@geminilabs)

    Ah, I think I understand the problem now.

    Something to be aware of is that Google only displays snippets in the search results for specific types of content (see: https://webmasters.googleblog.com/2019/09/making-review-rich-results-more-helpful.html), and the schema type is the thing that describes what the content is. These are the schema types that show snippets in search results:

    1. schema.org/Book
    2. schema.org/Course
    3. schema.org/CreativeWorkSeason
    4. schema.org/CreativeWorkSeries
    5. schema.org/Episode
    6. schema.org/Event
    7. schema.org/Game
    8. schema.org/HowTo
    9. schema.org/LocalBusiness
    10. schema.org/MediaObject
    11. schema.org/Movie
    12. schema.org/MusicPlaylist
    13. schema.org/MusicRecording
    14. schema.org/Organization
    15. schema.org/Product
    16. schema.org/Recipe
    17. schema.org/SoftwareApplication

    So what is the goal? If your goal is to show snippets in the search results for your page which you are defining in the HTML as a “Review”, then according to Google, this will not happen as a review is not the type of content that shows search result snippets.

    Looking at your page, the main content of is the actual review. However, what is the review for? It’s for a TV series! And what are you using Site Reviews for? You are using it to rate the TV series that you have reviewed.

    So, a solution here is to use “CreativeWorkSeries” from the list above as the custom schema type in Site Reviews as that is what you are reviewing.

    In fact, if you read the google link again, you will see that not only does it support the schema types in the list above, it also supports the subtypes of each of the types in the list.

    This means that you can be even more specific and use “TVSeries” as the custom schema type.

    I can see that you not only review TV Series but also Movies. Well, “Movie” is one of the allowed schema types, so you could also use that. And as explained on the Settings > Schema page, you can use the Custom Fields meta box to set the schema type of a per-page basis which you may need to do since you review both Movies and TV Series. For example (replace Local Business with the schema type you wish to use):

    Plugin Author Gemini Labs

    (@geminilabs)

    One last thing to keep in mind, the Structured Data Testing Tool from Google doesn’t always show the green preview button for some of the schema types (or subtypes) in the list above. It’s likely that Google hasn’t updated it since making the changes to their schema policies. However, if the schema type is in the list above or is a subtype of one of those types, then according to Google if the schema is valid, it will likely be used as a snippet in search results (although snippets are never guaranteed).

    Thread Starter Amari

    (@helpless0writer)

    Hopefully, you don’t mind me just posting a new question here, but one last thing: Is there a way to have the plugin trigger a clearing of the cache? I’ve noticed it doesn’t update [site_reviews_summary] unless the cache is cleared.

    Few other questions:

    -Is the way the code is done below good?-

    [site_reviews_form title=”How Would You Rate This?” hide=”content,email,name,terms,title” assign_to=”post_id”]

    [site_reviews_summary assigned_to=”post_id” labels=”Recommended, Worth Watching, On The Fence, Divisive, Skip” rating=”1″ schema=”true” title=”Overall Community Rating”]

    -Can you use an ad manager and make this into a shortcode and it work properly or do you need to put it directly into a post?-

    Sorry about all the questions but, like most, I’m trying to set something in place and then not have to touch it for a long time. So I’m just trying to cross my Ts and dot my Is.

    Plugin Author Gemini Labs

    (@geminilabs)

    1. This depends on the caching plugin, which one are you using?

    2. Looks fine. A couple things: You could also use the Settings > Translations page to change the labels instead of adding them every time in the shortcode. also the rating option is unnecessary is you are requiring the rating field (rating=1 is the same as all ratings with a minimum rating of 1 star).

    3. I don’t understand this question, would you reword it?

    Thread Starter Amari

    (@helpless0writer)

    1. It’s Kinsta’s cache
    2. Noted and changed
    3. I use an ad manager, Ad Inserter to be specific, to create shortcodes that input the code above. Do you think that may or is causing issues at all?

    Plugin Author Gemini Labs

    (@geminilabs)

    1. I am unfamiliar with Kinsta, however your issue is likely due to either the page cache or the database cache.

    Site Reviews provides an action hook that is triggered after a review is submitted, so if Kinsta provides a way (i.e. a function that triggers a cache flush when run) you can use this hook to trigger the cache flushing.

    add_action('site-reviews/review/created', function ($review) {
        // run a function here to flush the cache... 
    });

    You may need to contact the Kinsta support to get help with this.

    3. As long as the Ad Inserter plugin is able to render shortcodes, then it should be no issue to use the shortcodes with it.

    • This reply was modified 4 years, 6 months ago by Gemini Labs.
    Thread Starter Amari

    (@helpless0writer)

    New question: Is there a way for the “Assigned To” to copy over to the Title within “All Reviews”

    Also, is there a way to fix the invalid object type for field “itemReviewed” error in Review Snippets?

    It pops up for some, like: https://wherever-i-look.com/movies/weather-with-you-2020-review-summary

    but not for others, like: https://wherever-i-look.com/tv-series/insecure-season-4-episode-7-lowkey-trippin-recap-review-with-spoilers

    Thread Starter Amari

    (@helpless0writer)

    I’m even seeing “Missing field “author” on some.

    Note: My Default Schema Type is set to Custom with the type I’m looking for being “Review” though I don’t know if I should put Article instead or if the Custom Schema Type entry is just text and doesn’t generate anything.

    I should also note, this seems to only affect the aggregate rating options so I don’t know if I should require title and author in order to fix these issues.

    • This reply was modified 4 years, 6 months ago by Amari.
    Plugin Author Gemini Labs

    (@geminilabs)

    New question: Is there a way for the “Assigned To” to copy over to the Title within “All Reviews”

    You can do this:

    Also, is there a way to fix the invalid object type for field “itemReviewed” error in Review Snippets?

    You can’t use “Review” as a custom schema type with Site Reviews because Site Reviews uses the schema to generate the aggregateRating property (which is like the average rating for your combined reviews), and that property cannot be used inside the Review schema as that is supposed to be used only for an individual review.

    If you are not using the Aggregate Rating property in the schema, then you are probably better off using a dedicated schema plugin to generate your schema instead.

    Question #1: Are you using Site Reviews to allow your readers to review your written reviews of films and TV series?

    If yes, then you should use the “Article” schema type (or a similar type to that) as your custom type, as your readers are reviewing the articles that you are writing. Note, however, that the “Article” schema type will not show up as a rating snippet in search results. To see the list of schema types that Google supports as rating search result snippets, see the list provided previously.

    Question #2: Are you using Site Reviews to allow your readers to review the films and TV series that you have written review articles about?

    If yes, then you should use the “Film” and “TVSeries” schema types as your custom schema type as suggested previously.

    Question #3: Are you using Site Reviews to allow your readers to review the films and TV series that you have written review articles about and are selling online?

    If yes, then you should use “Product” as your custom schema type.

    • This reply was modified 4 years, 6 months ago by Gemini Labs.
Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Trying To Get “Review” to show up in Product section of Schema’ is closed to new replies.