Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

itemprop WP for SERP/SEO Rich snippets

Mô tả

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

This plugin will NOT FIX BADly programmed WordPress sites!

Project itempropWP homepage

Have a good idea for improvement? Share it | BUG report

Example output:

<span itemscope itemtype="" class="itempropwp-wrap">
  <span itemscope itemtype="" class="itempropwp-wrap">
    <!-- Itemprop WP 3.5.201610051 by Rolands Umbrovskis -->
    <meta itemprop="name" content="Title of the Article" />
    <meta itemscope itemprop="mainEntityOfPage"  

    <meta itemprop="url" content="" />
    <span itemprop="image" itemscope itemtype="">
      <meta itemprop="url" content="" />
      <meta itemprop="width" content="640"/>
      <meta itemprop="height" content="480"/>
    <meta itemprop="author" content=""/>
    <meta itemprop="description" content="excerpt from post OR first 170 symbols (with full word), ..." />
    <meta itemprop="datePublished" content="2012-09-13 19:17:21"/>
    <meta itemprop="dateModified" content="2016-02-15 13:33:25" />
    <meta itemprop="interactionCount" content="UserComments:356"/>
    <span itemprop="publisher" itemscope itemtype="">
      <span itemprop="logo" itemscope itemtype="">
        <meta itemprop="url" content="">
      <meta itemprop="name" content="Example Blog">
    <!-- Itemprop WP 3.5.201610051 by Rolands Umbrovskis end -->

Đánh giá

<div itemprop="review" itemscope itemtype="">
  <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="">
      <meta itemprop="worstRating" content = "1"/>
      <meta itemprop="ratingValue" content="4.5" />
      <meta itemprop="bestRating" content="5" />
    <span itemprop="itemReviewed" itemscope itemtype="">
      <meta itemprop="name" content="Item Title" />

   <div itemscope itemtype="">
      <meta itemprop="name" content="Item Title" />
      <span itemprop="offers" itemscope itemtype="">
        <meta itemprop="price" content="55.36" />
        <meta itemprop="priceCurrency" content="USD" />
        <link itemprop="availability" href="" />
    <meta itemprop="description" content="Great Item Title for the price." />

How does it work?

This assumes 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 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 choice, but at least we have some description.
  • If Your post do not have even title, plugin will give up and your description will be empty. (This is 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

Ảnh màn hình

  • 3.0 Full featured example
  • 3.3.0 Full featured Đánh giá example

Cài đặt

  1. Unzip the download package
  2. Upload itempropwp to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. See itempropwp.php for usage

Hỏi đáp

There are no questions for now! Ask!

Installation Instructions
  1. Unzip the download package
  2. Upload itempropwp to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. See itempropwp.php for usage

Đánh giá

3 Tháng Chín, 2016
We had a hard time finding a plugin that included the "Article" schema tag in the Shema markup and this one did it perfectly
Đọc tất cả 16 đánh giá

Người đóng góp & Lập trình viên

“itemprop WP for SERP/SEO Rich snippets” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi


  • implementing index.php against exposure of data


  • tested up to 4.6.1


  • tested up to 4.5


  • and Google article requirement changes (since 3.5.201602152). Thanks to @jasonreposa on Issue #28


  • Versions changed. Nothing more



  • Same as 3.4.8


  • Illegal string offset onoff Issue #20, thank to Robert Roose (@summatix)[] on GitHub



  • Simple check for WordPress. Make sure we don’t expose any info if called directly Issue #18


  • compatible with WordPress 4.2.*


  • Typo fix in plugin’s description




  • fixed: Illegal string offset ‘onoff’. Issue #10 Thanks for report to Arthur Lutz
  • tested: PHP 5.2.10 & Apache 2.2 / 5.5.9 & apache 2.4


  • updated: in Review – default price now with filter
  • updated: in Review – default currency now with filter


  • fixed: wp_register_style was called incorrectly. Reported RFT Group.


  • small bugfix in rare cases: “For some reason all blog articles now have Type:;”, thanks to indevd bugreport




  • Compatibility with NextGen gallery. Thanks to indevd


  • Review summary fix
  • updated: better naming
  • updated: review On/Off positions


  • new: itemprop=”review”
  • updated: admin interface for options


  • updated: admin interface for options
  • new: CSS class for wrapper


  • updated: itemprop=”description”
  • Admin interface for options: description lenght (if excerpt not provided),show/hide UserComments:325, show/hide dateModified


  • fixed: itemprop=”description”


  • fix: itemprop=”description”


  • new: itemprop=”description”


  • new: context
  • new: itemprop=”name”
  • new: itemprop=”url”
  • new: itemprop=”image”
  • new: itemprop=”author”
  • new: itemprop=”datePublished”
  • new: “UserComments:325″ itemprop=”interactionCount”


  • new code
  • now as extendable class function
  • new: using WordPress filter for image attributed on thumbnails




  • init