[Resolved] Double Product Schema Listings

Home Forums Support Double Product Schema Listings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #985234
    Henry Bowman

    We have been struggling with making Google search console happy in the product Schema department. We consistently have a number of errors that don’t seem to be fixable with the basic wordpress and woocommerce site software. When, adding schema plugin’s to help bridge the gap we consistently wind up with “double the schema for each product and double the errors on the site for each product.

    Is there a way to stop schema from being generated by wordpress, wordpress themes and woocommerce, yet still let the schema plugin do it’s thing?

    - h.k. Bowman

    Lead Developer
    Lead Developer

    Hi there,

    You can stop GeneratePress from generating schema like this:

    add_filter( 'generate_schema_type', '__return_false' );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    WordPress itself shouldn’t generate any schema.

    Let me know if the above fixes it 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.