How to insert schema markup in the head of your website

Learn how to add a JSON-LD script to the head of your pages in plain HTML or WordPress, and how to check that search engines can read it.
Schema.org without a kgmid: is it a problem?

A kgmid is the identifier Google gives an entity in its Knowledge Graph. Learn when your markup needs it, how to find it and how to add it.