Hi, you shoulduse a plugin which generates the schema from the page/blog content. This plugin just let you to inject code you have to write by your own.
Stefano.
Thread Starter
WebNut
(@healthy-lawn-dude)
I really would like to find all the code I need and apply it myself. Putting my code into your plugin my code is able to be changed and corrected easily.
However I need to know if there is anyway that each page could be identified as seperate. Each different page in the page header area. All the JSONLD structured data for a completed schema will need to be in its own page.Example: https://mysite/1st page/ https://mysite/2nd page/
Google does not like Tag Manager being used for schema apparently.
Thank you for your help, can this be done?
Yes, the variable $post is the global WP variable that identify the current post. If you need to know the post ID on head context, you should use the get_queried_object_id() or like.
Stefano.