Ready to get started?Download WordPress

Plugin Directory

itemprop WP for SERP/SEO Rich snippets

Add human invisible schema.org itemprop code to post content for search engines and bots for better SERP results

This plugin is very simple. Using WordPress built in function to filter element attributes and adding < meta > tags with schema.org item properties.

Project itempropWP homepage

Example output:

<span itemscope itemtype="http://schema.org/Article" class="itempropwp-wrap">
<!-- Itemprop WP 3.4.1 by Rolands Umbrovskis http://umbrovskis.com -->
 <meta itemprop="name" content="Title of the Article" />
 <meta itemprop="url" content="http://example.com/seo-optimized-article/" />
 <meta itemprop="image" content="http://example.com/images/example.jpg" />
 <meta itemprop="author" content="http://example.com/author/authorusername/"/>
 <meta itemprop="description" content="excerpt from post" />
 <meta itemprop="datePublished" content="2012-09-13 19:17:21" />
 <meta itemprop="dateModified" content="2012-09-29 13:33:25" />
 <meta itemprop="interactionCount" content="UserComments:356" />
<!-- Itemprop WP 3.4.1 by Rolands Umbrovskis http://umbrovskis.com end -->


<div itemprop="review" itemscope itemtype="http://schema.org/Review">
  <meta itemprop="name" content="Item Title is greate!" />
  <meta itemprop="author" content="Rolands Umbrovskis" />
  <meta itemprop="datePublished" content="2011-03-25" />
    <span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
      <meta itemprop="worstRating" content = "1"/>
      <meta itemprop="ratingValue" content="4.5" />
      <meta itemprop="bestRating" content="5" />
    <span itemprop="itemReviewed" itemscope itemtype="http://schema.org/Thing">
      <meta itemprop="name" content="Item Title" />
   <div itemscope itemtype="http://schema.org/Product">
      <meta itemprop="name" content="Item Title" />
      <span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
        <meta itemprop="price" content="55.36" />
        <meta itemprop="priceCurrency" content="USD" />
        <link itemprop="availability" href="http://schema.org/InStock" />
    <meta itemprop="description" content="Great Item Title for the price." />

How does it work?

This asumes that Your page is not fully integrated with HTML5's data properties for microdata. This plugin will create small code inside Your full content, with extra microdata from schema.org. This will be ONLY on singular pages - post, page or your custom post type.

Once we are on singular page:

we will extract from it EXCERPT. If You haven't provided excerpt, plugin will look-up for post content, and downsize it to 170 symbols up to full word. If your content consist ONLY of shortcode, it will strip it out, and leave empty content. :( If we have empty content, from previous step, we will use post title. Not best choise, but at least we have some description. If Your post do not have even title, plugin will giveup and your description will be ampty. (This ir very bad :') )

Other options, like datePublished, dateModified (if enabled), UserComments (if enabled), url are taken from post

Development: Github

Developer on twitter @UmbrovskisCom / @SimpleMediaCode

Require PHP at least 5.3

Requires: 3.3 or higher
Compatible up to: 3.9.2
Last Updated: 2014-5-7
Downloads: 23,017


4 stars
4.5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1 100,3,3
100,1,1 100,1,1