WPSSO Strip Schema Microdata to Use Google Recommended Schema JSON-LD Markup

Description

Do you need to fix incorrect Schema Microdata in your theme templates?

Do you need to remove Schema Microdata markup added by 3rd party plugins?

Do you prefer the Google recommended Schema JSON-LD markup standard?

Is Pinterest picking up duplicate / incorrect Schema from your theme templates?

Are you using the WPSSO Schema JSON-LD Markup extension for Google SEO and want to remove the old Schema Microdata from your theme templates?

The WPSSO Strip Schema Microdata extension removes Schema Microdata markup from the webpage body section, leaving the Google recommended Schema JSON-LD markup and Schema meta tags in the head section untouched. WPSSO SSM filters the webpage content dynamically, allowing you to activate / deactivate the extension as desired to enable / disable the removal of Schema Microdata. A “Strip Microdata” settings page allows you to enable the removal of duplicate / conflicting meta tags from the webpage head section as well (disabled by default).

The WPSSO SSM filters are very fast – generally running in under 0.003 seconds – and enabling the removal of duplicate meta tags won’t add much to this, but I would suggest not enabling that feature unless you need it. If your theme and/or other plugins are adding duplicate meta tags, it’s always best to disable them at their source instead of filtering them out afterwards – but if that’s not possible, then you should find this WPSSO SSM feature very useful. 😉

How do you know what it’s doing? 😉

WPSSO SSM includes a handy activity summary at the bottom of each webpage (as a hidden HTML comment) to inform you of how many matches it removed, and how long it took. Use your browser’s “View Source” feature and scroll down to the bottom of the webpage HTML source to review the activity summary.

<!-- WpssoSsmFilters::strip_schema_microdata = 41 matches \
    removed in 4 interations and 0.001799 secs -->

Prerequisite — WPSSO Strip Schema Microdata is an extension for the WPSSO plugin, which automatically generates complete and accurate meta tags + Schema markup from your content for social media optimization (SMO) and SEO.

Additional Documentation

  • None

Screenshots

  • WPSSO SSM settings page — manage options to remove of duplicate / conflicting meta tags, application/ld+json scripts, and/or Schema HTML attributes.

Installation

Install and Uninstall

FAQ

Installation Instructions

Install and Uninstall

Frequently Asked Questions
  • None

Reviews

Necessary Plugin for Proper Schema Markup

Fantastic tool and necessary if you want proper schema markup on your website. Many themes come with markup that is unnecessary and conflicts. This handles that perfectly.

Adds no weight to page load speed.

Well done as always with all WPSSO products.

Insanely good support. 10/10

Same review I gave for the main WPSSO plugin… This is my first time reviewing a plugin. I’m a mid-level WordPresser (not a pro by any means) and never felt the urge to comment on a plugin as I don’t necessarily always know what the shortcomings may be from a coding standpoint. But my experience with this plugin developer blew me away. I’ve never seen anything like it.

The plugin itself (and possibly some extensions) automatically inserts all the correct markup for every major social media platform. I faced a very particular conflict with the caching system of my host WPengine not interacting properly with Pinterest. This was not a problem with the plugin but JS stuck with it for several days doing diagnostics and updating the WPSSO plugins to work around the caching issue. He communicates promptly and goes beyond the call of duty to make it work for you.

10/10

Read all 2 reviews

Contributors & Developers

“WPSSO Strip Schema Microdata to Use Google Recommended Schema JSON-LD Markup” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Free / Basic Version Repository

Version Numbering

Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]

  • {major} = Major structural code changes / re-writes or incompatible API changes.
  • {minor} = New functionality was added or improved in a backwards-compatible manner.
  • {bugfix} = Backwards-compatible bug fixes or small improvements.
  • {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).

Changelog / Release Notes

Version 1.2.1 (2017/07/14)

  • New Features
    • None
  • Improvements
    • Added an is_feed() check to skip content from feeds.
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 1.2.0 (2017/07/09)

  • New Features
    • None
  • Improvements
    • Added support for two new constants:
      • WPSSOSSM_ERROR_LOG_DISABLE
      • WPSSOSSM_COMMENT_DISABLE
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 1.1.8 (2017/07/03)

  • New Features
    • None
  • Improvements
    • Added a check for an empty webpage (possible redirect).
    • Added a check for a duplicate “<body ” string in the webpage.
  • Bugfixes
    • None
  • Developer Notes
    • Added PHP error_log() messages if the “<body ” string is not found or a duplicate string is found.

Version 1.1.7 (2017/04/30)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • None
  • Developer Notes
    • Code refactoring to rename the $is_avail array to $avail for WPSSO v3.42.0.

Version 1.1.6 (2017/04/17)

  • New Features
    • None
  • Improvements
    • Added ‘itemid’ to the list of Schema attributes that are removed.
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 1.1.5 (2017/04/16)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • None
  • Developer Notes
    • Refactored the plugin init filters and moved/renamed the registration boolean from is_avail[$name] to is_avail['p_ext'][$name].

Version 1.1.4 (2017/04/10)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • Fixed the head section byte count to retain the newline character.
  • Developer Notes
    • None

Version 1.1.3 (2017/04/08)

  • New Features
    • None
  • Improvements
    • None
  • Bugfixes
    • None
  • Developer Notes
    • Minor revision to move URLs in the extension config to the main WPSSO plugin config.
    • Dropped the package number from the production version string.

Version 1.1.2-1 (2017/04/05)

  • New Features
    • None
  • Improvements
    • Updated the plugin icon images and the documentation URLs.
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 1.1.1-1 (2017/03/25)

  • New Features
    • None
  • Improvements
    • Added the “Application/LD+JSON Scripts” and “Schema HTML Attributes” options under the Head Section tab as well (disabled by default).
  • Bugfixes
    • None
  • Developer Notes
    • None

Version 1.1.0-1 (2017/03/19)

  • New Features
    • Added a new “Strip Microdata” settings page with options to manage the removal of duplicate / conflicting meta tags, application/ld+json scripts, and Schema HTML attributes.
  • Improvements
    • None
  • Bugfixes
    • None
  • Developer Notes
    • Refactored the WpssoSsmFilters strip_schema_microdata() method and added support for the removal of duplicate / conflicting meta tags.

Version 1.0.6-1 (2017/03/01)

  • New Features
    • None
  • Improvements
    • Added removal of application/ld+json scripts from the webpage body.
  • Bugfixes
    • None
  • Developer Notes
    • None