This topic contains 12 replies, has 8 voices, and was last updated by David 5 months, 2 weeks ago.
October 19, 2018 at 1:08 am #704815
Hi, I want to remove the CreativeWork schema that gets added on all posts and pages.
Do you have a php snippet I can add into child theme or code snippets plugin to do that?
thanks,GeneratePress 2.1.4GP Premium 1.7.2October 19, 2018 at 9:36 am #705243
Leo Customer Support
Unfortuantely it’s currently not possible to remove them completely:
Let me know if this helps 🙂October 19, 2018 at 2:08 pm #705415
Thanks, that linked suggestion is ok to change the type but then I would have to go and add the required elements of the new schema type by JSON-LD anyway. It would be preferable just to remove the “CreativeWork” schema that GP adds and then me add complete code for the schema needed with Json-ld.
On that thread Tom mentioned back in January that the schema removal functionality is on the way, any idea on ETA?October 19, 2018 at 4:45 pm #705485
Hi, I also need to remove the schema completely, please provide a option to disable / enable it.October 19, 2018 at 4:49 pm #705486
Tom Lead Developer
GP 2.2 will introduce JSON-LD which can be turned off in the Customizer.
2.2 will be available for public testing within a couple weeks.January 8, 2019 at 4:44 pm #776711
Hello. Has this issue been addressed? I am looking all around in the customizer but don’t see a way to disable the schema. I checked the version and it looks like I am using 2.2.1.
JasonJanuary 8, 2019 at 5:33 pm #776743
Tom Lead DeveloperFebruary 6, 2019 at 10:33 am #803263
This code no longer works in GP version 2.2 Did you add another way to disable this?
It was working in 2.1 for me perfectly, but now just throws a PHP error (same code placement).
ColtFebruary 6, 2019 at 11:26 am #803313
Leo Customer Support
I’m using GeneratePress 2.2.2 and just added the code using code snippet without any issues:
It should not have worked in 2.1.
What error are you getting?February 6, 2019 at 11:45 am #803331
I was manually adding it in, but using that plugin worked for me now too. Thanks!February 6, 2019 at 11:54 am #803340
Leo Customer SupportDecember 21, 2019 at 4:12 am #1110394
You mentioned that “GP 2.2 will introduce JSON-LD which can be turned off in the Customizer. 2.2 will be available for public testing within a couple weeks.” Has this been added to any of the recent releases ?.December 21, 2019 at 5:56 am #1110453
You must be logged in to reply to this topic.