跳到内容

SCHEMA for Article

v0.4.1

Sami Ahmed Siddiqui · 2016年2月1日 上架

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.

正在使用
200+
评分
4.8 / 5
累计下载
1.3 万
最近更新
2018年10月28日
5 条评价需要 WordPress 4.0+已测试到 5.0.32PHP 5.2+

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums