- This topic has 5 replies, 3 voices, and was last updated 2 years, 1 month ago by Burt.
April 22, 2019 at 2:32 am #875385Simon
I was just wondering what your advice is for Schema regarding GeneratePress and Yoast SEO 11?
I know I can disable GP schema using a filter
add_filter( 'generate_schema_type', '__return_false' );
After scanning the forums, I can see as usual the amazing support you provide gives ways to modify the GP Schema as well.
Yoast has some additional dev documentation here for developers: Schema integration guidelines
What is the current best practice in your opinion as the theme author if someone is using Yoast on their site, should we:
- Remove the GP Scheme using the filter and use Yoast instead
- Leave GP Schema enabled and ignore Yoast
Also, do you plan on integrating GP in the future in any way with the Yoast Schema API?
SimonGeneratePress 2.2.2GP Premium 1.7.8April 22, 2019 at 4:12 pm #876019TomLead DeveloperLead Developer
The microdata that GP provides is very minimal. It mainly highlights the header, navigation and content area.
If your site has specific content that you can better highlight using JSON+LD (in Yoast or elsewhere), you should disable the GP microdata and use those solutions instead.
In time, we’ll see if integrating with the Yoast API makes sense.
Let me know if you need more info 🙂April 24, 2019 at 11:11 am #877982Simon
Thanks, for advice and the update on the possible integration in the future after evaluating the API. If it’s minimal, I totally understand not implementing it in the future.
You’ve given me all I need, thank you.
SimonApril 24, 2019 at 1:39 pm #878169Burt
Just a thought – Yoast is awesome, but what a heavy resource hog even on the front end. How about looking to be able to add our own JSON-DL for home page and maybe others?April 24, 2019 at 1:55 pm #878181TomLead DeveloperLead Developer
You’re welcome, Simon!
Burt – absolutely! Super easy to do if you understand JSON+LD syntax. You could even use Elements to add it throughout your site.April 24, 2019 at 2:40 pm #878211Burt
OMG – I am slipping I never even thought about using Elements for JSON+DL!!!! Brilliant Tom!!!
The logic is all built in with Elements on where to display it and the Google Testing tool seems to work on JSON+DL. Here is a getting started with JSON+DL https://hallanalysis.com/json-ld-generator/
One thing to point out for most of the website you only have to have JSON+DL on the home page. Of course, there are many acceptions.
- You must be logged in to reply to this topic.