Skip to content

Meta itemprop «author» (on blog author pages) are invalid #9

@oliveratgithub

Description

@oliveratgithub

The OG plugin inserts the following Meta tag with itemprop reference author to the <head>, but this is invalid – it is even not allowed with something else than a CreativeWork or Book(Series):

<meta itemprop="author" content="Oliver">

Rather, a JSON-LD markup for Person would be the right way to insert this (as Microdata markup within the page's structure might be too complicated).

→ Refer to the specs here or use this handy online Person Markup-builder (although this has also some invalid markup, like worksFor).

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Person",
  "name": "Oliver Atgithub",
  "jobTitle": "WP User Role?",
  "sameAs": [
    "https://twitter.com/twittername",
    "https://linkedin.com/linkedinuser",
    "https://personalwebsite.com/"
  ]
}
</script>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions