Markup (JSON-LD) structured in schema.org - Version 4.8.1

Version Description

(2020-04-26) * Fixed : http://schema.org/ -> https://schema.org/. * Checked : WordPress version 5.7.1 operation check. * Checked : WordPress version 5.7.0 operation check.

Download this release

Release Info

Developer miiitaka
Plugin Icon 128x128 Markup (JSON-LD) structured in schema.org
Version 4.8.1
Comparing to
See all releases

Code changes from version 4.8.0 to 4.8.1

includes/admin/wp-structuring-admin-type-article.php CHANGED
@@ -3,10 +3,10 @@
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
@@ -34,7 +34,7 @@ class Structuring_Markup_Type_Article {
34
  /**
35
  * Form Layout Render
36
  *
37
- * @version 4.5.3
38
  * @since 1.1.0
39
  * @param array $option
40
  */
@@ -144,7 +144,7 @@ class Structuring_Markup_Type_Article {
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>';
3
  * Schema.org Type Article
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 1.1.0
8
  * @see wp-structuring-admin-db.php
9
+ * @link https://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
34
  /**
35
  * Form Layout Render
36
  *
37
+ * @version 4.8.1
38
  * @since 1.1.0
39
  * @param array $option
40
  */
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="https://schema.org/Article" target="_blank">https://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>';
includes/admin/wp-structuring-admin-type-blog-posting.php CHANGED
@@ -3,10 +3,10 @@
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
@@ -34,7 +34,7 @@ class Structuring_Markup_Type_Blog_Posting {
34
  /**
35
  * Form Layout Render
36
  *
37
- * @version 4.5.3
38
  * @since 1.2.0
39
  * @param array $option
40
  */
@@ -144,7 +144,7 @@ class Structuring_Markup_Type_Blog_Posting {
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>';
3
  * Schema.org Type BlogPosting
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 1.2.0
8
  * @see wp-structuring-admin-db.php
9
+ * @link https://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
34
  /**
35
  * Form Layout Render
36
  *
37
+ * @version 4.8.1
38
  * @since 1.2.0
39
  * @param array $option
40
  */
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="https://schema.org/BlogPosting" target="_blank">https://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>';
includes/admin/wp-structuring-admin-type-event.php CHANGED
@@ -3,12 +3,12 @@
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
10
- * @link http://schema.org/Place
11
- * @link http://schema.org/Offer
12
  * @link https://developers.google.com/search/docs/data-types/events
13
  */
14
  class Structuring_Markup_Type_Event {
@@ -25,7 +25,7 @@ class Structuring_Markup_Type_Event {
25
  /**
26
  * Form Layout Render
27
  *
28
- * @version 4.5.3
29
  * @since 2.1.0
30
  */
31
  private function page_render () {
@@ -71,11 +71,11 @@ class Structuring_Markup_Type_Event {
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>';
3
  * Schema.org Type Event
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 2.1.0
8
  * @see wp-structuring-admin-db.php
9
+ * @link https://schema.org/Event
10
+ * @link https://schema.org/Place
11
+ * @link https://schema.org/Offer
12
  * @link https://developers.google.com/search/docs/data-types/events
13
  */
14
  class Structuring_Markup_Type_Event {
25
  /**
26
  * Form Layout Render
27
  *
28
+ * @version 4.8.1
29
  * @since 2.1.0
30
  */
31
  private function page_render () {
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="https://schema.org/Event" target="_blank">https://schema.org/Event</a></td></tr>';
75
  $html .= '<tr><th>schema.org Place :</th>';
76
+ $html .= '<td><a href="https://schema.org/Place" target="_blank">https://schema.org/Place</a></td></tr>';
77
  $html .= '<tr><th>schema.org Offer :</th>';
78
+ $html .= '<td><a href="https://schema.org/Offer" target="_blank">https://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>';
includes/admin/wp-structuring-admin-type-local-business.php CHANGED
@@ -3,10 +3,10 @@
3
  * Schema.org Type LocalBusiness
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.6.0
7
  * @since 2.3.3
8
  * @see wp-structuring-admin-db.php
9
- * @link http://schema.org/LocalBusiness
10
  * @link https://schema.org/GeoCircle
11
  * @link https://developers.google.com/search/docs/data-types/local-businesses
12
  */
@@ -210,7 +210,7 @@ class Structuring_Markup_Type_LocalBusiness {
210
  /**
211
  * Form Layout Render
212
  *
213
- * @version 4.5.3
214
  * @since 2.3.3
215
  * @param array $option
216
  */
@@ -318,7 +318,7 @@ class Structuring_Markup_Type_LocalBusiness {
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>';
3
  * Schema.org Type LocalBusiness
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 2.3.3
8
  * @see wp-structuring-admin-db.php
9
+ * @link https://schema.org/LocalBusiness
10
  * @link https://schema.org/GeoCircle
11
  * @link https://developers.google.com/search/docs/data-types/local-businesses
12
  */
210
  /**
211
  * Form Layout Render
212
  *
213
+ * @version 4.8.1
214
  * @since 2.3.3
215
  * @param array $option
216
  */
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="https://schema.org/LocalBusiness" target="_blank">https://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>';
includes/admin/wp-structuring-admin-type-news-article.php CHANGED
@@ -3,10 +3,10 @@
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
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 +33,7 @@ class Structuring_Markup_Type_NewsArticle {
33
  /**
34
  * Form Layout Render
35
  *
36
- * @version 4.5.3
37
  * @since 1.0.0
38
  * @param array $option
39
  */
@@ -143,7 +143,7 @@ class Structuring_Markup_Type_NewsArticle {
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>';
3
  * Schema.org Type News Article
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 1.0.0
8
  * @see wp-structuring-admin-db.php
9
+ * @link https://schema.org/NewsArticle
10
  * @link https://developers.google.com/search/docs/data-types/articles
11
  * @link https://developers.google.com/search/docs/data-types/speakable
12
  */
33
  /**
34
  * Form Layout Render
35
  *
36
+ * @version 4.8.1
37
  * @since 1.0.0
38
  * @param array $option
39
  */
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="https://schema.org/NewsArticle" target="_blank">https://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>';
includes/meta/wp-structuring-meta-article.php CHANGED
@@ -3,9 +3,9 @@
3
  * Schema.org Type Article
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.7.0
7
  * @since 4.0.0
8
- * @link http://schema.org/Article
9
  * @link https://developers.google.com/search/docs/data-types/articles
10
  * @link https://developers.google.com/search/docs/data-types/speakable
11
  */
@@ -33,7 +33,7 @@ class Structuring_Markup_Meta_Article {
33
  /**
34
  * Setting schema.org Article
35
  *
36
- * @version 4.7.0
37
  * @since 4.0.0
38
  * @param array $options
39
  * @return array $args
@@ -45,7 +45,7 @@ class Structuring_Markup_Meta_Article {
45
  $content = $excerpt === "" ? mb_substr( $this->utility->escape_text( $post->post_content ), 0, 110 ) : $excerpt;
46
 
47
  $args = array(
48
- "@context" => "http://schema.org",
49
  "@type" => "Article",
50
  "mainEntityOfPage" => array(
51
  "@type" => "WebPage",
3
  * Schema.org Type Article
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
+ * @link https://schema.org/Article
9
  * @link https://developers.google.com/search/docs/data-types/articles
10
  * @link https://developers.google.com/search/docs/data-types/speakable
11
  */
33
  /**
34
  * Setting schema.org Article
35
  *
36
+ * @version 4.8.1
37
  * @since 4.0.0
38
  * @param array $options
39
  * @return array $args
45
  $content = $excerpt === "" ? mb_substr( $this->utility->escape_text( $post->post_content ), 0, 110 ) : $excerpt;
46
 
47
  $args = array(
48
+ "@context" => "https://schema.org",
49
  "@type" => "Article",
50
  "mainEntityOfPage" => array(
51
  "@type" => "WebPage",
includes/meta/wp-structuring-meta-blog-posting.php CHANGED
@@ -3,9 +3,9 @@
3
  * Schema.org Type BlogPosting
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.7.0
7
  * @since 4.0.0
8
- * @link http://schema.org/BlogPosting
9
  * @link https://developers.google.com/search/docs/data-types/articles
10
  * @link https://developers.google.com/search/docs/data-types/speakable
11
  */
@@ -33,7 +33,7 @@ class Structuring_Markup_Meta_Blog_Posting {
33
  /**
34
  * Setting schema.org BlogPosting
35
  *
36
- * @version 4.7.0
37
  * @since 4.0.0
38
  * @param array $options
39
  * @return array $args
@@ -45,7 +45,7 @@ class Structuring_Markup_Meta_Blog_Posting {
45
  $content = $excerpt === "" ? mb_substr( $this->utility->escape_text( $post->post_content ), 0, 110 ) : $excerpt;
46
 
47
  $args = array(
48
- "@context" => "http://schema.org",
49
  "@type" => "BlogPosting",
50
  "mainEntityOfPage" => array(
51
  "@type" => "WebPage",
3
  * Schema.org Type BlogPosting
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
+ * @link https://schema.org/BlogPosting
9
  * @link https://developers.google.com/search/docs/data-types/articles
10
  * @link https://developers.google.com/search/docs/data-types/speakable
11
  */
33
  /**
34
  * Setting schema.org BlogPosting
35
  *
36
+ * @version 4.8.1
37
  * @since 4.0.0
38
  * @param array $options
39
  * @return array $args
45
  $content = $excerpt === "" ? mb_substr( $this->utility->escape_text( $post->post_content ), 0, 110 ) : $excerpt;
46
 
47
  $args = array(
48
+ "@context" => "https://schema.org",
49
  "@type" => "BlogPosting",
50
  "mainEntityOfPage" => array(
51
  "@type" => "WebPage",
includes/meta/wp-structuring-meta-breadcrumb.php CHANGED
@@ -3,7 +3,7 @@
3
  * Schema.org Type Breadcrumb
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.0.0
7
  * @since 4.0.0
8
  * @see wp-structuring-short-code-breadcrumb.php
9
  * @link https://schema.org/BreadcrumbList
@@ -14,7 +14,7 @@ class Structuring_Markup_Meta_Breadcrumb {
14
  /**
15
  * Setting schema.org Breadcrumb
16
  *
17
- * @version 4.0.0
18
  * @since 4.0.0
19
  * @param array $options
20
  * @return array $args
@@ -38,7 +38,7 @@ class Structuring_Markup_Meta_Breadcrumb {
38
 
39
  /** Breadcrumb Schema build */
40
  $args = array(
41
- "@context" => "http://schema.org",
42
  "@type" => "BreadcrumbList",
43
  "itemListElement" => $item_list_element
44
  );
3
  * Schema.org Type Breadcrumb
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @see wp-structuring-short-code-breadcrumb.php
9
  * @link https://schema.org/BreadcrumbList
14
  /**
15
  * Setting schema.org Breadcrumb
16
  *
17
+ * @version 4.8.1
18
  * @since 4.0.0
19
  * @param array $options
20
  * @return array $args
38
 
39
  /** Breadcrumb Schema build */
40
  $args = array(
41
+ "@context" => "https://schema.org",
42
  "@type" => "BreadcrumbList",
43
  "itemListElement" => $item_list_element
44
  );
includes/meta/wp-structuring-meta-event.php CHANGED
@@ -3,11 +3,11 @@
3
  * Schema.org Type Event
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.0.2
7
  * @since 4.0.0
8
- * @link http://schema.org/Event
9
- * @link http://schema.org/Place
10
- * @link http://schema.org/Offer
11
  * @link https://developers.google.com/search/docs/data-types/events
12
  */
13
  class Structuring_Markup_Meta_Event {
@@ -15,7 +15,7 @@ class Structuring_Markup_Meta_Event {
15
  /**
16
  * Setting schema.org Event
17
  *
18
- * @version 4.0.2
19
  * @since 4.0.0
20
  * @return array $args
21
  */
@@ -39,7 +39,7 @@ class Structuring_Markup_Meta_Event {
39
  if ( !isset( $meta['schema_event_offers_currency'] ) ) $meta['schema_event_offers_currency'] = '';
40
 
41
  $args = array(
42
- "@context" => "http://schema.org",
43
  "@type" => esc_html( $meta['schema_event_type'] ),
44
  "name" => esc_html( $meta['schema_event_name'] ),
45
  "startDate" => esc_html( $meta['schema_event_date'] ) . 'T' . esc_html( $meta['schema_event_time'] ),
@@ -73,7 +73,7 @@ class Structuring_Markup_Meta_Event {
73
 
74
  // @type: Offer recommended items
75
  if ( isset( $meta['schema_event_offers_availability'] ) && $meta['schema_event_offers_availability'] !== '' ) {
76
- $offer['availability'] = "http://schema.org/" . esc_html( $meta['schema_event_offers_availability'] );
77
  }
78
  if ( isset( $meta['schema_event_offers_date'] ) && $meta['schema_event_offers_date'] !== '' && isset( $meta['schema_event_offers_time'] ) && $meta['schema_event_offers_time'] !== '' ) {
79
  $offer['validFrom'] = esc_html( $meta['schema_event_offers_date'] ) . 'T' . esc_html( $meta['schema_event_offers_time'] );
3
  * Schema.org Type Event
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
+ * @link https://schema.org/Event
9
+ * @link https://schema.org/Place
10
+ * @link https://schema.org/Offer
11
  * @link https://developers.google.com/search/docs/data-types/events
12
  */
13
  class Structuring_Markup_Meta_Event {
15
  /**
16
  * Setting schema.org Event
17
  *
18
+ * @version 4.8.1
19
  * @since 4.0.0
20
  * @return array $args
21
  */
39
  if ( !isset( $meta['schema_event_offers_currency'] ) ) $meta['schema_event_offers_currency'] = '';
40
 
41
  $args = array(
42
+ "@context" => "https://schema.org",
43
  "@type" => esc_html( $meta['schema_event_type'] ),
44
  "name" => esc_html( $meta['schema_event_name'] ),
45
  "startDate" => esc_html( $meta['schema_event_date'] ) . 'T' . esc_html( $meta['schema_event_time'] ),
73
 
74
  // @type: Offer recommended items
75
  if ( isset( $meta['schema_event_offers_availability'] ) && $meta['schema_event_offers_availability'] !== '' ) {
76
+ $offer['availability'] = "https://schema.org/" . esc_html( $meta['schema_event_offers_availability'] );
77
  }
78
  if ( isset( $meta['schema_event_offers_date'] ) && $meta['schema_event_offers_date'] !== '' && isset( $meta['schema_event_offers_time'] ) && $meta['schema_event_offers_time'] !== '' ) {
79
  $offer['validFrom'] = esc_html( $meta['schema_event_offers_date'] ) . 'T' . esc_html( $meta['schema_event_offers_time'] );
includes/meta/wp-structuring-meta-local-business.php CHANGED
@@ -3,10 +3,10 @@
3
  * Schema.org Type LocalBusiness
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.6.0
7
  * @since 4.0.0
8
  * @see wp-structuring-opening-hours.php
9
- * @link http://schema.org/LocalBusiness
10
  * @link https://schema.org/GeoCircle
11
  * @link https://developers.google.com/search/docs/data-types/local-businesses
12
  */
@@ -34,7 +34,7 @@ class Structuring_Markup_Meta_LocalBusiness {
34
  );
35
 
36
  $args = array(
37
- '@context' => 'http://schema.org',
38
  '@type' => isset( $options['business_type'] ) ? esc_html( $options['business_type'] ) : 'LocalBusiness',
39
  'name' => isset( $options['name'] ) ? esc_html( $options['name'] ) : '',
40
  'image' => isset( $options['image'] ) ? esc_html( $options['image'] ) : '',
3
  * Schema.org Type LocalBusiness
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @see wp-structuring-opening-hours.php
9
+ * @link https://schema.org/LocalBusiness
10
  * @link https://schema.org/GeoCircle
11
  * @link https://developers.google.com/search/docs/data-types/local-businesses
12
  */
34
  );
35
 
36
  $args = array(
37
+ '@context' => 'https://schema.org',
38
  '@type' => isset( $options['business_type'] ) ? esc_html( $options['business_type'] ) : 'LocalBusiness',
39
  'name' => isset( $options['name'] ) ? esc_html( $options['name'] ) : '',
40
  'image' => isset( $options['image'] ) ? esc_html( $options['image'] ) : '',
includes/meta/wp-structuring-meta-news-article.php CHANGED
@@ -3,9 +3,9 @@
3
  * Schema.org Type News Article
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.7.0
7
  * @since 4.0.0
8
- * @link http://schema.org/NewsArticle
9
  * @link https://developers.google.com/search/docs/data-types/articles
10
  * @link https://developers.google.com/search/docs/data-types/speakable
11
  */
@@ -45,7 +45,7 @@ class Structuring_Markup_Meta_NewsArticle {
45
  $content = $excerpt === "" ? mb_substr( $this->utility->escape_text( $post->post_content ), 0, 110 ) : $excerpt;
46
 
47
  $args = array(
48
- "@context" => "http://schema.org",
49
  "@type" => "NewsArticle",
50
  "mainEntityOfPage" => array(
51
  "@type" => "WebPage",
3
  * Schema.org Type News Article
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
+ * @link https://schema.org/NewsArticle
9
  * @link https://developers.google.com/search/docs/data-types/articles
10
  * @link https://developers.google.com/search/docs/data-types/speakable
11
  */
45
  $content = $excerpt === "" ? mb_substr( $this->utility->escape_text( $post->post_content ), 0, 110 ) : $excerpt;
46
 
47
  $args = array(
48
+ "@context" => "https://schema.org",
49
  "@type" => "NewsArticle",
50
  "mainEntityOfPage" => array(
51
  "@type" => "WebPage",
includes/meta/wp-structuring-meta-organization.php CHANGED
@@ -3,7 +3,7 @@
3
  * Schema.org Type Organization
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.6.0
7
  * @since 4.0.0
8
  * @link https://schema.org/Organization
9
  * @link https://developers.google.com/search/docs/guides/enhance-site
@@ -21,7 +21,7 @@ class Structuring_Markup_Meta_Organization {
21
  public function set_meta ( array $options ) {
22
  /** Logos */
23
  $args = array(
24
- '@context' => 'http://schema.org',
25
  '@type' => isset( $options['organization_type'] ) ? esc_html( $options['organization_type'] ) : 'Organization',
26
  'name' => isset( $options['name'] ) ? esc_html( $options['name'] ) : '',
27
  'url' => isset( $options['url'] ) ? esc_url( $options['url'] ) : '',
3
  * Schema.org Type Organization
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @link https://schema.org/Organization
9
  * @link https://developers.google.com/search/docs/guides/enhance-site
21
  public function set_meta ( array $options ) {
22
  /** Logos */
23
  $args = array(
24
+ '@context' => 'https://schema.org',
25
  '@type' => isset( $options['organization_type'] ) ? esc_html( $options['organization_type'] ) : 'Organization',
26
  'name' => isset( $options['name'] ) ? esc_html( $options['name'] ) : '',
27
  'url' => isset( $options['url'] ) ? esc_url( $options['url'] ) : '',
includes/meta/wp-structuring-meta-person.php CHANGED
@@ -3,7 +3,7 @@
3
  * Schema.org Type Person
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.0.0
7
  * @since 4.0.0
8
  * @link https://schema.org/Person
9
  * @link https://developers.google.com/search/docs/data-types/social-profile-links
@@ -13,7 +13,7 @@ class Structuring_Markup_Meta_Person {
13
  /**
14
  * Setting schema.org Person
15
  *
16
- * @version 4.0.0
17
  * @since 4.0.0
18
  * @param array $options
19
  * @return array $args
@@ -21,7 +21,7 @@ class Structuring_Markup_Meta_Person {
21
  public function set_meta ( array $options ) {
22
  /** Logos */
23
  $args = array(
24
- "@context" => "http://schema.org",
25
  "@type" => "Person",
26
  "name" => isset( $options['name'] ) ? esc_html( $options['name'] ) : "",
27
  "url" => isset( $options['url'] ) ? esc_url( $options['url'] ) : ""
3
  * Schema.org Type Person
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @link https://schema.org/Person
9
  * @link https://developers.google.com/search/docs/data-types/social-profile-links
13
  /**
14
  * Setting schema.org Person
15
  *
16
+ * @version 4.8.1
17
  * @since 4.0.0
18
  * @param array $options
19
  * @return array $args
21
  public function set_meta ( array $options ) {
22
  /** Logos */
23
  $args = array(
24
+ "@context" => "https://schema.org",
25
  "@type" => "Person",
26
  "name" => isset( $options['name'] ) ? esc_html( $options['name'] ) : "",
27
  "url" => isset( $options['url'] ) ? esc_url( $options['url'] ) : ""
includes/meta/wp-structuring-meta-site-navigation.php CHANGED
@@ -3,7 +3,7 @@
3
  * Schema.org Site Navigation Element
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.0.0
7
  * @since 4.0.0
8
  * @link https://schema.org/SiteNavigationElement
9
  */
@@ -12,7 +12,7 @@ class Structuring_Markup_Meta_Site_Navigation {
12
  /**
13
  * Setting schema.org Site Navigation
14
  *
15
- * @version 4.0.0
16
  * @since 4.0.0
17
  * @param array $options
18
  * @return array $args
@@ -30,7 +30,7 @@ class Structuring_Markup_Meta_Site_Navigation {
30
 
31
  if ( count( $items_array ) > 0 ) {
32
  $args = array(
33
- "@context" => "http://schema.org",
34
  "@type" => "SiteNavigationElement",
35
  "name" => $name_array,
36
  "url" => $url_array
3
  * Schema.org Site Navigation Element
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @link https://schema.org/SiteNavigationElement
9
  */
12
  /**
13
  * Setting schema.org Site Navigation
14
  *
15
+ * @version 4.8.1
16
  * @since 4.0.0
17
  * @param array $options
18
  * @return array $args
30
 
31
  if ( count( $items_array ) > 0 ) {
32
  $args = array(
33
+ "@context" => "https://schema.org",
34
  "@type" => "SiteNavigationElement",
35
  "name" => $name_array,
36
  "url" => $url_array
includes/meta/wp-structuring-meta-video.php CHANGED
@@ -3,7 +3,7 @@
3
  * Schema.org Type Video
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.0.0
7
  * @since 4.0.0
8
  * @link https://schema.org/VideoObject
9
  * @link https://developers.google.com/search/docs/data-types/videos
@@ -32,7 +32,7 @@ class Structuring_Markup_Meta_Video {
32
  /**
33
  * Setting schema.org Video
34
  *
35
- * @version 4.0.0
36
  * @since 4.0.0
37
  * @return array $args
38
  */
@@ -60,7 +60,7 @@ class Structuring_Markup_Meta_Video {
60
  if ( !isset( $meta['schema_video_upload_time'] ) ) $meta['schema_video_upload_time'] = get_post_modified_time( 'H:i:s', __return_false(), $post->ID );
61
 
62
  $args = array(
63
- "@context" => "http://schema.org",
64
  "@type" => "VideoObject",
65
  "name" => esc_html( $meta['schema_video_name'] ),
66
  "description" => esc_html( $meta['schema_video_description'] ),
3
  * Schema.org Type Video
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @link https://schema.org/VideoObject
9
  * @link https://developers.google.com/search/docs/data-types/videos
32
  /**
33
  * Setting schema.org Video
34
  *
35
+ * @version 4.8.1
36
  * @since 4.0.0
37
  * @return array $args
38
  */
60
  if ( !isset( $meta['schema_video_upload_time'] ) ) $meta['schema_video_upload_time'] = get_post_modified_time( 'H:i:s', __return_false(), $post->ID );
61
 
62
  $args = array(
63
+ "@context" => "https://schema.org",
64
  "@type" => "VideoObject",
65
  "name" => esc_html( $meta['schema_video_name'] ),
66
  "description" => esc_html( $meta['schema_video_description'] ),
includes/meta/wp-structuring-meta-website.php CHANGED
@@ -3,7 +3,7 @@
3
  * Schema.org Type WebSite
4
  *
5
  * @author Kazuya Takami
6
- * @version 4.5.0
7
  * @since 4.0.0
8
  * @link https://schema.org/WebSite
9
  * @link https://developers.google.com/search/docs/guides/enhance-site#add-a-sitelinks-searchbox-for-your-site
@@ -14,14 +14,14 @@ class Structuring_Markup_Meta_WebSite {
14
  /**
15
  * Setting schema.org WebSite
16
  *
17
- * @version 4.5.0
18
  * @since 4.0.0
19
  * @param array $options
20
  * @return array $args
21
  */
22
  public function set_meta ( array $options ) {
23
  $args = array(
24
- "@context" => "http://schema.org",
25
  "@type" => "WebSite",
26
  "name" => isset( $options['name'] ) ? esc_html( $options['name'] ) : '',
27
  "alternateName" => isset( $options['alternateName'] ) ? esc_html( $options['alternateName'] ) : '',
3
  * Schema.org Type WebSite
4
  *
5
  * @author Kazuya Takami
6
+ * @version 4.8.1
7
  * @since 4.0.0
8
  * @link https://schema.org/WebSite
9
  * @link https://developers.google.com/search/docs/guides/enhance-site#add-a-sitelinks-searchbox-for-your-site
14
  /**
15
  * Setting schema.org WebSite
16
  *
17
+ * @version 4.8.1
18
  * @since 4.0.0
19
  * @param array $options
20
  * @return array $args
21
  */
22
  public function set_meta ( array $options ) {
23
  $args = array(
24
+ "@context" => "https://schema.org",
25
  "@type" => "WebSite",
26
  "name" => isset( $options['name'] ) ? esc_html( $options['name'] ) : '',
27
  "alternateName" => isset( $options['alternateName'] ) ? esc_html( $options['alternateName'] ) : '',
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: 5.6.1
6
- Stable tag: 4.8.0
7
 
8
  Allows you to include schema.org JSON-LD syntax markup on your website
9
 
@@ -68,6 +68,11 @@ if ( shortcode_exists( 'wp-structuring-markup-breadcrumb' ) ) {
68
 
69
  == Changelog ==
70
 
 
 
 
 
 
71
  = 4.8.0 (2020-02-14) =
72
  * Fixed : Schema Type Local Business: Nesting of ternary operators.
73
  * Checked : WordPress version 5.6.1 operation check.
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.6.1
6
+ Stable tag: 4.8.1
7
 
8
  Allows you to include schema.org JSON-LD syntax markup on your website
9
 
68
 
69
  == Changelog ==
70
 
71
+ = 4.8.1 (2020-04-26)
72
+ * Fixed : http://schema.org/ -> https://schema.org/.
73
+ * Checked : WordPress version 5.7.1 operation check.
74
+ * Checked : WordPress version 5.7.0 operation check.
75
+
76
  = 4.8.0 (2020-02-14) =
77
  * Fixed : Schema Type Local Business: Nesting of ternary operators.
78
  * Checked : WordPress version 5.6.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.8.0
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.8.0
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.8.0
30
  * @since 1.3.0
31
  */
32
- private $version = '4.8.0';
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.8.1
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.8.1
22
  * @since 1.0.0
23
  */
24
  class Structuring_Markup {
26
  /**
27
  * Variable definition version.
28
  *
29
+ * @version 4.8.1
30
  * @since 1.3.0
31
  */
32
+ private $version = '4.8.1';
33
 
34
  /**
35
  * Variable definition Text Domain.