From 136b9e5ff453eb5858a0b89f5992f33ac95d1c0e Mon Sep 17 00:00:00 2001 From: craftwerk Date: Sat, 31 Aug 2024 20:08:30 +0200 Subject: [PATCH 01/12] Added container filter to hero templates --- templates/sc-swiper-hero-fade.php | 4 ++-- templates/sc-swiper-hero.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index df17eb4..7c9e738 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -8,7 +8,7 @@ * * @author Bootscore * @package bs Swiper - * @version 5.7.2 + * @version 5.9.0 * * Posts: * [bs-swiper-hero-fade type="post" category="cars, boats" order="ASC" orderby="date" posts="6"] @@ -108,7 +108,7 @@ function bootscore_swiper_hero_fade($atts) {
-
+
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index 5cc0392..40038b0 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -8,7 +8,7 @@ * * @author Bootscore * @package bs Swiper - * @version 5.7.2 + * @version 5.9.0 * * Posts: * [bs-swiper-hero type="post" category="cars, boats" order="ASC" orderby="date" posts="6"] @@ -108,7 +108,7 @@ function bootscore_swiper_hero($atts) {
-
+
From b5fdd64e5fb589b1c0bacbcec16409628eb7dfa5 Mon Sep 17 00:00:00 2001 From: craftwerk Date: Sat, 31 Aug 2024 20:25:10 +0200 Subject: [PATCH 02/12] Added filter to bottom spacer --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index 7c9e738..10a06eb 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -95,7 +95,7 @@ function bootscore_swiper_hero_fade($atts) { -
+
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index 40038b0..d5adbf3 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -95,7 +95,7 @@ function bootscore_swiper_hero($atts) { -
+
From e0f8c3faabc3ded87a9d8db32473d7de90440b80 Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 10:30:22 +0200 Subject: [PATCH 03/12] Rename spacer filter to swiper-container --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index 10a06eb..317d6ad 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -95,7 +95,7 @@ function bootscore_swiper_hero_fade($atts) { -
+
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index d5adbf3..c3716f0 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -95,7 +95,7 @@ function bootscore_swiper_hero($atts) { -
+
From 1b60466736b2eca42bcac1272e3b7b73ea1c623f Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 10:45:55 +0200 Subject: [PATCH 04/12] Added a filter to hero images --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index 317d6ad..f9afe56 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -104,7 +104,7 @@ function bootscore_swiper_hero_fade($atts) {
- 'swiper-hero-img')); ?> + 'swiper-hero-img ' . apply_filters('bootscore/bs-swiper/class/swiper-hero-image', '', 'bs-swiper-hero-fade'))); ?>
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index c3716f0..a48a506 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -104,7 +104,7 @@ function bootscore_swiper_hero($atts) {
- 'swiper-hero-img')); ?> + 'swiper-hero-img ' . apply_filters('bootscore/bs-swiper/class/swiper-hero-image', '', 'bs-swiper-hero'))); ?>
From 0696379f142b9add2199f05c0e0773bc29665f1e Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 10:55:39 +0200 Subject: [PATCH 05/12] Add filter to overlay --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index f9afe56..6e85710 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -106,7 +106,7 @@ function bootscore_swiper_hero_fade($atts) { 'swiper-hero-img ' . apply_filters('bootscore/bs-swiper/class/swiper-hero-image', '', 'bs-swiper-hero-fade'))); ?> -
+
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index a48a506..5e4804b 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -106,7 +106,7 @@ function bootscore_swiper_hero($atts) { 'swiper-hero-img ' . apply_filters('bootscore/bs-swiper/class/swiper-hero-image', '', 'bs-swiper-hero'))); ?> -
+
From a6f6536ecbb49fff88cfbce0142d2cf22c75e57b Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 19:23:46 +0200 Subject: [PATCH 06/12] Fix container class --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index 6e85710..b950360 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -108,7 +108,7 @@ function bootscore_swiper_hero_fade($atts) {
-
+
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index 5e4804b..4eeb13b 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -108,7 +108,7 @@ function bootscore_swiper_hero($atts) {
-
+
From b5f7fab21c14ae02135656d016b112ba37426ecf Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 19:30:35 +0200 Subject: [PATCH 07/12] Add filter to caption --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index b950360..e61f69b 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -110,7 +110,7 @@ function bootscore_swiper_hero_fade($atts) {
-
+
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index 4eeb13b..538051d 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -110,7 +110,7 @@ function bootscore_swiper_hero($atts) {
-
+
From 0c2281f4622bbf7d634b4f3dc997e4a8763320db Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 19:37:04 +0200 Subject: [PATCH 08/12] Added a filter to heading --- templates/sc-swiper-hero-fade.php | 2 +- templates/sc-swiper-hero.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index e61f69b..5119e5e 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -117,7 +117,7 @@ function bootscore_swiper_hero_fade($atts) { -

+

diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index 538051d..cc43656 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -117,7 +117,7 @@ function bootscore_swiper_hero($atts) { -

+

From f4166e0bfe72ce5febd3835f07fa618911595dc5 Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 19:53:12 +0200 Subject: [PATCH 09/12] Add filters to heading, excerpt and button --- templates/sc-swiper-hero-fade.php | 6 +++--- templates/sc-swiper-hero.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index 5119e5e..b9130e9 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -118,7 +118,7 @@ function bootscore_swiper_hero_fade($atts) {

- +

@@ -126,14 +126,14 @@ function bootscore_swiper_hero_fade($atts) {

- +

- +

diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index cc43656..bee6c4b 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -118,7 +118,7 @@ function bootscore_swiper_hero($atts) {

- +

@@ -126,14 +126,14 @@ function bootscore_swiper_hero($atts) {

- +

- +

From f14562100a66b9b9c685cece0dd4508979161d25 Mon Sep 17 00:00:00 2001 From: craftwerk Date: Tue, 3 Sep 2024 19:59:39 +0200 Subject: [PATCH 10/12] Removed useless comments --- templates/sc-swiper-hero-fade.php | 6 ------ templates/sc-swiper-hero.php | 8 +------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/templates/sc-swiper-hero-fade.php b/templates/sc-swiper-hero-fade.php index b9130e9..4b74c42 100644 --- a/templates/sc-swiper-hero-fade.php +++ b/templates/sc-swiper-hero-fade.php @@ -93,7 +93,6 @@ function bootscore_swiper_hero_fade($atts) { $query = new WP_Query($options); if ($query->have_posts()) { ?> -
@@ -103,7 +102,6 @@ function bootscore_swiper_hero_fade($atts) {
- 'swiper-hero-img ' . apply_filters('bootscore/bs-swiper/class/swiper-hero-image', '', 'bs-swiper-hero-fade'))); ?>
@@ -116,14 +114,12 @@ function bootscore_swiper_hero_fade($atts) { -

-

@@ -136,7 +132,6 @@ function bootscore_swiper_hero_fade($atts) {

- @@ -159,7 +154,6 @@ function bootscore_swiper_hero_fade($atts) {
-
diff --git a/templates/sc-swiper-hero.php b/templates/sc-swiper-hero.php index bee6c4b..237c8b0 100644 --- a/templates/sc-swiper-hero.php +++ b/templates/sc-swiper-hero.php @@ -93,7 +93,6 @@ function bootscore_swiper_hero($atts) { $query = new WP_Query($options); if ($query->have_posts()) { ?> -
@@ -103,7 +102,6 @@ function bootscore_swiper_hero($atts) {
- 'swiper-hero-img ' . apply_filters('bootscore/bs-swiper/class/swiper-hero-image', '', 'bs-swiper-hero'))); ?>
@@ -116,14 +114,12 @@ function bootscore_swiper_hero($atts) { -

-

@@ -135,8 +131,7 @@ function bootscore_swiper_hero($atts) {

- - + @@ -159,7 +154,6 @@ function bootscore_swiper_hero($atts) {
-
From 21e93dac331575ccac7c05c6939b8d7fd9c0c121 Mon Sep 17 00:00:00 2001 From: craftwerk Date: Mon, 4 Nov 2024 12:24:45 +0100 Subject: [PATCH 11/12] Switch `
` to `border-top` in `related-posts.php` --- templates/related-posts.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/related-posts.php b/templates/related-posts.php index 14745d3..f6da61a 100644 --- a/templates/related-posts.php +++ b/templates/related-posts.php @@ -8,7 +8,7 @@ * * @author Bootscore * @package bs Swiper - * @version 5.8.0 + * @version 5.9.0 * */ @@ -53,8 +53,7 @@ function bootscore_related_posts() { // Check if there are related posts if ($related_cats_post->have_posts()) : ?> -