Last updated on October 17th, 2024.
Hi 👋
Did you create some custom schema markup and want to add it to a specific page using the Gutenberg editor? There are several plugins that can help you with that. However, there’s also a quick and easy way to do it without a plugin and without touching your header.php
.
You can add schema markup via custom HTML, and here’s how. For the following instructions, I assume you have your JSON-LD schema markup already created using a generator like Kalicube, and that you have verified your schema through the Schema validator.
1. In WordPress go to the page or post you would like to add the schema on.
2. Add Custom HTML block

3. Add the schema snippet to the HTML block

Here is an example of the schema code:
<script type="application/ld+json">
{
"@context": "<https://schema.org/>",
"@type": "Person",
"name": "Corina Burri",
"url": "<https://corinaburri.com/>",
"image": "<https://corinaburri.com/wp-content/uploads/2023/03/Corina-Burri-SEO-Headshot.jpg>",
"sameAs": [
"<https://twitter.com/corinaburri>",
"<https://www.linkedin.com/in/corina-burri/>",
"<https://www.youtube.com/@corinaburri>"
],
"description": "I am a Digital Analytics lead and SEO Freelancer from Zurich. My career began in the FMCG industry before moving on to tech and finance. The tech industry has influenced my work style, and I’ve embraced a lean and data-driven approach. I’m passionate about SEO and have contributed to publications such as SEOFOMO, Forbes, or iPullRank. Inclusion and Diversity are important to me, too. I am an active member of the Women in Tech SEO community and a certified Google #Iamremarkable Facilitator. I work in English, German, Spanish, and French. And socialize in Catalan, Italian and Swedish, too.",
"knowsAbout": ["SEO", "Content Marketing", "Analytics"],
"knowsLanguage": ["English", "German", "Spanish", "French", "Catalan", "Italian", "Swedish"],
"gender": "female",
"birthDate": "xxxx-xx-xx",
"birthPlace": "birthPlace",
"nationality": "Swiss",
"address": {
"@type": "PostalAddress",
"addressLocality": "Zurich",
"addressCountry": "Switzerland"
},
"email": "email",
"telephone": "+41-44-508-0438",
"alumniOf": [
{
"@type": "CollegeOrUniversity",
"name": "Universitat Pompeu Fabra",
"sameAs": "<https://www.upf.edu/>"
},
{
"@type": "CollegeOrUniversity",
"name": "Fachhochschule Nordwestschweiz (FHNW)",
"sameAs": "<https://www.fhnw.ch/>"
},
{
"@type": "CollegeOrUniversity",
"name": "Hochschule Luzern (HSLU)",
"sameAs": "<https://www.hslu.ch/>"
},
{
"@type": "CollegeOrUniversity",
"name": "HWZ Hochschule für Wirtschaft Zürich",
"sameAs": "<https://www.hwz.ch/>"
}
]
}
</script>
4. Click on Save
or Publish
on the top righ

5. Go to Schema Validator and enter your URL.
6. Preview the page to ensure the schema is working properly.
7. Is the desired schema markup appearing in the toole like in the screenshot below? Then your’re done.

What is schema markup actually good for?
Schema markup classify information and help search engines to understand your content a bit better. You serve the information on a silver platter to Google so to speak. And we should want to provide best information to Google bot to make its work as easy as possible. (And be rewarded with sweet rankings 😉 )