=== SimpleSchema Free ===
Contributors: sergiomico
Donate link: http://hire.sergiomico.com/
Tags: microdata, microformat, schema, itemprop, itemtype, itemscope, tinymce, editor
Requires at least: 3.0.1
Tested up to: 4.3.1
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This microdata insertion shortcode tool prevents the WordPress built-in TinyMCE content editor removing microdata when you change post content editor view from code text to visual.
== Description ==
EN: This microdata insertion shortcode tool prevents the WordPress built-in TinyMCE content editor removing microdata when you change post content editor view from code text to visual.
ES: Esta herramienta shortcode para inserción de microdatos evita que el editor de contenidos TinyMCE incorporado en WordPress elimine los microdatos cuando cambias la vista del contenido del post de vista de código a vista visual.
You should read *Changelog* and *Other notes* tabs.
== Examples ==
From version 1.2:
**Example with [meta_geo_coordinates]**
`[meta_geo_coordinates lat="39.321123" lon="0.654987" /]`
will return
`
`
**Example with [meta_blog_posting]**
`[meta_blog_posting /]`
will return
`
`
From version 1.1:
**Example 1: [keywords][/keywords]**
`[keywords]Cars[/keywords]`
will return:
`Cars`
**Example 2: [keywords tag="*HTMLtag*"][/keywords]**
`[keywords tag=h2]Cars[/keywords]`
will return:
`Cars
`
**Example 3: [itemprop][/itemprop]**
`[itemprop name="name"]LocalBusiness Name[/itemprop]`
will return:
``
**Example 4: [itemprop tag="*HTMLtag*"][/itemprop]**
`[itemprop name="name" tag="h1"]LocalBusiness Name[/itemprop]`
will return:
`LocalBusiness Name
`
**Example 4: [itemscope itemprop="*Its itemprop, if needed*" itemtype="*Its schema name*"][/itemscope]**
`[itemscope itemprop="owns" itemtype="Product"][itemprop name="name" tag="h2"][keywords]Cars[/keywords][/itemprop][/itemscope]`
will return:
`LocalBusiness Name
`
**Complete example: parent itemscope wrapping itemscope childs**
`[itemscope itemtype="LocalBusiness" tag="div" start /]
[itemprop name="name" tag="h1"][keywords]LocalBusiness Name[/keywords][/itemprop]
[itemscope itemprop="owns" itemtype="Product"][itemprop name="name" tag="h2"][keywords]Cars[/keywords][/itemprop][/itemscope]
[itemscope itemprop="owns" itemtype="Product"][itemprop name="name" tag="h2"][keywords]Motorcycles[/keywords][/itemprop][/itemscope]
Email: [itemprop name="email" tag="em"]business@email.com[/itemprop]
Telephone: [itemprop name="telephone" tag="strong"]+1-800-000-000[/itemprop]
[itemscope tag="div" end /]`
or
`[is itemtype="LocalBusiness" tag="div" start /]
[ip name="name" tag="h1"][keywords]LocalBusiness Name[/keywords][/ip]
[is itemprop="owns" itemtype="Product"][ip name="name" tag="h2"][kw]Cars[/kw][/ip][/is]
[is itemprop="owns" itemtype="Product"][ip name="name" tag="h2"][kw]Motorcycles[/kw][/ip][/is]
Email: [ip name="email" tag="em"]business@email.com[/ip]
Telephone: [ip name="telephone" tag="strong"]+1-800-000-000[/ip]
[is tag="div" end /]`
will return:
``
== Installation ==
1. Unzip the zip file to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Place the right shortcodes in your post/page content editor
== Changelog ==
= 1.2 =
* New [meta_geo_coordinates] and [meta_blog_posting] shortcodes.
* `[meta_geo_coordinates lat="39.321123" lon="0.654987" /]` will return ``
* `[meta_blog_posting /]` will return ``
* Both [meta_geo_coordinates] and [meta_blog_posting] will also admit content between [shortcode][/shortcode] marks.
= 1.1 =
* You can use [kw], [ip] or [is]. They work like [keywords], [itemprop] and [itemscope]. Work with less characters!
= 1.0 =
* Better version. See *Other notes* tab.
= 0.5 =
* First version, only admits *blogPosting* and *GeoCoordinates* schemas.
== Upgrade Notice ==
= 1.0 =
Sorry but, this version changes all (to a better version, of course). You might do revision to your SimpleSchema Free shortcodes.