Home Plugins schema for article
SCHEMA for Article logo

SCHEMA for Article

by Sami Ahmed Siddiqui on WordPress.org

SCHEMA for Article is simply the easiest solution to add valid schema.org as a JSON script in the head of blog posts or articles.

(5)

Search engines such as Google are using structured data markup in many ways—for example, to create rich snippets in search results. Search results with rich snippets will improve your click through rates and increase the number of visitors on your website.

This plugin helps:

  • Helps your site to earn rich snippets in Google’s SERP.
  • Does not depend on other plugins or external code.
  • Is simple to install: plug-and-play, no need to configure anything.

Compatibility

This version requires php 5.4 for some options of json_encode. If you encounter any problems with the plugin you should check your website php version.

Filter

Exclude PostType from the Plugin

To exclude the plugin to be worked on any PostType. Add this filter in your themes functions.php.

function yasglobal_exclude_post_types( $post_type ) {
  if ( $post_type == 'post' ) {
    return '__false';
  }
  return '__true';
}
add_filter( 'schema_for_article_exclude_post_type', 'yasglobal_exclude_post_types');

Thanks for the Support

The support from the users that love SCHEMA for Article is huge. You can support SCHEMA for Article future development and help to make it even better by giving a 5 star rating with a nice message to me 🙂

Bug reports

Bug reports for SCHEMA for Article are welcomed on GitHub. Please note GitHub is not a support forum, and issues that aren’t properly qualified as bugs will be closed.

Active installations300+
Weekly downloads
14-17.65%
Version0.4.1
Last updated10/28/2018
WordPress version4.0
Tested up to5.0.22
PHP version5.2
Tags
JSON-LDmarkuprich snippetsschemastructured data
SCHEMA for Article | Plugin0