Version Description
(2018-09-07) = * Fixed : Fixed broken links. * Fixed : Fixed bug when displaying Config menu.
Download this release
Release Info
Developer | miiitaka |
Plugin | Markup (JSON-LD) structured in schema.org |
Version | 4.5.3 |
Comparing to | |
See all releases |
Code changes from version 4.5.2 to 4.5.3
- includes/admin/wp-structuring-admin-config.php +5 -2
- includes/admin/wp-structuring-admin-type-article.php +16 -3
- includes/admin/wp-structuring-admin-type-blog-posting.php +23 -10
- includes/admin/wp-structuring-admin-type-breadcrumb.php +11 -3
- includes/admin/wp-structuring-admin-type-event.php +18 -5
- includes/admin/wp-structuring-admin-type-local-business.php +13 -3
- includes/admin/wp-structuring-admin-type-news-article.php +22 -10
- includes/admin/wp-structuring-admin-type-organization.php +18 -4
- includes/admin/wp-structuring-admin-type-person.php +12 -4
- includes/admin/wp-structuring-admin-type-site-navigation.php +9 -3
- includes/admin/wp-structuring-admin-type-video.php +13 -4
- includes/admin/wp-structuring-admin-type-website.php +15 -5
- readme.txt +5 -1
- wp-structuring-markup.php +4 -4
includes/admin/wp-structuring-admin-config.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Schema.org Admin Config
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.5.
|
7 |
* @since 4.5.0
|
8 |
*/
|
9 |
class Structuring_Markup_Admin_Config {
|
@@ -28,7 +28,7 @@ class Structuring_Markup_Admin_Config {
|
|
28 |
/**
|
29 |
* Constructor Define.
|
30 |
*
|
31 |
-
* @version 4.5.
|
32 |
* @since 4.5.0
|
33 |
* @param String $text_domain
|
34 |
*/
|
@@ -55,6 +55,9 @@ class Structuring_Markup_Admin_Config {
|
|
55 |
}
|
56 |
}
|
57 |
$options = get_option( $text_domain );
|
|
|
|
|
|
|
58 |
|
59 |
$this->page_render( $options, $status );
|
60 |
}
|
3 |
* Schema.org Admin Config
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 4.5.0
|
8 |
*/
|
9 |
class Structuring_Markup_Admin_Config {
|
28 |
/**
|
29 |
* Constructor Define.
|
30 |
*
|
31 |
+
* @version 4.5.3
|
32 |
* @since 4.5.0
|
33 |
* @param String $text_domain
|
34 |
*/
|
55 |
}
|
56 |
}
|
57 |
$options = get_option( $text_domain );
|
58 |
+
if ( !$options ) {
|
59 |
+
$options = array();
|
60 |
+
}
|
61 |
|
62 |
$this->page_render( $options, $status );
|
63 |
}
|
includes/admin/wp-structuring-admin-type-article.php
CHANGED
@@ -3,10 +3,11 @@
|
|
3 |
* Schema.org Type Article
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.5.
|
7 |
* @since 1.1.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/Article
|
|
|
10 |
* @link https://developers.google.com/search/docs/data-types/articles
|
11 |
* @link https://developers.google.com/search/docs/data-types/speakable
|
12 |
*/
|
@@ -33,7 +34,7 @@ class Structuring_Markup_Type_Article {
|
|
33 |
/**
|
34 |
* Form Layout Render
|
35 |
*
|
36 |
-
* @version 4.5.
|
37 |
* @since 1.1.0
|
38 |
* @param array $option
|
39 |
*/
|
@@ -140,7 +141,19 @@ class Structuring_Markup_Type_Article {
|
|
140 |
$html .= '</table>';
|
141 |
echo $html;
|
142 |
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
submit_button();
|
145 |
}
|
146 |
|
3 |
* Schema.org Type Article
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 1.1.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/Article
|
10 |
+
* @link https://pending.schema.org/speakable
|
11 |
* @link https://developers.google.com/search/docs/data-types/articles
|
12 |
* @link https://developers.google.com/search/docs/data-types/speakable
|
13 |
*/
|
34 |
/**
|
35 |
* Form Layout Render
|
36 |
*
|
37 |
+
* @version 4.5.3
|
38 |
* @since 1.1.0
|
39 |
* @param array $option
|
40 |
*/
|
141 |
$html .= '</table>';
|
142 |
echo $html;
|
143 |
|
144 |
+
$html = '<table class="schema-admin-table">';
|
145 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
146 |
+
$html .= '<tr><th>schema.org Article :</th>';
|
147 |
+
$html .= '<td><a href="http://schema.org/Article" target="_blank">http://schema.org/Article</a></td></tr>';
|
148 |
+
$html .= '<tr><th>pending.schema.org Speakable :</th>';
|
149 |
+
$html .= '<td><a href="https://pending.schema.org/speakable" target="_blank">https://pending.schema.org/speakable</a></td></tr>';
|
150 |
+
$html .= '<tr><th>Google Search Article :</th>';
|
151 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/articles" target="_blank">https://developers.google.com/search/docs/data-types/articles</a></td></tr>';
|
152 |
+
$html .= '<tr><th>Google Search Speakable (BETA) :</th>';
|
153 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/speakable" target="_blank">https://developers.google.com/search/docs/data-types/speakable</a></td></tr>';
|
154 |
+
$html .= '</table>';
|
155 |
+
echo $html;
|
156 |
+
|
157 |
submit_button();
|
158 |
}
|
159 |
|
includes/admin/wp-structuring-admin-type-blog-posting.php
CHANGED
@@ -3,10 +3,11 @@
|
|
3 |
* Schema.org Type BlogPosting
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.5.
|
7 |
* @since 1.2.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/BlogPosting
|
|
|
10 |
* @link https://developers.google.com/search/docs/data-types/articles
|
11 |
* @link https://developers.google.com/search/docs/data-types/speakable
|
12 |
*/
|
@@ -33,7 +34,7 @@ class Structuring_Markup_Type_Blog_Posting {
|
|
33 |
/**
|
34 |
* Form Layout Render
|
35 |
*
|
36 |
-
* @version 4.5.
|
37 |
* @since 1.2.0
|
38 |
* @param array $option
|
39 |
*/
|
@@ -140,24 +141,36 @@ class Structuring_Markup_Type_Blog_Posting {
|
|
140 |
$html .= '</table>';
|
141 |
echo $html;
|
142 |
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
submit_button();
|
145 |
}
|
146 |
|
147 |
/**
|
148 |
* Return the default options array
|
149 |
*
|
150 |
-
* @version 4.5.
|
151 |
* @since 2.2.0
|
152 |
* @return array $args
|
153 |
*/
|
154 |
private function get_default_options () {
|
155 |
-
$args['name']
|
156 |
-
$args['content_image']
|
157 |
-
$args['default_image']
|
158 |
-
$args['logo']
|
159 |
-
$args['logo-height']
|
160 |
-
$args['logo-width']
|
161 |
$args['speakable_action'] = '';
|
162 |
$args['speakable_type'] = '';
|
163 |
$args['speakable_headline'] = '';
|
3 |
* Schema.org Type BlogPosting
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 1.2.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/BlogPosting
|
10 |
+
* @link https://pending.schema.org/speakable
|
11 |
* @link https://developers.google.com/search/docs/data-types/articles
|
12 |
* @link https://developers.google.com/search/docs/data-types/speakable
|
13 |
*/
|
34 |
/**
|
35 |
* Form Layout Render
|
36 |
*
|
37 |
+
* @version 4.5.3
|
38 |
* @since 1.2.0
|
39 |
* @param array $option
|
40 |
*/
|
141 |
$html .= '</table>';
|
142 |
echo $html;
|
143 |
|
144 |
+
$html = '<table class="schema-admin-table">';
|
145 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
146 |
+
$html .= '<tr><th>schema.org BlogPosting :</th>';
|
147 |
+
$html .= '<td><a href="http://schema.org/BlogPosting" target="_blank">http://schema.org/BlogPosting</a></td></tr>';
|
148 |
+
$html .= '<tr><th>pending.schema.org Speakable :</th>';
|
149 |
+
$html .= '<td><a href="https://pending.schema.org/speakable" target="_blank">https://pending.schema.org/speakable</a></td></tr>';
|
150 |
+
$html .= '<tr><th>Google Search Article :</th>';
|
151 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/articles" target="_blank">https://developers.google.com/search/docs/data-types/articles</a></td></tr>';
|
152 |
+
$html .= '<tr><th>Google Search Speakable (BETA) :</th>';
|
153 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/speakable" target="_blank">https://developers.google.com/search/docs/data-types/speakable</a></td></tr>';
|
154 |
+
$html .= '</table>';
|
155 |
+
echo $html;
|
156 |
+
|
157 |
submit_button();
|
158 |
}
|
159 |
|
160 |
/**
|
161 |
* Return the default options array
|
162 |
*
|
163 |
+
* @version 4.5.3
|
164 |
* @since 2.2.0
|
165 |
* @return array $args
|
166 |
*/
|
167 |
private function get_default_options () {
|
168 |
+
$args['name'] = '';
|
169 |
+
$args['content_image'] = '';
|
170 |
+
$args['default_image'] = '';
|
171 |
+
$args['logo'] = '';
|
172 |
+
$args['logo-height'] = 0;
|
173 |
+
$args['logo-width'] = 0;
|
174 |
$args['speakable_action'] = '';
|
175 |
$args['speakable_type'] = '';
|
176 |
$args['speakable_headline'] = '';
|
includes/admin/wp-structuring-admin-type-breadcrumb.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Schema.org Type Breadcrumb
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.3
|
7 |
* @since 2.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/BreadcrumbList
|
@@ -32,7 +32,7 @@ class Structuring_Markup_Type_Breadcrumb {
|
|
32 |
/**
|
33 |
* Form Layout Render
|
34 |
*
|
35 |
-
* @version 4.3
|
36 |
* @since 2.3.3
|
37 |
* @param array $option
|
38 |
*/
|
@@ -79,7 +79,15 @@ class Structuring_Markup_Type_Breadcrumb {
|
|
79 |
$html .= '</table>';
|
80 |
echo $html;
|
81 |
|
82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
submit_button();
|
84 |
}
|
85 |
|
3 |
* Schema.org Type Breadcrumb
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 2.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/BreadcrumbList
|
32 |
/**
|
33 |
* Form Layout Render
|
34 |
*
|
35 |
+
* @version 4.5.3
|
36 |
* @since 2.3.3
|
37 |
* @param array $option
|
38 |
*/
|
79 |
$html .= '</table>';
|
80 |
echo $html;
|
81 |
|
82 |
+
$html = '<table class="schema-admin-table">';
|
83 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
84 |
+
$html .= '<tr><th>schema.org BreadcrumbList :</th>';
|
85 |
+
$html .= '<td><a href="https://schema.org/BreadcrumbList" target="_blank">https://schema.org/BreadcrumbList</a></td></tr>';
|
86 |
+
$html .= '<tr><th>Google Search Breadcrumb :</th>';
|
87 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/breadcrumbs" target="_blank">https://developers.google.com/search/docs/data-types/breadcrumbs</a></td></tr>';
|
88 |
+
$html .= '</table>';
|
89 |
+
echo $html;
|
90 |
+
|
91 |
submit_button();
|
92 |
}
|
93 |
|
includes/admin/wp-structuring-admin-type-event.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Schema.org Type Event
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.
|
7 |
* @since 2.1.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/Event
|
@@ -25,7 +25,7 @@ class Structuring_Markup_Type_Event {
|
|
25 |
/**
|
26 |
* Form Layout Render
|
27 |
*
|
28 |
-
* @version 4.
|
29 |
* @since 2.1.0
|
30 |
*/
|
31 |
private function page_render () {
|
@@ -64,9 +64,22 @@ class Structuring_Markup_Type_Event {
|
|
64 |
$html .= '</table>';
|
65 |
echo $html;
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
submit_button();
|
72 |
}
|
3 |
* Schema.org Type Event
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 2.1.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/Event
|
25 |
/**
|
26 |
* Form Layout Render
|
27 |
*
|
28 |
+
* @version 4.5.3
|
29 |
* @since 2.1.0
|
30 |
*/
|
31 |
private function page_render () {
|
64 |
$html .= '</table>';
|
65 |
echo $html;
|
66 |
|
67 |
+
$html = '<table class="schema-admin-table">';
|
68 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
69 |
+
$html .= '<tr><th>Custom post name :</th>';
|
70 |
+
$html .= '<td>schema_event_post</td></tr>';
|
71 |
+
$html .= '<tr><th>Archive rewrite name :</th>';
|
72 |
+
$html .= '<td>events</td></tr>';
|
73 |
+
$html .= '<tr><th>schema.org Event :</th>';
|
74 |
+
$html .= '<td><a href="http://schema.org/Event" target="_blank">http://schema.org/Event</a></td></tr>';
|
75 |
+
$html .= '<tr><th>schema.org Place :</th>';
|
76 |
+
$html .= '<td><a href="http://schema.org/Place" target="_blank">http://schema.org/Place</a></td></tr>';
|
77 |
+
$html .= '<tr><th>schema.org Offer :</th>';
|
78 |
+
$html .= '<td><a href="http://schema.org/Offer" target="_blank">http://schema.org/Offer</a></td></tr>';
|
79 |
+
$html .= '<tr><th>Google Search Breadcrumb :</th>';
|
80 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/events" target="_blank">https://developers.google.com/search/docs/data-types/events</a></td></tr>';
|
81 |
+
$html .= '</table>';
|
82 |
+
echo $html;
|
83 |
|
84 |
submit_button();
|
85 |
}
|
includes/admin/wp-structuring-admin-type-local-business.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Schema.org Type LocalBusiness
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.
|
7 |
* @since 2.3.3
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/LocalBusiness
|
@@ -210,7 +210,7 @@ class Structuring_Markup_Type_LocalBusiness {
|
|
210 |
/**
|
211 |
* Form Layout Render
|
212 |
*
|
213 |
-
* @version 4.
|
214 |
* @since 2.3.3
|
215 |
* @param array $option
|
216 |
*/
|
@@ -315,7 +315,17 @@ class Structuring_Markup_Type_LocalBusiness {
|
|
315 |
$html .= '</table>';
|
316 |
echo $html;
|
317 |
|
318 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
submit_button();
|
320 |
}
|
321 |
|
3 |
* Schema.org Type LocalBusiness
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 2.3.3
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/LocalBusiness
|
210 |
/**
|
211 |
* Form Layout Render
|
212 |
*
|
213 |
+
* @version 4.5.3
|
214 |
* @since 2.3.3
|
215 |
* @param array $option
|
216 |
*/
|
315 |
$html .= '</table>';
|
316 |
echo $html;
|
317 |
|
318 |
+
$html = '<table class="schema-admin-table">';
|
319 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
320 |
+
$html .= '<tr><th>schema.org LocalBusiness :</th>';
|
321 |
+
$html .= '<td><a href="http://schema.org/LocalBusiness" target="_blank">http://schema.org/LocalBusiness</a></td></tr>';
|
322 |
+
$html .= '<tr><th>schema.org GeoCircle :</th>';
|
323 |
+
$html .= '<td><a href="https://schema.org/GeoCircle" target="_blank">https://schema.org/GeoCircle</a></td></tr>';
|
324 |
+
$html .= '<tr><th>Google Search LocalBusiness :</th>';
|
325 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/local-businesses" target="_blank">https://developers.google.com/search/docs/data-types/local-businesses</a></td></tr>';
|
326 |
+
$html .= '</table>';
|
327 |
+
echo $html;
|
328 |
+
|
329 |
submit_button();
|
330 |
}
|
331 |
|
includes/admin/wp-structuring-admin-type-news-article.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Schema.org Type News Article
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.5.
|
7 |
* @since 1.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/NewsArticle
|
@@ -33,7 +33,7 @@ class Structuring_Markup_Type_NewsArticle {
|
|
33 |
/**
|
34 |
* Form Layout Render
|
35 |
*
|
36 |
-
* @version 4.5.
|
37 |
* @since 1.0.0
|
38 |
* @param array $option
|
39 |
*/
|
@@ -140,24 +140,36 @@ class Structuring_Markup_Type_NewsArticle {
|
|
140 |
$html .= '</table>';
|
141 |
echo $html;
|
142 |
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
submit_button();
|
145 |
}
|
146 |
|
147 |
/**
|
148 |
* Return the default options array
|
149 |
*
|
150 |
-
* @since 4.5.
|
151 |
* @version 2.2.0
|
152 |
* @return array $args
|
153 |
*/
|
154 |
private function get_default_options () {
|
155 |
-
$args['name']
|
156 |
-
$args['content_image']
|
157 |
-
$args['default_image']
|
158 |
-
$args['logo']
|
159 |
-
$args['logo-height']
|
160 |
-
$args['logo-width']
|
161 |
$args['speakable_action'] = '';
|
162 |
$args['speakable_type'] = '';
|
163 |
$args['speakable_headline'] = '';
|
3 |
* Schema.org Type News Article
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 1.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link http://schema.org/NewsArticle
|
33 |
/**
|
34 |
* Form Layout Render
|
35 |
*
|
36 |
+
* @version 4.5.3
|
37 |
* @since 1.0.0
|
38 |
* @param array $option
|
39 |
*/
|
140 |
$html .= '</table>';
|
141 |
echo $html;
|
142 |
|
143 |
+
$html = '<table class="schema-admin-table">';
|
144 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
145 |
+
$html .= '<tr><th>schema.org NewsArticle :</th>';
|
146 |
+
$html .= '<td><a href="http://schema.org/NewsArticle" target="_blank">http://schema.org/NewsArticle</a></td></tr>';
|
147 |
+
$html .= '<tr><th>pending.schema.org Speakable :</th>';
|
148 |
+
$html .= '<td><a href="https://pending.schema.org/speakable" target="_blank">https://pending.schema.org/speakable</a></td></tr>';
|
149 |
+
$html .= '<tr><th>Google Search Article :</th>';
|
150 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/articles" target="_blank">https://developers.google.com/search/docs/data-types/articles</a></td></tr>';
|
151 |
+
$html .= '<tr><th>Google Search Speakable (BETA) :</th>';
|
152 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/speakable" target="_blank">https://developers.google.com/search/docs/data-types/speakable</a></td></tr>';
|
153 |
+
$html .= '</table>';
|
154 |
+
echo $html;
|
155 |
+
|
156 |
submit_button();
|
157 |
}
|
158 |
|
159 |
/**
|
160 |
* Return the default options array
|
161 |
*
|
162 |
+
* @since 4.5.3
|
163 |
* @version 2.2.0
|
164 |
* @return array $args
|
165 |
*/
|
166 |
private function get_default_options () {
|
167 |
+
$args['name'] = '';
|
168 |
+
$args['content_image'] = '';
|
169 |
+
$args['default_image'] = '';
|
170 |
+
$args['logo'] = '';
|
171 |
+
$args['logo-height'] = 0;
|
172 |
+
$args['logo-width'] = 0;
|
173 |
$args['speakable_action'] = '';
|
174 |
$args['speakable_type'] = '';
|
175 |
$args['speakable_headline'] = '';
|
includes/admin/wp-structuring-admin-type-organization.php
CHANGED
@@ -3,11 +3,13 @@
|
|
3 |
* Schema.org Type Organization
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.
|
7 |
* @since 1.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/Organization
|
10 |
-
* @link https://developers.google.com/search/docs/
|
|
|
|
|
11 |
*/
|
12 |
class Structuring_Markup_Type_Organization {
|
13 |
|
@@ -65,7 +67,7 @@ class Structuring_Markup_Type_Organization {
|
|
65 |
/**
|
66 |
* Form Layout Render
|
67 |
*
|
68 |
-
* @version 4.
|
69 |
* @since 1.0.0
|
70 |
* @param array $option
|
71 |
*/
|
@@ -147,7 +149,19 @@ class Structuring_Markup_Type_Organization {
|
|
147 |
$html .= '</table>';
|
148 |
echo $html;
|
149 |
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
submit_button();
|
152 |
}
|
153 |
|
3 |
* Schema.org Type Organization
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 1.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/Organization
|
10 |
+
* @link https://developers.google.com/search/docs/data-types/logo
|
11 |
+
* @link https://developers.google.com/search/docs/data-types/corporate-contact
|
12 |
+
* @link https://developers.google.com/search/docs/data-types/social-profile
|
13 |
*/
|
14 |
class Structuring_Markup_Type_Organization {
|
15 |
|
67 |
/**
|
68 |
* Form Layout Render
|
69 |
*
|
70 |
+
* @version 4.5.3
|
71 |
* @since 1.0.0
|
72 |
* @param array $option
|
73 |
*/
|
149 |
$html .= '</table>';
|
150 |
echo $html;
|
151 |
|
152 |
+
$html = '<table class="schema-admin-table">';
|
153 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
154 |
+
$html .= '<tr><th>schema.org Organization :</th>';
|
155 |
+
$html .= '<td><a href="https://schema.org/Organization" target="_blank">https://schema.org/Organization</a></td></tr>';
|
156 |
+
$html .= '<tr><th>Google Search Logos :</th>';
|
157 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/logo" target="_blank">https://developers.google.com/search/docs/data-types/logo</a></td></tr>';
|
158 |
+
$html .= '<tr><th>Google Search Corporate Contact :</th>';
|
159 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/corporate-contact" target="_blank">https://developers.google.com/search/docs/data-types/corporate-contact</a></td></tr>';
|
160 |
+
$html .= '<tr><th>Google Search Social Profile :</th>';
|
161 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/social-profile" target="_blank">https://developers.google.com/search/docs/data-types/social-profile</a></td></tr>';
|
162 |
+
$html .= '</table>';
|
163 |
+
echo $html;
|
164 |
+
|
165 |
submit_button();
|
166 |
}
|
167 |
|
includes/admin/wp-structuring-admin-type-person.php
CHANGED
@@ -3,11 +3,11 @@
|
|
3 |
* Schema.org Type Person
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.
|
7 |
* @since 2.4.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/Person
|
10 |
-
* @link https://developers.google.com/search/docs/data-types/social-profile
|
11 |
*/
|
12 |
class Structuring_Markup_Type_Person {
|
13 |
|
@@ -52,7 +52,7 @@ class Structuring_Markup_Type_Person {
|
|
52 |
/**
|
53 |
* Form Layout Render
|
54 |
*
|
55 |
-
* @version 4.
|
56 |
* @since 2.4.0
|
57 |
* @param array $option
|
58 |
*/
|
@@ -89,7 +89,15 @@ class Structuring_Markup_Type_Person {
|
|
89 |
$html .= '</table>';
|
90 |
echo $html;
|
91 |
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
submit_button();
|
94 |
}
|
95 |
|
3 |
* Schema.org Type Person
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 2.4.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/Person
|
10 |
+
* @link https://developers.google.com/search/docs/data-types/social-profile
|
11 |
*/
|
12 |
class Structuring_Markup_Type_Person {
|
13 |
|
52 |
/**
|
53 |
* Form Layout Render
|
54 |
*
|
55 |
+
* @version 4.5.3
|
56 |
* @since 2.4.0
|
57 |
* @param array $option
|
58 |
*/
|
89 |
$html .= '</table>';
|
90 |
echo $html;
|
91 |
|
92 |
+
$html = '<table class="schema-admin-table">';
|
93 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
94 |
+
$html .= '<tr><th>schema.org Person :</th>';
|
95 |
+
$html .= '<td><a href="https://schema.org/Person" target="_blank">https://schema.org/Person</a></td></tr>';
|
96 |
+
$html .= '<tr><th>Google Search Social Profile :</th>';
|
97 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/social-profile" target="_blank">https://developers.google.com/search/docs/data-types/social-profile</a></td></tr>';
|
98 |
+
$html .= '</table>';
|
99 |
+
echo $html;
|
100 |
+
|
101 |
submit_button();
|
102 |
}
|
103 |
|
includes/admin/wp-structuring-admin-type-site-navigation.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Schema.org Site Navigation Element
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version
|
7 |
* @since 3.1.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/SiteNavigationElement
|
@@ -28,7 +28,7 @@ class Structuring_Markup_Type_Site_Navigation {
|
|
28 |
/**
|
29 |
* Form Layout Render
|
30 |
*
|
31 |
-
* @version
|
32 |
* @since 3.1.0
|
33 |
* @param array $option
|
34 |
*/
|
@@ -59,7 +59,13 @@ class Structuring_Markup_Type_Site_Navigation {
|
|
59 |
$html .= '</table>';
|
60 |
echo $html;
|
61 |
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
submit_button();
|
64 |
}
|
65 |
|
3 |
* Schema.org Site Navigation Element
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 3.1.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/SiteNavigationElement
|
28 |
/**
|
29 |
* Form Layout Render
|
30 |
*
|
31 |
+
* @version 4.5.3
|
32 |
* @since 3.1.0
|
33 |
* @param array $option
|
34 |
*/
|
59 |
$html .= '</table>';
|
60 |
echo $html;
|
61 |
|
62 |
+
$html = '<table class="schema-admin-table">';
|
63 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
64 |
+
$html .= '<tr><th>schema.org SiteNavigationElement :</th>';
|
65 |
+
$html .= '<td><a href="https://schema.org/SiteNavigationElement" target="_blank">https://schema.org/SiteNavigationElement</a></td></tr>';
|
66 |
+
$html .= '</table>';
|
67 |
+
echo $html;
|
68 |
+
|
69 |
submit_button();
|
70 |
}
|
71 |
|
includes/admin/wp-structuring-admin-type-video.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* @since 3.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/VideoObject
|
10 |
-
* @link https://developers.google.com/search/docs/data-types/
|
11 |
*/
|
12 |
class Structuring_Markup_Type_Videos {
|
13 |
|
@@ -41,9 +41,18 @@ class Structuring_Markup_Type_Videos {
|
|
41 |
$html .= '</table>';
|
42 |
echo $html;
|
43 |
|
44 |
-
|
45 |
-
|
46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
submit_button();
|
49 |
}
|
7 |
* @since 3.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/VideoObject
|
10 |
+
* @link https://developers.google.com/search/docs/data-types/video
|
11 |
*/
|
12 |
class Structuring_Markup_Type_Videos {
|
13 |
|
41 |
$html .= '</table>';
|
42 |
echo $html;
|
43 |
|
44 |
+
$html = '<table class="schema-admin-table">';
|
45 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
46 |
+
$html .= '<tr><th>Custom post name :</th>';
|
47 |
+
$html .= '<td>schema_video_post</td></tr>';
|
48 |
+
$html .= '<tr><th>Archive rewrite name :</th>';
|
49 |
+
$html .= '<td>videos</td></tr>';
|
50 |
+
$html .= '<tr><th>schema.org VideoObject :</th>';
|
51 |
+
$html .= '<td><a href="https://schema.org/VideoObject" target="_blank">https://schema.org/VideoObject</a></td></tr>';
|
52 |
+
$html .= '<tr><th>Google Search Video :</th>';
|
53 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/video" target="_blank">https://developers.google.com/search/docs/data-types/video</a></td></tr>';
|
54 |
+
$html .= '</table>';
|
55 |
+
echo $html;
|
56 |
|
57 |
submit_button();
|
58 |
}
|
includes/admin/wp-structuring-admin-type-website.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
* Schema.org Type WebSite
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
-
* @version 4.5.
|
7 |
* @since 1.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/WebSite
|
10 |
-
* @link https://
|
11 |
-
* @link https://developers.google.com/search/docs/data-types/
|
12 |
*/
|
13 |
class Structuring_Markup_Type_Website {
|
14 |
|
@@ -33,7 +33,7 @@ class Structuring_Markup_Type_Website {
|
|
33 |
/**
|
34 |
* Form Layout Render
|
35 |
*
|
36 |
-
* @version 4.5.
|
37 |
* @since 2.3.3
|
38 |
* @param array $option
|
39 |
*/
|
@@ -82,7 +82,17 @@ class Structuring_Markup_Type_Website {
|
|
82 |
$html .= '</table>';
|
83 |
echo $html;
|
84 |
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
submit_button();
|
87 |
}
|
88 |
|
3 |
* Schema.org Type WebSite
|
4 |
*
|
5 |
* @author Kazuya Takami
|
6 |
+
* @version 4.5.3
|
7 |
* @since 1.0.0
|
8 |
* @see wp-structuring-admin-db.php
|
9 |
* @link https://schema.org/WebSite
|
10 |
+
* @link https://schema.org/SearchAction
|
11 |
+
* @link https://developers.google.com/search/docs/data-types/sitelinks-searchbox
|
12 |
*/
|
13 |
class Structuring_Markup_Type_Website {
|
14 |
|
33 |
/**
|
34 |
* Form Layout Render
|
35 |
*
|
36 |
+
* @version 4.5.3
|
37 |
* @since 2.3.3
|
38 |
* @param array $option
|
39 |
*/
|
82 |
$html .= '</table>';
|
83 |
echo $html;
|
84 |
|
85 |
+
$html = '<table class="schema-admin-table">';
|
86 |
+
$html .= '<caption>Setting Knowledge</caption>';
|
87 |
+
$html .= '<tr><th>schema.org SearchAction :</th>';
|
88 |
+
$html .= '<td><a href="https://schema.org/WebSite" target="_blank">https://schema.org/WebSite</a></td></tr>';
|
89 |
+
$html .= '<tr><th>schema.org WebSite :</th>';
|
90 |
+
$html .= '<td><a href="https://schema.org/SearchAction" target="_blank">https://schema.org/SearchAction</a></td></tr>';
|
91 |
+
$html .= '<tr><th>Google Search Sitelinks Searchbox :</th>';
|
92 |
+
$html .= '<td><a href="https://developers.google.com/search/docs/data-types/sitelinks-searchbox" target="_blank">https://developers.google.com/search/docs/data-types/sitelinks-searchbox</a></td></tr>';
|
93 |
+
$html .= '</table>';
|
94 |
+
echo $html;
|
95 |
+
|
96 |
submit_button();
|
97 |
}
|
98 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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: 4.9.8
|
6 |
-
Stable tag: 4.5.
|
7 |
|
8 |
Allows you to include schema.org JSON-LD syntax markup on your website
|
9 |
|
@@ -55,6 +55,10 @@ if ( shortcode_exists( 'wp-structuring-markup-breadcrumb' ) ) {
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
|
|
58 |
= 4.5.2 (2018-09-03) =
|
59 |
* Fixed : Changed title fixing of breadcrumbs on page 404.
|
60 |
|
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: 4.9.8
|
6 |
+
Stable tag: 4.5.3
|
7 |
|
8 |
Allows you to include schema.org JSON-LD syntax markup on your website
|
9 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 4.5.3 (2018-09-07) =
|
59 |
+
* Fixed : Fixed broken links.
|
60 |
+
* Fixed : Fixed bug when displaying Config menu.
|
61 |
+
|
62 |
= 4.5.2 (2018-09-03) =
|
63 |
* Fixed : Changed title fixing of breadcrumbs on page 404.
|
64 |
|
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.5.
|
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.5.
|
22 |
* @since 1.0.0
|
23 |
*/
|
24 |
class Structuring_Markup {
|
@@ -26,10 +26,10 @@ class Structuring_Markup {
|
|
26 |
/**
|
27 |
* Variable definition version.
|
28 |
*
|
29 |
-
* @version 4.5.
|
30 |
* @since 1.3.0
|
31 |
*/
|
32 |
-
private $version = '4.5.
|
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.5.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.5.3
|
22 |
* @since 1.0.0
|
23 |
*/
|
24 |
class Structuring_Markup {
|
26 |
/**
|
27 |
* Variable definition version.
|
28 |
*
|
29 |
+
* @version 4.5.3
|
30 |
* @since 1.3.0
|
31 |
*/
|
32 |
+
private $version = '4.5.3';
|
33 |
|
34 |
/**
|
35 |
* Variable definition Text Domain.
|