How do I add Schema Types NOT listed in my WordPress Structured Data plugin?
 by Kristi Hagen

How do I add Schema Types NOT listed in my WordPress Structured Data plugin?

  • My question relates to the KC SEO schema plugin and a law firm Website.

    I see there's something known as attorney schema – https://schema.org/Attorney – but I don't see this option available in the KC SEO plug-in.

    I would like to add schema mark up for the individual lawyer bios. As a work around I was thinking about using the Service mark up for this type of page. Service Name = John Smith, Service Type = Fraud Litigator, etc.

    What are your thoughts on this strategy?

Answer:

The Pro version of the KC Structured Data WordPress plugin offers more schema types, but I don't see Attorney offered on any of the plugins we recommend. That means you'll have to hand code those pages to get that markup in there. To do that you'll need to add the code to the header of the pages and you can use something like the SOGO plugin to insert the JSON-LD code into the page on a WordPress site.

However, be aware that Schema.org is now recommending schema.org/LegalService over Attorney. That's the code you'd put on the home page of your site, similar to /LocalBusiness.

My advice is that https://schema.org/Person would be the appropriate markup for the BIO pages. Then you can add Attorney as Occupation within that markup. Here's an example of what that JSON-LD markup would look like:

<script type="application/ld+json">
{
    "@context": "http://schema.org",
    "@type": "Person",
    "address": {
        "@type": "PostalAddress",
        "addressLocality": "Detroit",
        "addressRegion": "MI",
        "postalCode": "48204",
        "streetAddress": "123 Main St."
    },
    "email": "mailto:johnsmith@domain.com",
    "image": "johnsmith.jpg",
    "jobTitle": "Principal at Eagle Advisors, LLC",
    "name": "John Smith",
    "telephone": "123-456-7899",
    "url": "http://www.domain.com",
    "sameAs": [
        "http://www.facebook.com/your-profile",
        "http://instagram.com/yourProfile",
        "http://www.linkedin.com/in/yourprofile",
        "http://plus.google.com/your_profi...

TO READ THE FULL ARTICLE

SearchEngineNews.com Logo

Continue reading your article with a $1 Trial SEN Membership

VIEW MEMBERSHIP OPTIONS