Archived topic
Remove Schema - add_filter blank screen
3 replies · Started by Alex on April 5, 2020
Using latest GP Theme & GP Premium and trying to remove the CreativeWork schema from being output. After I try adding the add_filter( 'generate_schema_type', '__return_false' ); to my wp_config I immediately get a white screen for the site and wp-admin.
As soon as I remove this from the wp_config the site goes right back to normal. Is there another method or reason I would be getting this result?
Hi there,
the code needs to go in your Child Theme functions.php.
More info here:
Worked perfectly, thanks!
You're welcome