资源说明:Add human invisible schema.org itemprop code to the content of article
# itemprop WP for SERP/SEO Rich snippets
Add human invisible schema.org itemprop code to post content
* [Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Z4ALL9WUMY3CL&lc=LV&item_name=Umbrovskis%2e%20WordPress%20plugins&item_number=002¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) or promote this work
* License URI: http://simplemediacode.com/license/gpl/
[](https://waffle.io/rolandinsh/itempropwp/metrics/throughput)
## Description
Have a good idea for improvement? [Share it](https://github.com/rolandinsh/itempropwp/issues) | [BUG report](https://github.com/rolandinsh/itempropwp/issues)
This plugin will NOT FIX BADly programmed WordPress sites!
### Example:
Article
Review
### 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:
* NEW in 3.3.0 itemprop="review".
* 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`, `UserComments`, `url` are taken from post
### Features
* Admin interface for options: description lenght (if excerpt not provided),show/hide UserComments:325, show/hide dateModified
* schema.org and Google article requirement changes (since 3.5.201602152). Thanks to @jasonreposa
* itemprop="description" (since 3.1.1)
* itemprop="name" (since 3.0)
* itemprop="url" (since 3.0)
* itemprop="image" (since 1.0)
* itemprop="author" (since 3.0)
* itemprop="datePublished" (since 3.0)
* "UserComments:325" itemprop="interactionCount" (since 3.0)
* itemprop="review" (since 3.3.0)
### Links
* [Project Page](https://simplemediacode.com/wordpress-pugins/itemprop-wp/)
* [SMC Facebook](https://www.facebook.com/SimpleMediaCode/)
* Development: [Github](https://github.com/rolandinsh/itempropwp)
## Installation
1. Unzip the download package
1. Upload `itempropwp` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. See `itempropwp.php` for usage
Require PHP at least 5.3
## Frequently Asked Questions
There are no questions for now! [Ask!](https://simplemediacode.com/wordpress-pugins/itemprop-wp/)
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
