Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    Something on your page is using the reviewRating schema, which requires extra markup within your page.

    It’s best if you can remove that reviewRating schema, but you can also tell GeneratePress to stop adding schema with some PHP like this:

    add_filter( 'generate_schema_type', '__return_false' );

    Let me know if you need more info 🙂

    Thread Starter Endless Hair Extensions

    (@endlesshairextensions)

    HI, thank you for your reply. I’m not sure how to:

    tell GeneratePress to stop adding schema with some PHP like this:

    add_filter( ‘generate_schema_type’, ‘__return_false’ );

    I’m not sure what you mean?

    Thanks!

    Try adding that line of code using one of these methods:
    https://docs.generatepress.com/article/adding-php/

    Thread Starter Endless Hair Extensions

    (@endlesshairextensions)

    Hi! Thank you! Finally, the error message is gone thanks to your knowledgable help:)

    Theme Author Tom

    (@edge22)

    Glad we could help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Issue with Google’s structured data tool’ is closed to new replies.