From 8fe78eb7e3f13a2226aa40babed7d13f77a28c99 Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 6 Sep 2022 09:39:39 +0200 Subject: [PATCH 1/2] Fix product star rating --- css/swiper-style.css | 46 +--------------------------- templates/sc-swiper-card-product.php | 2 +- 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/css/swiper-style.css b/css/swiper-style.css index dcedb86..3a45795 100644 --- a/css/swiper-style.css +++ b/css/swiper-style.css @@ -27,48 +27,4 @@ .heroes-fade .swiper-pagination-bullet-active { background: var(--bs-white); } -/* Heroes END */ - -/* Products */ -.products .card .star-rating, -.card .star-rating { - float: none; - margin: 1rem auto; -} - -.product-card .star-rating { - float: right; - overflow: hidden; - position: relative; - height: 1em; - line-height: 1; - font-size: 1em; - width: 5.4em; - font-family: star; -} - -.product-card .star-rating::before { - content: "\73\73\73\73\73"; - color: var(--bs-gray); - float: left; - top: 0; - left: 0; - position: absolute; -} - -.product-card .star-rating span { - overflow: hidden; - float: left; - top: 0; - left: 0; - position: absolute; - padding-top: 1.5em; -} - -.product-card .star-rating span::before { - content: "\53\53\53\53\53"; - top: 0; - position: absolute; - left: 0; -} -/* Products END */ \ No newline at end of file +/* Heroes END */ \ No newline at end of file diff --git a/templates/sc-swiper-card-product.php b/templates/sc-swiper-card-product.php index acd2ee4..a2b1806 100644 --- a/templates/sc-swiper-card-product.php +++ b/templates/sc-swiper-card-product.php @@ -41,7 +41,7 @@ function bootscore_product_slider($atts) { -
+
From 33abc7f5c990c9b8fa366b6dc689add758e5b63a Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 6 Sep 2022 11:55:53 +0200 Subject: [PATCH 2/2] Update version --- main.php | 2 +- readme.txt | 8 ++++++-- templates/sc-swiper-card-product.php | 2 +- update/plugin.json | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/main.php b/main.php index 253c44b..abbcda8 100644 --- a/main.php +++ b/main.php @@ -2,7 +2,7 @@ /*Plugin Name: bS Swiper Plugin URI: https://bootscore.me/plugins/bs-swiper/ Description: Plugin to show posts, pages, custom post types or WooCommerce products in a swiper.js carousel for bootScore theme. Documentation | Changelog -Version: 5.1.0.5 +Version: 5.1.0.6 Author: bootScore Author URI: https://bootscore.me License: MIT License diff --git a/readme.txt b/readme.txt index 85e9ac7..355dd1e 100644 --- a/readme.txt +++ b/readme.txt @@ -3,9 +3,9 @@ Contributors: Bastian Kreiter, torricelli Requires at least: 4.5 -Tested up to: 6.0 +Tested up to: 6.0.2 Requires PHP: 5.6 -Stable tag: 5.1.0.4 +Stable tag: 5.1.0.6 License: MIT License License URI: https://github.com/bootscore/bs-swiper/blob/main/LICENSE @@ -108,6 +108,10 @@ Plugin to show posts, pages, custom post types or WooCommerce products in a swip == Changelog == + = 5.1.0.6 - September 06 2022 = + + * [IMPROVEMENT] Fix product star rating + = 5.1.0.5 - July 27 2022 = * [UPDATE] Swiper 8.3.2 diff --git a/templates/sc-swiper-card-product.php b/templates/sc-swiper-card-product.php index a2b1806..598c238 100644 --- a/templates/sc-swiper-card-product.php +++ b/templates/sc-swiper-card-product.php @@ -7,7 +7,7 @@ * * @author Bastian Kreiter * @package bS Product Slider - * @version 5.1.0.0 + * @version 5.1.0.6 Product Slider Shortcode [bs-swiper-card-product order="DESC" orderby="date" posts="12" category="theme, child-themes, free, plugins"] diff --git a/update/plugin.json b/update/plugin.json index 8ea9f78..166a8a9 100644 --- a/update/plugin.json +++ b/update/plugin.json @@ -1,8 +1,8 @@ { "name" : "bS Swiper", - "version" : "5.1.0.5", - "download_url" : "https://github.com/bootscore/bs-swiper/releases/download/v5.1.0.5/bs-swiper-main.zip", + "version" : "5.1.0.6", + "download_url" : "https://github.com/bootscore/bs-swiper/releases/download/v5.1.0.6/bs-swiper-main.zip", "sections" : { - "description" : "Update Swiper 8.3.2" + "description" : "Fix product star rating" } } \ No newline at end of file