Title: Protect schema.org markup in HTML editor
Author: Ecwid by Lightspeed Ecommerce Shopping Cart
Published: <strong>8 juni 2016</strong>
Last modified: 5 oktober 2026

---

Plugins zoeken

![](https://ps.w.org/protect-schemaorg-markup-in-html-editor/assets/icon.svg?rev
=3101102)

# Protect schema.org markup in HTML editor

 Door [Ecwid by Lightspeed Ecommerce Shopping Cart](https://profiles.wordpress.org/ecwid/)

[Download](https://downloads.wordpress.org/plugin/protect-schemaorg-markup-in-html-editor.0.6.zip)

 * [Details](https://nl.wordpress.org/plugins/protect-schemaorg-markup-in-html-editor/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/protect-schemaorg-markup-in-html-editor/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/protect-schemaorg-markup-in-html-editor/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/protect-schemaorg-markup-in-html-editor/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/)

## Beschrijving

WordPress HTML editor (tinyMCE) treats schema.org attributes like itemscope/itemtype/
itemprop as invalid HTML attributes and strips them when you save the post or page
content. This plugin alters this behavior and prevent the WordPress HTML editor 
from removing the schema.org/microdata markup.

### Credits

@azaozz suggested the solution. See the issue discussion here: https://core.trac.
wordpress.org/ticket/27931

## Installatie

Just install the plugin as usually and activate it. Once activated, it will keep
your markup from being removed by the HTML editor. No setup required.

## Beoordelingen

![](https://secure.gravatar.com/avatar/41501a831190ffdb6517c0e4987b75643aec4717d28e9dbfb643a8fec7933350?
s=60&d=retro&r=g)

### 󠀁[heading tags](https://wordpress.org/support/topic/heading-tags-3/)󠁿

 [alikargozar](https://profiles.wordpress.org/alikargozar/) 15 februari 2023

Please protect the attributes that are in the heading tags.

![](https://secure.gravatar.com/avatar/ec4487736be71cce2a1c2236f29de4e54cc6ad6eff08d5fd7784664f18dca1e0?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-33583/)󠁿

 [juelu](https://profiles.wordpress.org/juelu/) 2 maart 2022 1 reactie

Works like a charm for protecting our markup!

![](https://secure.gravatar.com/avatar/68130d30cb8a93a16226bdaeb588d31d92592431cdd0161f4022c4a2e73523ab?
s=60&d=retro&r=g)

### 󠀁[Simple yet Powerful](https://wordpress.org/support/topic/simple-yet-powerful-14/)󠁿

 [axxixx](https://profiles.wordpress.org/axxixx/) 6 oktober 2016 1 reactie

This is a really good plugin. I had an issue with it before adding a review to see
what the outcome would be and WOW the support was fantastic. Highly recommended.
This will now be a plugin I use for all my sites.

![](https://secure.gravatar.com/avatar/b810be0c02c99a4ad341f93d5fda8e9d5e36582044d8abe67bcbaa688d7148b4?
s=60&d=retro&r=g)

### 󠀁[Fixes Problems with Visual Composer Plugin](https://wordpress.org/support/topic/fixes-problems-with-visual-composer-plugin/)󠁿

 [jsites](https://profiles.wordpress.org/jsites/) 20 september 2016 1 reactie

Client's website is using a strange page builder plugin called Visual Composer. 
This plugin seems to strip out all of my Schema.org markup attributes. I installed
this plugin, and it resolved the issues, and now my attributes are staying on the
page.

![](https://secure.gravatar.com/avatar/02a1a5e9a13401f6ab7a06c291c8a53fe08c37f64b1a983190430502936fd738?
s=60&d=retro&r=g)

### 󠀁[Works EXACTLY as expected!](https://wordpress.org/support/topic/works-exactly-as-expected-15/)󠁿

 [Suz](https://profiles.wordpress.org/bdlsuz/) 8 september 2016 1 reactie

Yep, it works EXACTLY as they say it will! Just install and go add your schema into
your post or page! Yay! This solved us a BUNCH of headaches! Thanks a million for
this great tool!

 [ Lees alle 4 beoordelingen ](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/)

## Bijdragers & ontwikkelaars

“Protect schema.org markup in HTML editor” is open source software. De volgende 
personen hebben bijgedragen aan deze plugin.

Bijdragers

 *   [ Ecwid by Lightspeed Ecommerce Shopping Cart ](https://profiles.wordpress.org/ecwid/)

[Vertaal “Protect schema.org markup in HTML editor” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/protect-schemaorg-markup-in-html-editor)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/protect-schemaorg-markup-in-html-editor/),
haal de [SVN repository](https://plugins.svn.wordpress.org/protect-schemaorg-markup-in-html-editor/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/protect-schemaorg-markup-in-html-editor/)
via [RSS](https://plugins.trac.wordpress.org/log/protect-schemaorg-markup-in-html-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.6

 * The new feature is the compatibility schema.org attributes for the wp_kses_post
   function. This is useful when page content from additional fields with HTML editor
   is filtered using wp_kses_post function by third-party plugins.

#### 0.5

 * Added support for the “content” attribute for the “time” tag
 * Fixed error “Notice: Undefined index: extended_valid_elements”

#### 0.4

Fixed src attribute being removed from img tag.

#### 0.3

Fixed schema.org attributes being removed from article and p tags.

#### 0.2

Fixed schema.org attributes being removed from img tags.

#### 0.1

Initial version

## Meta

 *  Versie **0.6**
 *  Laatst geüpdatet **1 maand geleden**
 *  Actieve installaties **700+**
 *  WordPress versie ** 4.0 of nieuwer **
 *  Getest t/m **7.1.4**
 *  Taal
 * [English (US)](https://wordpress.org/plugins/protect-schemaorg-markup-in-html-editor/)
 * Tags
 * [html-editor](https://nl.wordpress.org/plugins/tags/html-editor/)[microdata](https://nl.wordpress.org/plugins/tags/microdata/)
   [rich snippets](https://nl.wordpress.org/plugins/tags/rich-snippets/)[schema.org](https://nl.wordpress.org/plugins/tags/schema-org/)
   [tinyMCE](https://nl.wordpress.org/plugins/tags/tinymce/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/protect-schemaorg-markup-in-html-editor/advanced/)

## Waarderingen

 5 van 5 sterren.

 *  [  5 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/?filter=3)
 *  [  0 2 sterren beoordelingen     ](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/?filter=2)
 *  [  0 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/?filter=1)

[Je beoordeling](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/reviews/)

## Bijdragers

 *   [ Ecwid by Lightspeed Ecommerce Shopping Cart ](https://profiles.wordpress.org/ecwid/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/protect-schemaorg-markup-in-html-editor/)