Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save inetbiz/37f15455877674ae510c to your computer and use it in GitHub Desktop.
Save inetbiz/37f15455877674ae510c to your computer and use it in GitHub Desktop.
WordPress Category Description in Schema.org Colletion Page markup
<div itemscope itemtype="http://schema.org/CollectionPage">
<meta itemprop="sameAs" content="https://en.wikipedia.org/wiki/Social_media" />
<a itemprop="url" href="https://www.example.org/category/social-media/"><img src="/wp-content/uploads/xxxx/xxxx/xxxxxx.png" width="95" height="100" itemprop="logo" alt="Social Media Iconic Representation" align="left"></a>
<div itemprop="name"><strong>Open Source Hardware</strong></div>
<div itemprop="description">Whatever description you are going to use that is contextual to both your sameAs content and the category loop</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment