Archived topic
Double Product Schema Listings
1 reply · Started by Henry Bowman on August 15, 2019
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?
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 :)