Schema

Description

Like Schema plugin? Consider leaving a 5 star review.

Super fast, light-weight plugin for adding schema.org structured data markup in recommended JSON-LD format automatically to WordPress sites.

Enhanced Presentation in Search Results By including structured data appropriate to your content, your site can enhance its search results and presentation.

Check out the Plugin Homepage for more info and documentation.

What is Schema markup?

Schema markup is code (semantic vocabulary) that you put on your website to help the search engines return more informative results for users. So, Schema is not just for SEO reasons, it’s also for the benefit of the searcher.

Schema Key Features

  • Easy to use, set it and forget it, with minimal settings.
  • Enable Schema types at once per post type or post category.
  • Valid markup, test it in Google Structured Data Testing Tool.
  • Output JSON-LD format, the most recommended by Google.
  • Reuse data saved in post meta, which is created by other plugins.
  • Extensible, means you can extend its functionality via other plugins, extensions or within your Theme’s functions.php file.

Plugin Extensions

  • Schema Review: Extend Schema functionality by adding review and rating Structured Data functionality for Editors and Authors.
  • Schema Default Image: Add ability to set a default WordPress Featured image for schema.org markup.

Supported Google/Schema Markups

Supported Schema Types

Supported Plugins

  • Yoast SEO
  • AMP plugin
  • WPRichSnippets
  • The SEO Framework
  • Visual Composer
  • ThirstyAffiliates
  • WooCommerce

Supported Themes

  • Genesis 2.x
  • Thesis 2.x
  • Divi

Developers?

Feel free to fork the project on GitHub and submit your contributions via pull request.

Screenshots

  • Plugin Settings page.
  • Create new schema type screen.
  • Create post meta fields with Post Meta Box generator feature.
  • Google Structured Data Testing Tool.

Installation

  1. Upload the entire schema folder to the /wp-content/plugins/ directory
  2. DO NOT change the name of the schema folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Navigate to the Schema > Settings menu to configure the plugin
  5. If you cache your site, make sure to clear cache after configuring the plugin settings.

FAQ

Installation Instructions
  1. Upload the entire schema folder to the /wp-content/plugins/ directory
  2. DO NOT change the name of the schema folder
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Navigate to the Schema > Settings menu to configure the plugin
  5. If you cache your site, make sure to clear cache after configuring the plugin settings.
The plugin isn’t working or have a bug?

Post detailed information about the issue in the support forum and we will work to fix it.

Is there any Documentation for this plugin?

Indeed, detailed information about the plugin can be found on the documentation section on our website.

Are you going to add support for new schema.org types in the future?

Nope! The Schema plugin is meant to add markup to a basic WordPress installation, including those types (mostly Article, BlogPosting) which needs to be supported on a fresh install.

Other schema.org types shall be added via Plugin Extensions, or a custom code.

Is there a way to add a new schema.org type?

Luckily… Yes! Schema plugin has a filter which can be used to add support for new schema.org types.

Knowledge Graph is not showing?

The plugin meant to validate markup in Google Structured Data Testing Tool, we don’t have control over the actual display of Knowledge Graph.

I see an error in Google Structure Data Testing Tool

This could be for one -or more- of the following reasons:

  • Image error: This is a missing WordPress Featured image, try to upload a Featured image.
  • Logo error: This is a missing Publisher logo, it can be set in the plugin settings page, Schema > Settings > General > Publisher Logo.

P.S. You may encounter errors for sites hosted locally, for accessibility reasons.

Compatible with Yoast SEO?

Yes, Schema plugin will detect Yoast SEO plugin and override its output on the front page of your site, this means all Knowledge Graph and Site Search output will be generated by Schema. However, the plugin settings gives you control over which plugin should output Knowledge Graph markup, Search Results, and Breadcrumbs.

Compatible with AMP plugin?

Yes, Schema plugin will detect AMP plugin and output a more complete and valid schema.org markup.

Reviews

One of the best

Здесь есть всё, что нужно для работы со Schema. Перепробовал пачку таких плагинов, рекомендую этот для большинства случаев.

Helps Search Engines Find My Website

Seems to be working well. I virtually didn’t have to do anything – except install it. It behaves well with my other plugins and enhances the structured data in my website. What more could I want?

Read all 84 reviews

Contributors & Developers

“Schema” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Schema” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.6.9.7

  • Fix for Sitelinks Search Box markup output, echo the value instead of returning it.

1.6.9.6

  • Fixed video object, removed a check for variable that always returns false.
  • Fixed Organization markup output, it was not working.
  • Fixed error, make sure PHP-XML extension is installed before parsing page HTML.
  • Fixed the query on home page, the blog posts page.
  • Fixed PHP notice when enabled types returns a string instead of an array.
  • Modified some wording and corrected typos across the plugin.
  • Added post id to the media function which is responsible for pulling images.
  • Added organization and author ids so Google can identify multiple.
  • Added post id to schema_wp_get_ref in schema_wp_get_type function.
  • Added new filter for overriding post type in Schema > Types screen.
  • Added new filter schema_author_output for overriding author markup output.
  • Added new filter sitelinks_search_box for overriding Sitelinks Search Box.
  • Added new function to get current post type.
  • Updated README.md file.

1.6.9.5

  • Fixed markup errors on AMP pages, now markup is pulled correctly form Schema.
  • Fixed an error due to conflict with previously declared function in another plugin.
  • Fixed CSS style used to hide the taxonomy add new link, target only schema post type.
  • Fixed Warning raised by delete_term_meta when deleting tags.
  • Fixed breadcrumbs, disabled breadcrumbs on WooCommerce to avoid duplication.
  • Fixed meta tax styles for sameAs input.
  • Fixed Blog posts page markup, create own loop with WP_Query to avoid conflicts.
  • Added new function schema_wp_get_type to get schema type by post id.
  • Added new function schema_wp_get_ref to get schema reference by post id.
  • Added two new filters to allow disable default sameAs feature.
  • Added a new filter to disable breadcrumbs.
  • Added new feature, support for schema.org markup on tags archives pages.
  • Added new features, support for sameAs markup on tag archive pages.
  • Updated readme.txt file.

1.6.9.4

  • Fixed bug in AMP plugin integration, function was called too early.
  • Fixed bug in post meta input field types when object post type is not set.
  • Fixed broken link in Contextual Help with the plugin settings pages.
  • Fixed bad requests happened in the backend for broken links.
  • Fixed PHP notice for undefined variable: results, in schema ref.
  • Fixed PHP notice in post meta Text input field when $meta has an array.
  • Added support for schema.org markup for taxonomy archive pages.
  • Added support for breadcrumbs json-ld, added new settings for it under Content tab.
  • Enhanced integration of Yoast SEO plugin, remove breadcrumb markup output automatically.
  • Enhanced integration of Genesis theme, remove breadcrumb markup output automatically.
  • Enhanced category archives markup, reduced 4 database queries, so now it is faster.
  • Enhanced Article schema output, only output if Article or sub types is chosen.
  • Enhanced post meta generator, added activation filters to generator and meta box.
  • Enhanced the display of post types list in Schema Types edit page.
  • Enhanced post meta save function, remove check for permissions on save.
  • Enhanced description by giving it its own function.
  • Updated readme.txt file, modified the plugin details and extended the FAQ section.

1.6.9.3

  • Fixed a bug in Yoast SEO integration while checking if plugin is active.
  • Fixed a warning showing when original post status is not set.
  • Fixed a warning when use the Quick Edit screen, could not retrieve post type.
  • Fixed input field styles in post meta.
  • Added new filter schema_wp_filter_description_word_count for description words count.
  • Added new property for post meta called class, to allow styling and targeting inputs.
  • Added new custom Bootstrap 4 styles to be used by extensions.
  • Extended readme.txt file FAQ section with more details about the plugin.
  • Pumped tested version to 4.8.2

1.6.9.2

  • Fixed post meta fields array, it was not defined properly.
  • Fixed minifying admin css file.
  • Fixed a bug in the Knowledge Graph markup output with other plugins.
  • Tweak modified admin menus to allow ordering admin sub menus by priority.
  • Added new filter schema_wp_types_post_meta_fields to allow adding fields to post meta.
  • Added new post meta field type for checkbox group inline.
  • Added better way to output Knowledge Graph markup, make it filterable.

1.6.9.1

  • Fixed a notice when WP Rich Snippets plugin is active on a post.
  • Fixed post meta class issue, scripts was not loading properly for some types.
  • Fixed post meta slider field and added range min property for better presentation.
  • Tweak repeated row fields styles, removed the extra li height from post meta CSS.
  • Tweak remove repeated fields icon link hover, force mouse cursor to pointer.
  • Tweak remove functions from deprecated-functions file.
  • Added new post meta sanitizers, santitize_title_with_dashes and sanitize_html_class.
  • Added new alert when deleting repeated fields to enhance user experience.
  • Added new function and filter to admin backend schema_wp_get_post_types.
  • Added new integration for ThirstyAffiliates, prevent thirstylink type from showing.
  • Added the required PHP version 5.4 in readme.txt file.

1.6.9

  • Fixed using JSON_UNESCAPED_UNICODE of PHP 5.4 or later.
  • Added new function schema_wp_get_currency_symbol to misc functions file.
  • Moved function schema_wp_get_currencies to misc file so it can be used globally.
  • Deprecate schema_wp_get_currency function, never been used.
  • Update: Bumped minimum required PHP version from 5.3 to 5.4

1.6.8

  • Fixed googleplus key in user profile meta.
  • Fixed Quick Edit links removed on all post types, this should be limited only to schema.

1.6.7

  • Added new class for admin post list columns, not Schema type has new columns.
  • Added new columns to Schema post type, example Schema Type, Post Type, and Content.
  • Removed the View and Quick Edit links from actions column.
  • Updated custom post meta class, added required and default options for fields.
  • Updated a few wording in the Types section in backend.
  • Updated custom post meta boxes CSS, set select input field width to auto.
  • Cleaned some code and removed code comments.
  • Tested with PHP version 7.0.22

1.6.6

  • Fixed logo guidelines link in plugin settings.
  • Fixed site url by using get_home_url instead of get_site_url.
  • Fixed a few notices in about, contact, category, and 404 pages.
  • Fixed a Trying to get property of non-object warning when saving ref.
  • Fixed unwanted field id was showing in the repeated post meta generator.
  • Updated to version 1.6.13 of license handler for EDD.
  • Updated to version 1.6.11 of EDD updater class.

1.6.5

  • Fixed empty array output on front page when set Yoast SEO output to true.
  • Cleaned comments in code files and corrected a couple of typos.

1.6.4

  • Removed Yoast SEO plugin check, now it is done via the plugin settings.
  • Added new settings checkbox will show when Yoast SEO plugin is active.
  • Added Person markup, now a site can be defined as an Organization or a Person.
  • Added missing @id to Website markup.
  • Added missing @id to Organization markup.
  • Updated the welcome page.
  • Cleaned and enhanced wording in settings and comments in code files.
  • Modified tested up to version to 4.7
  • Modified requires at least version to 4.0
  • Modified readme.txt file.

1.6.3

  • Fixed an error in schema markup caused by misspelling articleSection.

1.6.2

  • Fixed fatal error when previewing or activating non-Genesis themes.
  • Fixed fatal error when calling get_current_screen in admin pages.
  • Fixes gravatar cached response problem.
  • Modified readme.txt file.

1.6.1

  • Fixed hide VideoObject and AudioObject meta boxes if not enabled in settings.
  • Added new hook schema_wp_do_after_settings_updated.
  • Added new function schema_wp_json_delete_cache to flush cached json-ld post meta.
  • Added flush cached json-ld post meta whenever plugin settings got updated.

1.6

  • Fixed exclude post was not working properly.
  • Fixed cached post meta timestamp should be deleted on post save.
  • Fixed Schema post type label value.
  • Fixed Schema post types was not created on plugin activation.
  • Fixed schema reference post meta was not saved for scheduled posts.
  • Enhanced gravatar validation function.
  • Enhanced Blog markup performance by pulling data from cached post meta.
  • Added missing BlogPosting description in Blog page markup.
  • Added sameAs markup to BlogPosting property in Blog page markup.
  • Added sameAs markup to About page.
  • Added sameAs markup to Contact page.
  • Added new filter schema_blog_output to allow dev extend markups.
  • Added new filter schema_about_page_output to allow dev extend markups.
  • Added new filter schema_contact_page_output to allow dev extend markups.
  • Added missing post meta to the plugin uninstall function.
  • Added new function for recursive array search to admin functions file.
  • Modified readme.txt file.

1.5.9.9

  • Fixed category id on category pages.
  • Fixed a notice on VideoObject function.
  • Fixed Schema JSON-LD not updating by flushing cache on schema type save.
  • Added Schema property sameAs core extension.
  • Added delete Schema JSON-LD post meta on plugin uninstall.
  • Added delete Schema Exclude post meta on plugin uninstall.

1.5.9.8

  • Fixed missing translation in category title.
  • Added new filter to schema_category_json to extend category markup.
  • Added new function to clear/delete schema json post meta value on post save.
  • Added support for schema.org sameAS property for category pages.
  • Added new custom taxonomy meta fields class.
  • Added new admin link to the plugin About page.
  • Corrected names of some functions, and renamed files.
  • Modified readme.txt file.

1.5.9.7

  • Fixed slow performance by reducing number of queries made by the plugin.
  • Fixed post meta generator, empty meta box display.
  • Fixed an error on post save, global post variable needed to be called.
  • Enhanced overall performance by caching JSON-LD array in post meta.
  • Enhanced author output, now it has been added as a core extension.
  • Added new settings to control AudioObject, VideoObject, and Comments.
  • Cleaned up some code and moved admin and other functions to its own files.
  • Pumped WordPress version, checked and tested with 4.6.1 release.

1.5.9.6

  • Added new extension support for AudioObject.
  • Added missing translation to Schema VideoObject settings.
  • Enhanced plugin activation process.
  • Enhanced update post meta reference.
  • Added deprecated functions to its own file.
  • Corrected words in the Contextual Help screen.
  • Updated the welcome screen.
  • Updated the readme.txt file.

1.5.9.5

  • Fixed post meta generator missing description.
  • Fixed Publisher logo image, image url was not used correctly in some cases.
  • Updated plugin settings text fields with placeholder info.
  • Updated plugin settings page screenshot.
  • Pumped WordPress version, checked and tested with 4.6 release.
  • Modified readme.txt file, added link to updated plugin documentation page.

1.5.9.4

  • Fixed capabilities issue, plugin settings was not saving properly.
  • Modified readme.txt file, added more info to the FAQ section.

1.5.9.3

  • Added new integration file for Visual Composer plugin.
  • Added save new setting field to save the upgraded from version on plugin install.
  • Added new filter schema_output_blog_post.
  • Added new filter schema_output_category_post.
  • Added new filter schema_wp_exclude.
  • Added size class for post meta field with the type of number.
  • Added new Contextual Help tab to the plugin settings page.
  • Added new filters and hooks to allow developers to extend the settings page.
  • Added new features for extensions, now it supports licenses and auto upgrades.
  • Added new settings field for Publisher Logo.
  • Fixed schema markup for Publisher Logo.
  • Fixed schema markup for Organization Logo.
  • Enhanced preview image display in plugin settings, set width to 300px.
  • Enhanced wording in plugin settings page and simplified settings fields.

1.5.9.2

  • Removed the Disable SiteLinks Search Box feature, not needed in the plugin.
  • Removed the Content tab within the plugin settings page.
  • Enhanced the plugin settings page, rearranged settings in a simpler way.

1.5.9.1

  • Fixed a warning notice when saving drafts in editor, editing posts was not possible.

1.5.9

  • Fixed query conflicts on category pages by creating a secondary loop.
  • Fixed category description, apply strip_tags function to remove HTML tags.
  • Added check to prevent processing code in backend when runs category schema.
  • Added new Post Meta Box feature.
  • Added a new schema_wp_filter_content filter.
  • Added new integration filter function for Divi theme.
  • Use wp_strip_all_tags instead of strip_tags for short content.
  • Updated plugin screenshots, added a new screenshot for post meta box feature.
  • Corrected a typo in plugin settings page.
  • Modified readme.txt file, corrected link to support forum and some typos.

1.5.8

  • Fixed datePublished and dateModified markups, make sure it is in ISO 8601 format.
  • Fixed Preview button was not showing in edit screen.
  • Extended the plugin settings extensibility with new repeatable field type.
  • Enhanced post meta wording and fixed typos.
  • Modified readme.txt file, corrected link to support forum and some typos.

1.5.7

  • Added support for schema type CollectionPage for Categories.
  • Added new filter schema_wp_types to override or extend options.
  • Added new filter schema_wp_publisher to override publisher array.
  • Added new filter schema_wp_author to override author array.
  • Added new function schema_wp_do_post_meta to allow adding custom post meta boxes.
  • Added new function to return Author array.

1.5.6

  • Fixed a notice on front end caused when admin bar menu is called.
  • Added new post meta box for Schema exclusions, turn off Schema on specific posts.
  • Added new integration for SEO Framework plugin.
  • Modified search_term to search_term_string search variable in SiteLinks Search Box.
  • Enhanced WPRichSnippets integration, put code on its own file.
  • Enhanced Yoast SEO integration, put code on its own file.
  • Enhanced functions naming to prevent any possible conflict with Schema Removal.
  • Updated the plugin welcome page.
  • Modified readme.txt file.

1.5.5

  • Fixed a fatal error when Genesis is not the active Theme.

1.5.4

  • Added admin notification for feedback.
  • Added support for Schema type Blog, markup blog post list.
  • Added new function to retrieve post comments.
  • Added admin bar menu item for easy Structured Data testing access.
  • Added a check if WPRichSnippets plugin is active, remove its admin bar menu.
  • Added integration with Genesis Framework.
  • Enhanced Media function, check for images in content if Featured image not found.
  • Enhanced plugin wording in menu, change Schema Types to read Types, make it simple.
  • Updated the plugin welcome page.
  • Modified readme.txt file.

1.5.3

  • Added better support for enabled AMP post types.
  • Added support Schema for comment to markup comments in Article types.
  • Added support Schema for commentCount markup to Article types.
  • Added new filter to override default comments number to include in markups.
  • Added better support for author, now include description and gravatar.
  • Added support for author sameAs for social profiles if provided in user account.
  • Added GNU GENERAL PUBLIC LICENSE file.
  • Added README.md

1.5.2

  • Fixed a warning on 404 and search result pages.
  • Added new schema type AboutPage, core extension for the about page.
  • Added new schema type ContactPage, core extension for the contact page.
  • Added new settings under the Content tab to select About and Contact pages.
  • Updated the plugin welcome page.
  • Modified readme.txt file.

1.5.1

  • Fixed an error, AMP was not working because a call to wrong function.
  • Fixed wrong Class name for post meta creation.
  • Fixed schema output when set a static page as Front page.
  • Fixed a bug in WPRichSnippets integration on pages that includes VideoObject.
  • Added several checks not to process oEmbed unless an embedded video is in content.
  • Tested with WordPress, version 4.5.3 release.
  • Updated the plugin welcome page.

1.5

  • Fixed error caused on plugin activation.
  • Fixed Schema post was saved as a draft.
  • Added ability to filter the Schema JSON array schema_json.
  • Added support for Schema VideoObject markups through oEmbed.
  • Added new post meta box features for VideoObject with Schema type edit page.
  • Added new post meta box features for completing missing video info.
  • Modified wording in the Schema post type post meta.
  • Modified the Publish button to read Save.

1.4.7

  • Fixed admin notices by adding conditions to run the Auto Featured image script.
  • Added new ability to filter schema markups to work with post categories.
  • Added new function to automatically save categories in Schema post meta.
  • Added an alert on Schema post save when no Post Type is selected.
  • Enhanced the default submit box on Schema post type and made cleaner.
  • Removed the Preview button from Create Schema meta box.
  • Modified the Publish button in Create Schema meta box to read “Create Schema”.
  • Updated the plugin welcome page.
  • Modified readme.txt file.

1.4.6

  • Added ability to set Featured image automatically.
  • Added back settings Content tab.
  • Fixed post id in schema output function.
  • Fixed admin notices.
  • Modified readme.txt file.

1.4.5

  • Added Person schema to author archive pages.
  • Added schema keywords to BlogPosting.
  • Added a new function to retrieve post first category to be set as articleSection.
  • Now play nice with WPRichSnippets plugin, do not output schema if WPRS is enabled.
  • Fixed notices in edit screen by running functions only on schema post type screen.

1.4.4

  • Added support for schema specific type Article > Report.
  • Added new filter schema_wp_cpt_enabled to override enabled post types array.
  • Added new function to insert schema post ref on wp_insert_post.
  • Added new function to insert meta post ref on schema type save.
  • Added insert ref on plugin activation for post and page post types.
  • Added delete ref on uninstall.
  • Fixed media, do not output media if image width and height are not presented.

1.4.3

  • Fixed media output, do not output media if image url is not presented.

1.4.2

  • Fixed invalid Thesis post image url, make sure url is a valid one.

1.4.1

  • Fixed avoid running schema output on home page and archive pages.

1.4

  • Introduced new way to output schema.
  • Added new schema post type to allow users to create new Schema types.
  • Added new post meta functions for easy creation.
  • Added the ability to enable Schema.org markups on Post Type bases.
  • Added automatically insert post and page schema types on plugin activation.
  • Added new schema types, now Article can have sub types.
  • Added a new function for media handling.
  • Added new filter schema_output for overriding schema output array.
  • Added integration for Thesis theme 2.x Post Image.
  • Added check version, if below 1.4 run required functions on activation.
  • Removed functions that has been used to output schema in version 1.3
  • Removed the content tab from settings page.
  • Fixed uninstall.php issue, it was not working properly on multisite.
  • Cleaned admin styles file.
  • Enhanced the plugin Welcome page.
  • Updated plugin screenshots.
  • Modified readme.txt file.

1.3

  • Added integration for AMP plugin, Schema will take over for better schema output handling.
  • Enhanced JSON-LD output functions.

1.2

  • Added new schema type BlogPosting.
  • Switched blog posts schema to BlogPosting.
  • Set schema for Article on page post type.
  • Added new filters schema_blog_posting to override schema BlogPosting array output.
  • Added new filters schema_article to override schema Article array output.
  • Added new screenshot.
  • Modified readme.txt file.

1.1.1

  • Now play nicely with Yoast SEO plugin.
  • Updated screenshot.
  • Modified readme.txt file.

1.1

  • Added new settings tab for content.
  • Added support for schema type Article on blog posts.
  • Fixed a bug within plugin settings functions.

1.0

  • Initial Release