Archived topic
Remove CreativeWork Schema
5 replies · Started by Charles on February 24, 2021
Viewing posts 1–6 of 6
Hi there,
I've installed a schema plugin on my site and the support suggest I remove the CreativeWork schema that the Generatepress theme is generating.
How is that possible?
Charles
Hi there,
try adding this PHP Snippet:
add_filter( 'generate_article_microdata', '__return_empty_string' );
Adding PHP: https://docs.generatepress.com/article/adding-php/
Does that remove all schema on generate press, or just the CreativeWork schema?
That will just remove the Article CreativeWorks schema.
Phenomenal, thanks!!
You're welcome
This archived topic is closed to new replies.