• Resolved Moumen Ahmed

    (@etswak1)


    Hello guys First of all the plugin is what i’m looking for to implement reviews on my site and i so much i like it because it provide blocks . Am using Rank Math Pro to markup my pages i use the following content types :
    1-How-to
    2-Book
    3-Local business
    4-Software App
    Because this content support Review snippet as Google say.
    My problem when i add Schema like How-to on my page get Error for Review snippets .
    1-Item does not support reviews
    2-Missing field “itemReviewed”
    3-Missing field “author”
    4-You rated a review, rather than an item
    I test all content types Howto – book – Local Business -Software App- Product- etc.
    and the same Error .
    Could please help me how i can add Review snippets be side my SEO plugin.
    I Just need sample review Rating Summary, Latest Reviews, Submit a Review form
    Google Rich Test Results

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

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

    (@geminilabs)

    It look like you are using “Review” as the custom schema type in the Site Reviews settings. This is incorrect. The Schema Type should be set to what is being reviewed.

    If you have existing schema on your page and would like to link it with the Site Reviews schema, please read the help text on the Settings page.

    Also read the tooltips for additional information:

    And if you need additional schema customisation, please see the FAQ page:

    Thread Starter Moumen Ahmed

    (@etswak1)

    Hello again, Yes i was set “Review” as the custom schema type in the Site Reviews settings. Because i want add just Review snippets for my page that i created using Rank Math schema but the plugin make conflet with rank math schema .
    So now i change “Review” on custom schema type in the Site Reviews settings to “HowTo” but i get Error ( Duplicate field “HowTo” ) I think because Site Reviews generat another Howto schema .
    How i can make the plugin compatible with Rank Math schema ?

    Google Rich Test Results

    Thread Starter Moumen Ahmed

    (@etswak1)

    I created @id for Howto schema on Rank Math but I get errors on Review snippets ( Item does not support reviews ) and all reviews are red .
    rich results test

    Plugin Author Gemini Labs

    (@geminilabs)

    1. Make sure you have entered your custom schema type correctly:

    2. Add an @id property to your Rank Math schema

    In the following examples, we are assuming that the @id you have set in Rank Math is the URL of the page followed by “#HowToSchema”.

    3. Add the same @id property to the Site Reviews schema.

    Option 1: Use the Custom Fields metabox as explained on the Schema Settings page

    Option 2: Use the hook as shown in the FAQ

    /**
     * @param array $schema
     * @return array
     */
    add_filter('site-reviews/schema/HowTo', function ($schema) {
        $schema['@id'] = get_permalink().'#HowToSchema';
        return $schema;
    });
    Thread Starter Moumen Ahmed

    (@etswak1)

    Hello this my is shortcode i used for site review plugin on my page :

    [site_reviews_summary title=”Summary of Reviews ” assigned_posts=”664″ schema=”true”]

    [site_reviews title=”Recent Reviews ” pagination=”false” assigned_posts=”664″ schema=”true” id=”kse2pg0n”]

    [site_reviews_form title=”Submit Review” assigned_posts=”664″ id=”kse2rd65″ hide=”terms”]

    I did the following :
    1- I created @id #HowToSchema on rank math schema .

    2- I set Custom field to Name schema_identifier & Value https://etswak.net/thank-you#HowToSchema

    3- I put on Site Reviews-Settings-Schema-Default Schema Type(Custom) & Custom Schema Type (HowToSchema)

    4- I used code code snippets plugin to insert the hook .

    /**
     * @param array $schema
     * @return array
     */
    add_filter('site-reviews/schema/HowTo', function ($schema) {
        $schema['@id'] = get_permalink().'#HowToSchema';
        return $schema;
    });

    All the previous steps i took are now active, however the following errors are show up on Google Rich Test Results .
    1-Invalid object type for field “itemReviewed
    2-Review has multiple aggregate ratings
    3-Item does not support reviews
    Google Rich Test Results

    Did i make a mistake while performing these steps?

    Plugin Author Gemini Labs

    (@geminilabs)

    The schema type is HowTo, not HowToSchema.

    If you are using #HowToSchema as the @id in Rank Math, then you will need to use the exact same value in Site Reviews (i.e. remove the URL from the value).

    Thread Starter Moumen Ahmed

    (@etswak1)

    Hello,
    I fix it by set :
    1- [site_reviews_summary title=”Summary of Reviews ” assigned_posts=”664″ schema=”false“]
    Because it causes ( multiple AggregateRating )
    2- set Custom field Name (schema_identifier ) & Value (yoursite/page/#HowTo
    that all now all Review snippets green and Page is eligible for rich results

    I will close this topic and mark as resolved, But i have final question for you,
    What should i do if i want to create another page but with different schema like Software App ?

    Plugin Author Gemini Labs

    (@geminilabs)

    Thread Starter Moumen Ahmed

    (@etswak1)

    Thank you for your support

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error Review Schema Snippets with Rank Math Pro’ is closed to new replies.