• Hello

    There is a Schema problem with Elementor. When you use the “Star rating” widget you end up with a schema error that says “The property reviewRating is not recognized by Google for an object of type CreativeWork.”

    This is very bad and also shows up in Google search console as a problem that needs to be fixed.

    When will this be fixed?

Viewing 10 replies - 1 through 10 (of 10 total)
  • For your information, pages may have the “itemtype” schema property (or “@type” in Google’s Structured Data Testing Tool) set to “CreativeWork” (the more generic item type for creative work) which is currently unsupported by Google.

    In most cases, this item type property seems to be included in the page’s HTML coding by the theme.

    You may be able to confirm on your end by temporarily switching your theme to WordPress’ Twenty Nineteen (or our Hello Elementor theme) then check if the warning is still present in Google’s Structured Data Testing Tool after running a new test.

    At the moment, Google only supports the “reviewRating” schema property provided by our Star Rating widget for Books, Local businesses, Movies, Music, Products and Recipes pages. You may find more on this in Google’s support article below on the Review schema snippet.

    https://developers.google.com/search/docs/data-types/review-snippet

    Thread Starter bettingpelle

    (@bettingpelle)

    Hello

    Thank you for your reply.

    However, the warning has nothing to do with the theme. I’m using Astra but I have tried Hello as well. When I remove the “star widget” the warning disappears when checking Google’s Structured Data Testing Tool so it definitely has to do with the “star widget” itself within Elementor.

    Could you please check on your end? I wouldn’t normally stress about a warning, but I get it in the search console as well which makes the “star widget” unusable because of this.

    If there is a setting within the Astra theme to change this then please let me know.

    Thanks.

    • This reply was modified 5 years, 4 months ago by bettingpelle.

    Unfortunately, as much as I would love to help you, at the moment, Elementor does not fully support schema attributes. This is why it may not be compatible.

    I know how important is this matter to you, and I believe it would be a great feature, so, on my end, I’ve tagged this ticket as a feature request so that our development team can consider this option.

    pingram

    (@pingram3541)

    @davidr90 How about considering a checkbox toggle in the star rating element to NOT include the schema attributes we have no control over?

    ladipos

    (@ladipos)

    Hello,
    I am using my rich snippets “Product”.
    Rich snippets “CreativeWork” is not compatible with “Product”.
    How to disable in Elementor rich snippets “CreativeWork” or all rich snippets?
    Thanks

    pingram

    (@pingram3541)

    Here’s a snippet I now use to add a toggle to the Star Rating widget to toggle off Schema if desired https://gist.github.com/pingram3541/49b110dd8d6188324abe47d7663e39ec

    pingram

    (@pingram3541)

    However the fix to our problem was related to the Astra theme of which modifying the body tag was necessary via:

    add_filter( 'astra_schema_enabled', '__return_false' );

    https://wpastra.com/docs/disable-schema-markup/

    ladipos

    (@ladipos)

    I’m sorry for the mistake.
    Rich snippets was not added by the elementor but by the template generatepress.

    ladipos

    (@ladipos)

    functional solution:

    // remove rich snippets for a particular page
    function remove_gp_schema_type() {
        if ( is_page(12) ){
            add_filter( 'generate_schema_type', '__return_false' );
        }    
    }
    add_action('wp_head', 'remove_gp_schema_type');
    • This reply was modified 5 years ago by ladipos.
    ladipos

    (@ladipos)

    Thank you for your help

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Elementor Schema Problem’ is closed to new replies.