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

Version Description

(2016-07-27) = * Fixed : If you select a static page in a display of the front page, the home page is not output at the output page. (Added is_front_page function)

Download this release

Release Info

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

Code changes from version 3.0.2 to 3.0.3

includes/wp-structuring-display.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Kazuya Takami
6
  * @author Justin Frydman
7
- * @version 3.0.0
8
  * @since 1.0.0
9
  */
10
  class Structuring_Markup_Display {
@@ -31,7 +31,7 @@ class Structuring_Markup_Display {
31
  * Setting schema.org
32
  *
33
  * @since 1.0.0
34
- * @version 3.0.0
35
  * @param Structuring_Markup_Admin_Db $db
36
  */
37
  private function set_schema ( Structuring_Markup_Admin_Db $db ) {
@@ -40,7 +40,7 @@ class Structuring_Markup_Display {
40
  echo '<!-- Markup (JSON-LD) structured in schema.org START -->' . PHP_EOL;
41
 
42
  $this->get_schema_data( 'all', $structuring_markup_args );
43
- if ( is_home() ) {
44
  $this->get_schema_data( 'home', $structuring_markup_args );
45
  }
46
  if ( is_single() && get_post_type() === 'post' ) {
4
  *
5
  * @author Kazuya Takami
6
  * @author Justin Frydman
7
+ * @version 3.0.3
8
  * @since 1.0.0
9
  */
10
  class Structuring_Markup_Display {
31
  * Setting schema.org
32
  *
33
  * @since 1.0.0
34
+ * @version 3.0.3
35
  * @param Structuring_Markup_Admin_Db $db
36
  */
37
  private function set_schema ( Structuring_Markup_Admin_Db $db ) {
40
  echo '<!-- Markup (JSON-LD) structured in schema.org START -->' . PHP_EOL;
41
 
42
  $this->get_schema_data( 'all', $structuring_markup_args );
43
+ if ( is_home() || is_front_page() ) {
44
  $this->get_schema_data( 'home', $structuring_markup_args );
45
  }
46
  if ( is_single() && get_post_type() === 'post' ) {
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.5.3
6
- Stable tag: 3.0.2
7
 
8
  Allows you to include schema.org JSON-LD syntax markup on your website
9
 
@@ -53,6 +53,9 @@ if ( shortcode_exists( 'wp-structuring-markup-breadcrumb' ) ) {
53
 
54
  == Changelog ==
55
 
 
 
 
56
  = 3.0.2 (2016-07-15) =
57
  * Updated : Security measures of the update process.
58
 
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.5.3
6
+ Stable tag: 3.0.3
7
 
8
  Allows you to include schema.org JSON-LD syntax markup on your website
9
 
53
 
54
  == Changelog ==
55
 
56
+ = 3.0.3 (2016-07-27) =
57
+ * Fixed : If you select a static page in a display of the front page, the home page is not output at the output page. (Added is_front_page function)
58
+
59
  = 3.0.2 (2016-07-15) =
60
  * Updated : Security measures of the update process.
61
 
wp-structuring-markup.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Markup (JSON-LD) structured in schema.org
4
  Plugin URI: https://wordpress.org/plugins/wp-structuring-markup/
5
  Description: Allows you to include schema.org JSON-LD syntax markup on your website
6
- Version: 3.0.2
7
  Author: Kazuya Takami
8
  Author URI: http://programp.com/
9
  License: GPLv2 or later
@@ -19,7 +19,7 @@ new Structuring_Markup();
19
  *
20
  * @author Kazuya Takami
21
  * @since 1.0.0
22
- * @version 3.0.2
23
  */
24
  class Structuring_Markup {
25
 
@@ -27,10 +27,10 @@ class Structuring_Markup {
27
  * Variable definition.
28
  *
29
  * @since 1.3.0
30
- * @version 3.0.2
31
  */
32
  private $text_domain = 'wp-structuring-markup';
33
- private $version = '3.0.2';
34
 
35
  /**
36
  * Constructor Define.
3
  Plugin Name: Markup (JSON-LD) structured in schema.org
4
  Plugin URI: https://wordpress.org/plugins/wp-structuring-markup/
5
  Description: Allows you to include schema.org JSON-LD syntax markup on your website
6
+ Version: 3.0.3
7
  Author: Kazuya Takami
8
  Author URI: http://programp.com/
9
  License: GPLv2 or later
19
  *
20
  * @author Kazuya Takami
21
  * @since 1.0.0
22
+ * @version 3.0.3
23
  */
24
  class Structuring_Markup {
25
 
27
  * Variable definition.
28
  *
29
  * @since 1.3.0
30
+ * @version 3.0.3
31
  */
32
  private $text_domain = 'wp-structuring-markup';
33
+ private $version = '3.0.3';
34
 
35
  /**
36
  * Constructor Define.