- This topic has 9 replies, 4 voices, and was last updated 1 year, 5 months ago by Tom.
January 27, 2021 at 3:15 am #1635321Ivan
When doing the structured data test with the Google tool, a total of 4 types of Schema appear, the two created by me (WebPage and LocalBusiness.) + CreativeWork (inside there is a nonsense text) and SiteNavigationElement.
I have read that they are from GeneratePress. Are important? Do they affect something?
The website is https://emcolimpiezas.es
Thank youJanuary 27, 2021 at 9:54 am #1635971TomLead DeveloperLead Developer
They can help Google understand your content better. However, in most cases, you’re better off using an SEO plugin with JSON-LD integration.
If you want to remove the structured data, you can do so with a simple filter:
add_filter( 'generate_schema_type', '__return_false' );
Hope this helps! 🙂February 2, 2021 at 7:49 am #1643085Ivan
So do you recommend leaving them as they are? I have two more schemas (WebPage and LocalBusiness).
“You’re better off using an SEO plugin with JSON-LD” you mean a plugin like Yoast SEO (I already have this plugin). Is it better to use only said plugin?February 2, 2021 at 11:24 am #1643344LeoStaffCustomer SupportFebruary 3, 2021 at 6:59 am #1644325Ivan
ok, but it is not clear to me, it is better to remove the Schemas from GeneratePress or it is better to leave them.
In case of removing them, where do I have to put the indicated filter?February 3, 2021 at 7:39 am #1644375DavidStaffCustomer Support
if you’re adding your own scheme then its probably best to remove the Themes.
This article explains how to add the PHP Snippet that Tom provided:February 5, 2021 at 6:51 am #1647065Ivan
I have asked Yoast SEO support and they have told me that I can leave the SiteNavigationElement as it won’t conflict with. Yoast SEO generated schema markup
I have also been told that I have to remove CreativeWork as WebPage is more spesific.
My question is, how can I delete only the CreativeWork schema?February 6, 2021 at 10:11 am #1648399TomLead DeveloperLead DeveloperFebruary 16, 2021 at 10:17 am #1660709Ivan
Done! and sorry for answering now ..
Thanks,February 16, 2021 at 11:01 am #1660763
- You must be logged in to reply to this topic.