/wp-schema-org-in-editor

Allow Schema.Org markup in WP content editor

Primary LanguagePHP

Allow Schema.Org Markup in WordPress (WP) Content Editor

Modifies allowed elements in WordPress and TinyMCE to allow the schema.org attributes itemscope, itemtype, itemprop, content and datetime in HTML elements. Also allows the div HTML element. 'div' elements can be added with the itemscope and itemtype attribute and the other attributes can be added to may types of elements.

This plugin does not add any controls or change the editor to allow automatic insertion of elements or attributes. The editor must edit the document in "Text" (code) view and manually add the desired markup to the document. the editor needs to be familiar with http://schema.org/.

List of Elements and Attibutes Allowed

  • a
    • itemprop
    • content
  • acronym
    • itemprop
    • content
  • article
    • itemprop
    • content
  • audio
    • itemprop
    • content
  • blockquote
    • itemprop
    • content
  • caption
    • itemprop
    • content
    • datetime
  • cite
    • itemprop
    • content
  • dd
    • itemprop
    • content
    • datetime
  • div
    • itemscope
    • itemtype
    • itemprop
    • content
    • datetime
  • dt
    • itemprop
    • content
    • datetime
  • figure
    • itemprop
    • content
  • h1
    • itemprop
    • content
  • h2
    • itemprop
    • content
  • h3
    • itemprop
    • content
  • h4
    • itemprop
    • content
  • h5
    • itemprop
    • content
  • h6
    • itemprop
    • content
  • img
    • itemprop
    • content
  • li
    • itemprop
    • content
    • datetime
  • link
    • itemprop
    • href
    • content
    • datetime
  • meta
    • itemprop
    • content
    • datetime
  • p
    • itemprop
    • content
    • datetime
  • span
    • itemprop
    • content
    • datetime
  • time
    • itemprop
    • content
    • datetime
  • track
    • itemprop
    • content
  • video
    • itemprop
    • content