Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rolandinsh/itempropwp

Add human invisible schema.org itemprop code to the content of article
https://github.com/rolandinsh/itempropwp

itemprop microdata php schema wordpress wordpress-plugin

Last synced: 4 days ago
JSON representation

Add human invisible schema.org itemprop code to the content of article

Awesome Lists containing this project

README

        

# 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&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted) or promote this work
* License URI: http://simplemediacode.com/license/gpl/

[![Throughput Graph](https://graphs.waffle.io/rolandinsh/itempropwp/throughput.svg)](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/)