- This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by
Burt.
-
AuthorPosts
-
April 22, 2019 at 2:32 am #875385
Simon
Hi Tom,
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?
Kind regards,
Simon
GeneratePress 2.2.2GP Premium 1.7.8April 22, 2019 at 4:12 pm #876019Tom
Lead DeveloperLead DeveloperHey Simon,
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 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 24, 2019 at 11:11 am #877982Simon
Hi Tom,
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.
Kind regards,
Simon
April 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 #878181Tom
Lead DeveloperLead DeveloperYou’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.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 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.
-
AuthorPosts
- You must be logged in to reply to this topic.