From 6f1b702d617bb2f2000a7a2d81345d5b678ab81d Mon Sep 17 00:00:00 2001 From: Akshay Urankar Date: Tue, 15 Oct 2024 10:44:49 +0530 Subject: [PATCH 1/2] resolved Product image schema error in Product schema --- README.md | 3 +++ functions.php | 5 +++++ readme.txt | 3 +++ 3 files changed, 11 insertions(+) diff --git a/README.md b/README.md index acd79e3..504e792 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,9 @@ Review, Event, People, Product, Recipe, Software Application, Video, Articles et ## Changelog ## +### 1.6.10.1 ### +- Fixed: Product image schema error in Product schema. + ### 1.6.10 ### - Fixed: Corrected the uploadDate format as per ISO 8601 standards with timezone. - Fixed: Resolved url redirect issue for Test Rich Snippets button. diff --git a/functions.php b/functions.php index da9cf3d..79c4753 100644 --- a/functions.php +++ b/functions.php @@ -617,6 +617,11 @@ function display_rich_snippet( $content ) { $product .= '' . average_rating() . ''; $product .= ' based on ' . rating_count() . ' votes
'; + $product .= '
'; + $product .= ''; + $product .= ''; + $product .= '
'; + if ( '' != trim( $product_brand ) ) { if ( '' != $args_product['product_brand'] ) { $product .= '
' . esc_attr( stripslashes( $args_product['product_brand'] ) ) . '
'; diff --git a/readme.txt b/readme.txt index a79bdb1..86dc93f 100644 --- a/readme.txt +++ b/readme.txt @@ -80,6 +80,9 @@ Review, Event, People, Product, Recipe, Software Application, Video, Articles et == Changelog == += 1.6.10.1 = +- Fixed: Product image schema error in Product schema. + = 1.6.10 = - Fixed: Corrected the uploadDate format as per ISO 8601 standards with timezone. - Fixed: Resolved url redirect issue for Test Rich Snippets button. From db7f1b4d8b87aabbf243a71d8f34287b5b89606f Mon Sep 17 00:00:00 2001 From: Akshay Urankar Date: Tue, 15 Oct 2024 10:53:40 +0530 Subject: [PATCH 2/2] added changelog --- README.md | 3 +++ readme.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index c00af85..46b7275 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,9 @@ Review, Event, People, Product, Recipe, Software Application, Video, Articles et ## Changelog ## +### 1.6.11.1 ### +- Fixed: Product image schema error in Product schema. + ### 1.6.11 ### - Fixed: Improved code quality syntax and security checks for better coding standards and practices. - Fixed: Recipe - Author type fix. diff --git a/readme.txt b/readme.txt index 856fea6..e84d695 100644 --- a/readme.txt +++ b/readme.txt @@ -80,6 +80,9 @@ Review, Event, People, Product, Recipe, Software Application, Video, Articles et == Changelog == += 1.6.11.1 = +- Fixed: Product image schema error in Product schema. + = 1.6.11 = - Fixed: Improved code quality syntax and security checks for better coding standards and practices. - Fixed: Recipe - Author type fix.