Support » Plugin: Head, Footer and Post Injections » Schema JsonLD

  • Resolved WebNut

    (@healthy-lawn-dude)


    Reading much but have not found if this will be good for installing Schema JsonLD Structured data.
    I know using Tag Manager is frowned upon by Google.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    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?

    Plugin Author Stefano Lissa

    (@satollo)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Schema JsonLD’ is closed to new replies.