-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
120 lines (79 loc) · 4.1 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
=== SCHEMA for Article ===
Contributors: sasiddiqui, aliya-yasir
Donate link: https://www.paypal.me/yasglobal
Tags: json-ld, markup, schema, rich snippets, structured data, SEO, schema.org, schema markup, JSON, google validated
Requires at least: 4.0
Tested up to: 5.0
Stable tag: 0.4.1
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Requires PHP: 5.2
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.
== Description ==
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](https://github.com/yasglobal/schema-for-article). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.
== Installation ==
This process defines you the steps to follow either you are installing through WordPress or Manually from FTP.
**From within WordPress**
1. Visit 'Plugins > Add New'
2. Search for SCHEMA for Article
3. Activate SCHEMA for Article from your Plugins page.
4. Go to "after activation" below.
**Manually**
1. Upload the `schema-for-article` folder to the `/wp-content/plugins/` directory
2. Activate SCHEMA for Article through the 'Plugins' menu in WordPress
3. Go to "after activation" below.
**After activation**
1. Go to the plugin settings page and set up the plugin for your site.
2. You're done!
== Frequently Asked Questions ==
= Q. Why should I install this plugin? =
A. Installing this plugin is the easiest way to add structured data to your blog. The plugin automatically creates the JSON-LD according to Google's specification.
= Q. Does this plugin improve my SEO rankings? =
A. We cannot promise it - but installing this plugin is, in any case, a step in the right direction.
= Q. Does image necessarily to be provided to activate the plugin? =
A. Yes, In case the featured image is not provided by the author so, the default provided image would be used to validate the google structure data.
== Changelog ==
= 0.4.1 - Oct 28, 2018 =
* Enhancement
* Use Meta Description of Yoast if available otherwise post_excerpt is used
= 0.4 - Sept 10, 2018 =
* Enhancement
* Added filter to exclude schema from PostTypes
* Added Privacy Policy content for Admin
= 0.3.3 - Jan 26, 2018 =
* Update Translation PATH and fixed spelling typos
= 0.3.2 - Jan 19, 2018 =
* Enhancements
* Added translation Capability
* Fixed PHP Notice on 404 Page
* Fixed plugin_loaded issue
= 0.3.1 =
* Add Compatibility with Make Paths Relative Plugin
= 0.3 =
* Optimized the Queries and made the SCHEMA more flexible.
= 0.2 =
* Fixed Featured Image bug and add functionality to change the SCHEMA type.
= 0.1 =
* This is a fully functional version based on the idea of a minimum viable product.