Version Description
(2019-02-02) = * Checked : WordPress version 5.0.3 operation check. * Updated : Filters for each schema.
Download this release
Release Info
Developer | miiitaka |
Plugin | Markup (JSON-LD) structured in schema.org |
Version | 4.6.3 |
Comparing to | |
See all releases |
Code changes from version 4.6.2 to 4.6.3
- includes/wp-structuring-display.php +250 -226
- readme.txt +19 -2
- wp-structuring-markup.php +3 -3
includes/wp-structuring-display.php
CHANGED
@@ -1,226 +1,250 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Schema.org Display
|
4 |
-
*
|
5 |
-
* @author Kazuya Takami
|
6 |
-
* @author Justin Frydman
|
7 |
-
* @version 4.
|
8 |
-
* @since 1.0.0
|
9 |
-
*/
|
10 |
-
class Structuring_Markup_Display {
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Utility
|
14 |
-
*
|
15 |
-
* @version 4.0.0
|
16 |
-
* @since 4.0.0
|
17 |
-
*/
|
18 |
-
private $utility;
|
19 |
-
|
20 |
-
/**
|
21 |
-
* wp_options data
|
22 |
-
*
|
23 |
-
* @version 4.5.0
|
24 |
-
* @since 4.5.0
|
25 |
-
*/
|
26 |
-
private $options;
|
27 |
-
|
28 |
-
/**
|
29 |
-
* Constructor Define.
|
30 |
-
*
|
31 |
-
* @version 4.5.0
|
32 |
-
* @since 1.0.0
|
33 |
-
* @param string $version
|
34 |
-
* @param string $text_domain
|
35 |
-
*/
|
36 |
-
public function __construct ( $version, $text_domain ) {
|
37 |
-
require_once( plugin_dir_path( __FILE__ ) . 'wp-structuring-utility.php' );
|
38 |
-
$this->utility = new Structuring_Markup_Utility();
|
39 |
-
|
40 |
-
$this->options = get_option( $text_domain );
|
41 |
-
|
42 |
-
$db = new Structuring_Markup_Admin_Db();
|
43 |
-
$this->set_schema( $db, $version );
|
44 |
-
}
|
45 |
-
|
46 |
-
/**
|
47 |
-
* Setting schema.org
|
48 |
-
*
|
49 |
-
* @version 4.5.0
|
50 |
-
* @since 1.0.0
|
51 |
-
* @param Structuring_Markup_Admin_Db $db
|
52 |
-
* @param string $version
|
53 |
-
*/
|
54 |
-
private function set_schema ( Structuring_Markup_Admin_Db $db, $version ) {
|
55 |
-
$structuring_markup_args = $db->get_list_options();
|
56 |
-
|
57 |
-
if ( !isset( $this->options['compress'] ) || $this->options['compress'] !== 'on' ) {
|
58 |
-
echo '<!-- Markup (JSON-LD) structured in schema.org ver.' . $version . ' START -->' . PHP_EOL;
|
59 |
-
}
|
60 |
-
|
61 |
-
$this->get_schema_data( 'all', $structuring_markup_args );
|
62 |
-
if ( is_home() || is_front_page() ) {
|
63 |
-
$this->get_schema_data( 'home', $structuring_markup_args );
|
64 |
-
}
|
65 |
-
if ( is_single() && get_post_type() === 'post' ) {
|
66 |
-
$this->get_schema_data( 'post', $structuring_markup_args );
|
67 |
-
}
|
68 |
-
if ( is_singular( 'schema_event_post' ) ) {
|
69 |
-
$this->get_schema_data( 'event', $structuring_markup_args );
|
70 |
-
}
|
71 |
-
if ( is_singular( 'schema_video_post' ) ) {
|
72 |
-
$this->get_schema_data( 'video', $structuring_markup_args );
|
73 |
-
}
|
74 |
-
if ( is_page() ) {
|
75 |
-
$this->get_schema_data( 'page', $structuring_markup_args );
|
76 |
-
}
|
77 |
-
$args = array(
|
78 |
-
'public' => true,
|
79 |
-
'_builtin' => false
|
80 |
-
);
|
81 |
-
$post_types = get_post_types( $args, 'objects' );
|
82 |
-
|
83 |
-
unset( $post_types['schema_event_post'] );
|
84 |
-
unset( $post_types['schema_video_post'] );
|
85 |
-
|
86 |
-
foreach ( $post_types as $post_type ) {
|
87 |
-
if ( is_singular( $post_type->name ) ) {
|
88 |
-
$this->get_schema_data( $post_type->name, $structuring_markup_args );
|
89 |
-
}
|
90 |
-
}
|
91 |
-
|
92 |
-
if ( !isset( $this->options['compress'] ) || $this->options['compress'] !== 'on' ) {
|
93 |
-
echo '<!-- Markup (JSON-LD) structured in schema.org END -->' . PHP_EOL;
|
94 |
-
}
|
95 |
-
}
|
96 |
-
|
97 |
-
/**
|
98 |
-
* Setting JSON-LD Template
|
99 |
-
*
|
100 |
-
* @version 4.
|
101 |
-
* @since 1.0.0
|
102 |
-
* @param string $output
|
103 |
-
* @param array $structuring_markup_args
|
104 |
-
*/
|
105 |
-
private function get_schema_data ( $output, array $structuring_markup_args ) {
|
106 |
-
|
107 |
-
foreach ( $structuring_markup_args as $row ) {
|
108 |
-
/** Output page check. */
|
109 |
-
$output_args = unserialize( $row->output );
|
110 |
-
if ( array_key_exists( $output, $output_args ) ) {
|
111 |
-
|
112 |
-
/** Activate check. */
|
113 |
-
if ( isset( $row->type ) && isset( $row->activate ) && $row->activate === 'on' ) {
|
114 |
-
switch ( $row->type ) {
|
115 |
-
case 'article':
|
116 |
-
if ( isset( $row->options ) && $row->options ) {
|
117 |
-
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-article.php' );
|
118 |
-
$obj = new Structuring_Markup_Meta_Article( $this->utility );
|
119 |
-
$
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
break;
|
150 |
-
case '
|
151 |
-
if ( isset( $row->options ) && $row->options ) {
|
152 |
-
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-
|
153 |
-
|
154 |
-
$
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
$
|
175 |
-
$this->set_schema_json( $
|
176 |
-
}
|
177 |
-
break;
|
178 |
-
case '
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Schema.org Display
|
4 |
+
*
|
5 |
+
* @author Kazuya Takami
|
6 |
+
* @author Justin Frydman
|
7 |
+
* @version 4.6.3
|
8 |
+
* @since 1.0.0
|
9 |
+
*/
|
10 |
+
class Structuring_Markup_Display {
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Utility
|
14 |
+
*
|
15 |
+
* @version 4.0.0
|
16 |
+
* @since 4.0.0
|
17 |
+
*/
|
18 |
+
private $utility;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* wp_options data
|
22 |
+
*
|
23 |
+
* @version 4.5.0
|
24 |
+
* @since 4.5.0
|
25 |
+
*/
|
26 |
+
private $options;
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Constructor Define.
|
30 |
+
*
|
31 |
+
* @version 4.5.0
|
32 |
+
* @since 1.0.0
|
33 |
+
* @param string $version
|
34 |
+
* @param string $text_domain
|
35 |
+
*/
|
36 |
+
public function __construct ( $version, $text_domain ) {
|
37 |
+
require_once( plugin_dir_path( __FILE__ ) . 'wp-structuring-utility.php' );
|
38 |
+
$this->utility = new Structuring_Markup_Utility();
|
39 |
+
|
40 |
+
$this->options = get_option( $text_domain );
|
41 |
+
|
42 |
+
$db = new Structuring_Markup_Admin_Db();
|
43 |
+
$this->set_schema( $db, $version );
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Setting schema.org
|
48 |
+
*
|
49 |
+
* @version 4.5.0
|
50 |
+
* @since 1.0.0
|
51 |
+
* @param Structuring_Markup_Admin_Db $db
|
52 |
+
* @param string $version
|
53 |
+
*/
|
54 |
+
private function set_schema ( Structuring_Markup_Admin_Db $db, $version ) {
|
55 |
+
$structuring_markup_args = $db->get_list_options();
|
56 |
+
|
57 |
+
if ( !isset( $this->options['compress'] ) || $this->options['compress'] !== 'on' ) {
|
58 |
+
echo '<!-- Markup (JSON-LD) structured in schema.org ver.' . $version . ' START -->' . PHP_EOL;
|
59 |
+
}
|
60 |
+
|
61 |
+
$this->get_schema_data( 'all', $structuring_markup_args );
|
62 |
+
if ( is_home() || is_front_page() ) {
|
63 |
+
$this->get_schema_data( 'home', $structuring_markup_args );
|
64 |
+
}
|
65 |
+
if ( is_single() && get_post_type() === 'post' ) {
|
66 |
+
$this->get_schema_data( 'post', $structuring_markup_args );
|
67 |
+
}
|
68 |
+
if ( is_singular( 'schema_event_post' ) ) {
|
69 |
+
$this->get_schema_data( 'event', $structuring_markup_args );
|
70 |
+
}
|
71 |
+
if ( is_singular( 'schema_video_post' ) ) {
|
72 |
+
$this->get_schema_data( 'video', $structuring_markup_args );
|
73 |
+
}
|
74 |
+
if ( is_page() ) {
|
75 |
+
$this->get_schema_data( 'page', $structuring_markup_args );
|
76 |
+
}
|
77 |
+
$args = array(
|
78 |
+
'public' => true,
|
79 |
+
'_builtin' => false
|
80 |
+
);
|
81 |
+
$post_types = get_post_types( $args, 'objects' );
|
82 |
+
|
83 |
+
unset( $post_types['schema_event_post'] );
|
84 |
+
unset( $post_types['schema_video_post'] );
|
85 |
+
|
86 |
+
foreach ( $post_types as $post_type ) {
|
87 |
+
if ( is_singular( $post_type->name ) ) {
|
88 |
+
$this->get_schema_data( $post_type->name, $structuring_markup_args );
|
89 |
+
}
|
90 |
+
}
|
91 |
+
|
92 |
+
if ( !isset( $this->options['compress'] ) || $this->options['compress'] !== 'on' ) {
|
93 |
+
echo '<!-- Markup (JSON-LD) structured in schema.org END -->' . PHP_EOL;
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Setting JSON-LD Template
|
99 |
+
*
|
100 |
+
* @version 4.6.3
|
101 |
+
* @since 1.0.0
|
102 |
+
* @param string $output
|
103 |
+
* @param array $structuring_markup_args
|
104 |
+
*/
|
105 |
+
private function get_schema_data ( $output, array $structuring_markup_args ) {
|
106 |
+
|
107 |
+
foreach ( $structuring_markup_args as $row ) {
|
108 |
+
/** Output page check. */
|
109 |
+
$output_args = unserialize( $row->output );
|
110 |
+
if ( array_key_exists( $output, $output_args ) ) {
|
111 |
+
|
112 |
+
/** Activate check. */
|
113 |
+
if ( isset( $row->type ) && isset( $row->activate ) && $row->activate === 'on' ) {
|
114 |
+
switch ( $row->type ) {
|
115 |
+
case 'article':
|
116 |
+
if ( isset( $row->options ) && $row->options ) {
|
117 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-article.php' );
|
118 |
+
$obj = new Structuring_Markup_Meta_Article( $this->utility );
|
119 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
120 |
+
$out = apply_filters( 'structuring_markup_meta_article', $out );
|
121 |
+
$this->set_schema_json( $out );
|
122 |
+
}
|
123 |
+
break;
|
124 |
+
case 'blog_posting':
|
125 |
+
if ( isset( $row->options ) && $row->options ) {
|
126 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-blog-posting.php' );
|
127 |
+
$obj = new Structuring_Markup_Meta_Blog_Posting( $this->utility );
|
128 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
129 |
+
$out = apply_filters( 'structuring_markup_meta_blog_posting', $out );
|
130 |
+
$this->set_schema_json( $out );
|
131 |
+
}
|
132 |
+
break;
|
133 |
+
case 'breadcrumb':
|
134 |
+
if ( isset( $row->options ) && $row->options ) {
|
135 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-breadcrumb.php' );
|
136 |
+
require_once( plugin_dir_path( __FILE__ ) . 'wp-structuring-short-code-breadcrumb.php' );
|
137 |
+
$obj = new Structuring_Markup_Meta_Breadcrumb();
|
138 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
139 |
+
$out = apply_filters( 'structuring_markup_meta_breadcrumb', $out );
|
140 |
+
$this->set_schema_json( $out );
|
141 |
+
}
|
142 |
+
break;
|
143 |
+
case 'event':
|
144 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-event.php' );
|
145 |
+
$obj = new Structuring_Markup_Meta_Event();
|
146 |
+
$out = $obj->set_meta();
|
147 |
+
$out = apply_filters( 'structuring_markup_meta_event', $out );
|
148 |
+
$this->set_schema_json( $out );
|
149 |
+
break;
|
150 |
+
case 'local_business':
|
151 |
+
if ( isset( $row->options ) && $row->options ) {
|
152 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-local-business.php' );
|
153 |
+
require_once( plugin_dir_path( __FILE__ ) . 'wp-structuring-opening-hours.php' );
|
154 |
+
$obj = new Structuring_Markup_Meta_LocalBusiness();
|
155 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
156 |
+
$out = apply_filters( 'structuring_markup_meta_local_business', $out );
|
157 |
+
$this->set_schema_json( $out );
|
158 |
+
}
|
159 |
+
break;
|
160 |
+
case 'news_article':
|
161 |
+
if ( isset( $row->options ) && $row->options ) {
|
162 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-news-article.php' );
|
163 |
+
$obj = new Structuring_Markup_Meta_NewsArticle( $this->utility );
|
164 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
165 |
+
$out = apply_filters( 'structuring_markup_meta_news_article', $out );
|
166 |
+
$this->set_schema_json( $out );
|
167 |
+
}
|
168 |
+
break;
|
169 |
+
case 'organization':
|
170 |
+
if ( isset( $row->options ) && $row->options ) {
|
171 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-organization.php' );
|
172 |
+
$obj = new Structuring_Markup_Meta_Organization();
|
173 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
174 |
+
$out = apply_filters( 'structuring_markup_meta_organization', $out );
|
175 |
+
$this->set_schema_json( $out );
|
176 |
+
}
|
177 |
+
break;
|
178 |
+
case 'person':
|
179 |
+
if ( isset( $row->options ) && $row->options ) {
|
180 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-person.php' );
|
181 |
+
$obj = new Structuring_Markup_Meta_Person();
|
182 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
183 |
+
$out = apply_filters( 'structuring_markup_meta_person', $out );
|
184 |
+
$this->set_schema_json( $out );
|
185 |
+
}
|
186 |
+
break;
|
187 |
+
case 'site_navigation':
|
188 |
+
if ( isset( $row->options ) && $row->options ) {
|
189 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-site-navigation.php' );
|
190 |
+
$obj = new Structuring_Markup_Meta_Site_Navigation();
|
191 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
192 |
+
$out = apply_filters( 'structuring_markup_meta_site_navigation', $out );
|
193 |
+
$this->set_schema_json( $out );
|
194 |
+
}
|
195 |
+
break;
|
196 |
+
case 'video':
|
197 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-video.php' );
|
198 |
+
$obj = new Structuring_Markup_Meta_Video( $this->utility );
|
199 |
+
$out = $obj->set_meta();
|
200 |
+
$out = apply_filters( 'structuring_markup_meta_video', $out );
|
201 |
+
$this->set_schema_json( $out );
|
202 |
+
break;
|
203 |
+
case 'website':
|
204 |
+
if ( isset( $row->options ) && $row->options ) {
|
205 |
+
require_once( plugin_dir_path( __FILE__ ) . 'meta/wp-structuring-meta-website.php' );
|
206 |
+
$obj = new Structuring_Markup_Meta_WebSite();
|
207 |
+
$out = $obj->set_meta( unserialize( $row->options ) );
|
208 |
+
$out = apply_filters( 'structuring_markup_meta_website', $out );
|
209 |
+
$this->set_schema_json( $out );
|
210 |
+
}
|
211 |
+
break;
|
212 |
+
}
|
213 |
+
}
|
214 |
+
}
|
215 |
+
}
|
216 |
+
}
|
217 |
+
|
218 |
+
/**
|
219 |
+
* Setting JSON-LD Template
|
220 |
+
*
|
221 |
+
* @since 4.5.0
|
222 |
+
* @since 1.0.0
|
223 |
+
* @param array $args
|
224 |
+
* @param boolean $error
|
225 |
+
*/
|
226 |
+
private function set_schema_json ( $args, $error = false ) {
|
227 |
+
if ( $error ) {
|
228 |
+
/** Error Display */
|
229 |
+
if ( isset( $args["@type"] ) ) {
|
230 |
+
foreach ( $args["message"] as $message ) {
|
231 |
+
echo "<!-- Schema.org ", $args["@type"], " : ", $message, " -->", PHP_EOL;
|
232 |
+
}
|
233 |
+
}
|
234 |
+
} else {
|
235 |
+
if ( is_array( $args ) ) {
|
236 |
+
$output = '';
|
237 |
+
if ( isset( $this->options['compress'] ) && $this->options['compress'] === 'on' ) {
|
238 |
+
$output.= '<script type="application/ld+json">';
|
239 |
+
$output.= json_encode( $args, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES );
|
240 |
+
$output.= '</script>';
|
241 |
+
} else {
|
242 |
+
$output.= '<script type="application/ld+json">'.PHP_EOL;
|
243 |
+
$output.= json_encode( $args, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT ).PHP_EOL;
|
244 |
+
$output.= '</script>'.PHP_EOL;
|
245 |
+
}
|
246 |
+
}
|
247 |
+
echo apply_filters( 'structuring_markup_output', $output );
|
248 |
+
}
|
249 |
+
}
|
250 |
+
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: miiitaka
|
3 |
Tags: schema, schema.org, json, json-ld, seo, post, posts, google, shortcode, breadcrumb
|
4 |
Requires at least: 4.3.1
|
5 |
-
Tested up to: 5.0.
|
6 |
-
Stable tag: 4.6.
|
7 |
|
8 |
Allows you to include schema.org JSON-LD syntax markup on your website
|
9 |
|
@@ -45,6 +45,19 @@ if ( shortcode_exists( 'wp-structuring-markup-breadcrumb' ) ) {
|
|
45 |
* Option : id="id_name" attribute additional ol element.
|
46 |
* Option : class="class_name" attribute additional ol element.
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
== Installation ==
|
50 |
|
@@ -55,6 +68,10 @@ if ( shortcode_exists( 'wp-structuring-markup-breadcrumb' ) ) {
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
|
|
58 |
= 4.6.2 (2019-01-06) =
|
59 |
* Checked : WordPress version 5.0.2 operation check.
|
60 |
* Checked : WordPress version 5.0.1 operation check.
|
2 |
Contributors: miiitaka
|
3 |
Tags: schema, schema.org, json, json-ld, seo, post, posts, google, shortcode, breadcrumb
|
4 |
Requires at least: 4.3.1
|
5 |
+
Tested up to: 5.0.3
|
6 |
+
Stable tag: 4.6.3
|
7 |
|
8 |
Allows you to include schema.org JSON-LD syntax markup on your website
|
9 |
|
45 |
* Option : id="id_name" attribute additional ol element.
|
46 |
* Option : class="class_name" attribute additional ol element.
|
47 |
|
48 |
+
[ Schema Filters ]
|
49 |
+
|
50 |
+
* Filter Name: structuring_markup_meta_article ( Article )
|
51 |
+
* Filter Name: structuring_markup_meta_blog_posting ( Blog Posting )
|
52 |
+
* Filter Name: structuring_markup_meta_breadcrumb ( Breadcrumb List )
|
53 |
+
* Filter Name: structuring_markup_meta_event ( Event )
|
54 |
+
* Filter Name: structuring_markup_meta_local_business ( Local Business )
|
55 |
+
* Filter Name: structuring_markup_meta_news_article ( News Article )
|
56 |
+
* Filter Name: structuring_markup_meta_organization ( Organization )
|
57 |
+
* Filter Name: structuring_markup_meta_person ( Person )
|
58 |
+
* Filter Name: structuring_markup_meta_site_navigation ( Site Navigation )
|
59 |
+
* Filter Name: structuring_markup_meta_video ( Video )
|
60 |
+
* Filter Name: structuring_markup_meta_website ( WebSite )
|
61 |
|
62 |
== Installation ==
|
63 |
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 4.6.3 (2019-02-02) =
|
72 |
+
* Checked : WordPress version 5.0.3 operation check.
|
73 |
+
* Updated : Filters for each schema.
|
74 |
+
|
75 |
= 4.6.2 (2019-01-06) =
|
76 |
* Checked : WordPress version 5.0.2 operation check.
|
77 |
* Checked : WordPress version 5.0.1 operation check.
|
wp-structuring-markup.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Markup (JSON-LD) structured in schema.org
|
4 |
Plugin URI: https://github.com/miiitaka/wp-structuring-markup
|
5 |
Description: Allows you to include schema.org JSON-LD syntax markup on your website
|
6 |
-
Version: 4.6.
|
7 |
Author: Kazuya Takami
|
8 |
Author URI: https://www.terakoya.work/
|
9 |
License: GPLv2 or later
|
@@ -18,7 +18,7 @@ new Structuring_Markup();
|
|
18 |
* Schema.org Basic Class
|
19 |
*
|
20 |
* @author Kazuya Takami
|
21 |
-
* @version 4.6.
|
22 |
* @since 1.0.0
|
23 |
*/
|
24 |
class Structuring_Markup {
|
@@ -29,7 +29,7 @@ class Structuring_Markup {
|
|
29 |
* @version 4.6.2
|
30 |
* @since 1.3.0
|
31 |
*/
|
32 |
-
private $version = '4.6.
|
33 |
|
34 |
/**
|
35 |
* Variable definition Text Domain.
|
3 |
Plugin Name: Markup (JSON-LD) structured in schema.org
|
4 |
Plugin URI: https://github.com/miiitaka/wp-structuring-markup
|
5 |
Description: Allows you to include schema.org JSON-LD syntax markup on your website
|
6 |
+
Version: 4.6.3
|
7 |
Author: Kazuya Takami
|
8 |
Author URI: https://www.terakoya.work/
|
9 |
License: GPLv2 or later
|
18 |
* Schema.org Basic Class
|
19 |
*
|
20 |
* @author Kazuya Takami
|
21 |
+
* @version 4.6.3
|
22 |
* @since 1.0.0
|
23 |
*/
|
24 |
class Structuring_Markup {
|
29 |
* @version 4.6.2
|
30 |
* @since 1.3.0
|
31 |
*/
|
32 |
+
private $version = '4.6.3';
|
33 |
|
34 |
/**
|
35 |
* Variable definition Text Domain.
|