Adding Schema to a Footer

How to add schema to a web page footer.

Building materials of an online reputation


Schema markup tells search engines a lot of important things. They are optional, but helpful in websites. For reputation management, we use schema to help Google and Bing know which sites are related. For example, we recommend schema be placed on the main website of a company and use “sameas” markup (more on this later) to show search engines the websites of sites related to the company, like it’s Facebook page, Twitter, and more. By adding this type of schema to the HTML code, search engines know for certain which sites are related to the company. They don’t have to guess. This often results in a better search engine profile for the company. It works for people too. 

The schema creator

Choose the Type of Schema Markup You Want. For example, companies should use “organization”. schema-creator.png

Choose the type of Schema you want to create from the left menu. For example, if the website is about a Person, choose “person”. In this exercise we will assume we are creating a schema for a person. 

Here is the link you will eventually use after you have read this document:

A generator we like to use is this JSON-LD version

Decide What Information Goes Into Your Schema

When creating micro-data for a person (schema markup) you have a few kinds of information you wouldnt normally have for an organization. The person can be alive or dead, even fictional. The tagging captures data points related directly to the person. Potential tags include address, related URL, job title and birth date. Here is an example of how you might fill out a schema for a fictitional person named John Doe:


Add “SameAs” code to schema markup

You can see in the right pane both what the HTML will look like on the web page, and the HTML-like code behind it in the “Code” section. It looks a lot like HTML. You could just cut and paste this code right into your WordPress site, but we want to add a bit of markup called “SameAs” first.

A good explanation of what SameAs means can be found here, but suffice it to say that addition of the SameAs code to the Schema we just created will tell search engines about other web pages that are also about the subject. This is important for online reputation management because it informs search engines as to what websites and web pages (you can include both) are relevant to the person or company you are indicating. 

Normal schema “SameAs” code looks like tThis

The SameAs code looks like this:

<div itemprop=”sameAs” href=””>John Doe on Twitter</div>

… But should be changed to this:

<div><a itemprop=”sameAs” href=””>John Doe on Twitter</a></div>

Because this will make it into a link. Search engines follow links, which is what we want. You do not have to make it a link, you could just add the code to your HTML and it would work – you just won’t have a link to your social media or related properties. Why would you forgoe a link from your site to those properties? Because you may already have links / icons, etc. that point there. 

Paste the SameAs code Into your generated schema

You can copy the code above, paste it into the code from Schema Creator like this ( below and in green for your convenience):

<div itemscope itemtype=””>
<a itemprop=”url” href=” “><div itemprop=”name”><strong>John Doe</strong></div>
<div itemscope itemtype=””><span itemprop=”name”>Reputation X</span></div><div itemprop=”jobtitle”>Chief Mucky-Muck</div>
<div itemprop=”description”>John Doe is a really weird guy. He wears a chicken hat most days, is a Pokemon fan, and has posters of Prince all over his office that scream “‘Cuz they say two thousand zero zero party over / Oops out of time / So tonight I’m gonna party like it’s 1999” every time someone walks by. </div>
<div itemprop=”address” itemscope itemtype=””>
<div itemprop=”streetAddress”>1234 Main Street</div>
<div><span itemprop=”addressLocality”>Mill Valley</span>, <span itemprop=”addressRegion”>California</span></div><div itemprop=”postalCode”>94941</div>
<div itemprop=”addressCountry”>United States</div>
<div itemprop=”email”></div>
<div itemprop=”telephone”>800-889-4812</div>
<div><meta itemprop=”birthDate” content=”1964-07-05″>DOB: 07/05/1964</div>

<div><a itemprop=”sameAs” href=””>John Doe on Twitter</a></div>

Editing the schema markup

The schema markup provided by an online generator may have information you do not want. For example, lets assume you accidentally put Johns birthday in there, and John Doe doesn’t want to reveal his birthday was way back in 1964 because it makes him feel old (like it does the author of this post). You would delete the line with his birthday. Here is an example of an unwanted line of schema code (only because John wouldn’t want it). 

<div><meta itemprop=”birthDate” content=”1964-07-05″>DOB: 07/05/1964</div>

You can delete that whole line including the <div> and </div> tags. So now the schema doesn’t include the birthday. You could also choose not to include it in the first place when filling out the schema generator form of course. 

How to paste schema code into WordPress

If your site uses WordPress you would go to your website, then go to the admin section. It will usually be somewhere like this:

Login to your site. Different WordPress themes have different menus. But for the most part you will want to place the schema markup HTML in the footer of every page of your website. We are going to do that by clicking on Appearance, then Customize, then Widgets, and then the footer section in which we want to place the code. In our case this is Footer Area One (our template has three footer areas, yours may only have one).


Add a widget to WordPress

After we navigate to Appearance, then Customize, we’re going to add a Widget by clicking Add a Widget


The widget we want to add to the footer section will enable us to drop that schema markup into the footer so the schema will show up all over the site.


Once we have added the Text (arbitrary text or HTML) we’ll have an area in which to paste the schema code. Before we paste the code it will look like this:


After we paste the code it will look like this:


Save and publish

And when we click “Close” at the bottom of that window and click Save and Publish at the top,


The schema code in the footer

When done, it will look like this at the bottom of ever page on the website. In the example below, only the words “John Doe” are a link. But if we had added the “<a itemprop=” instead of the <div itemprop… the “John Doe on Twitter” would also be a link. 

Get a Quote

Leave your name and email below along with what you are looking for in the message box. Or you can call us at 123.456.789.

Close Menu