Blocksy Companion - Version 1.8.8.1

Version Description

Download this release

Release Info

Developer creativethemeshq
Plugin Icon wp plugin Blocksy Companion
Version 1.8.8.1
Comparing to
See all releases

Code changes from version 1.8.8 to 1.8.8.1

blocksy-companion.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
- Version: 1.8.8
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blc
3
  /*
4
  Plugin Name: Blocksy Companion
5
  Description: This plugin is the companion for the Blocksy theme, it runs and adds its enhacements only if the Blocksy theme is installed and active.
6
+ Version: 1.8.8.1
7
  Author: CreativeThemes
8
  Author URI: https://creativethemes.com
9
  Text Domain: blc
framework/extensions/cookies-consent/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/newsletter-subscribe/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main-admin.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/product-reviews/views/single-top.php CHANGED
@@ -105,7 +105,7 @@ if (! empty($scores)) {
105
 
106
  echo '</ul>';
107
 
108
- echo '<div class="ct-overall-score">';
109
 
110
  $avg_score = apply_filters(
111
  'blocksy:ext:product-reviews:overall-score',
@@ -115,7 +115,7 @@ if (! empty($scores)) {
115
  $scores
116
  );
117
 
118
- echo '<span class="ct-average-score">' . $avg_score . '/5</span>';
119
 
120
  echo '<div class="star-rating" role="img">';
121
  $width = ( ( $avg_score / 5 ) * 100 );
105
 
106
  echo '</ul>';
107
 
108
+ echo '<div class="ct-overall-score" ' . blocksy_schema_org_definitions('reviewRating') . '>';
109
 
110
  $avg_score = apply_filters(
111
  'blocksy:ext:product-reviews:overall-score',
115
  $scores
116
  );
117
 
118
+ echo '<span class="ct-average-score" ' . blocksy_schema_org_definitions('ratingValue') . '>' . $avg_score . '/5</span>';
119
 
120
  echo '<div class="star-rating" role="img">';
121
  $width = ( ( $avg_score / 5 ) * 100 );
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/widgets/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/features/header.php CHANGED
@@ -201,8 +201,10 @@ class HeaderAdditions {
201
  }
202
 
203
  $args['has_transparent_header'] = $this->current_screen_has_transparent(
204
- $check_transparent_conditions
 
205
  );
 
206
  $args['has_sticky_header'] = $this->current_screen_has_sticky($args['section_id']);
207
 
208
  return $args;
@@ -286,7 +288,7 @@ class HeaderAdditions {
286
  );
287
  }
288
 
289
- public function current_screen_has_transparent($check_conditions = true) {
290
  if (
291
  true
292
  ||
@@ -294,7 +296,9 @@ class HeaderAdditions {
294
  ||
295
  ! $check_conditions
296
  ) {
297
- $current_section = blocksy_manager()->header_builder->get_current_section();
 
 
298
 
299
  if (! isset($current_section['settings'])) {
300
  $current_section['settings'] = [];
201
  }
202
 
203
  $args['has_transparent_header'] = $this->current_screen_has_transparent(
204
+ $check_transparent_conditions,
205
+ $args['section_id']
206
  );
207
+
208
  $args['has_sticky_header'] = $this->current_screen_has_sticky($args['section_id']);
209
 
210
  return $args;
288
  );
289
  }
290
 
291
+ public function current_screen_has_transparent($check_conditions = true, $current_section_id = null) {
292
  if (
293
  true
294
  ||
296
  ||
297
  ! $check_conditions
298
  ) {
299
+ $current_section = blocksy_manager()->header_builder->get_current_section(
300
+ $current_section_id
301
+ );
302
 
303
  if (! isset($current_section['settings'])) {
304
  $current_section['settings'] = [];
framework/views/blocksy-posts.php CHANGED
@@ -85,10 +85,11 @@ if (
85
  }
86
 
87
  if (count($to_include) > 1) {
88
- $tax_query[] = $to_include;
89
  }
 
90
  if (count($to_exclude) > 1) {
91
- $tax_query[] = $to_exclude;
92
  }
93
 
94
  $query_args['tax_query'] = $tax_query;
85
  }
86
 
87
  if (count($to_include) > 1) {
88
+ $tax_query = array_merge($to_include, $tax_query);
89
  }
90
+
91
  if (count($to_exclude) > 1) {
92
+ $tax_query = array_merge($to_exclude, $tax_query);
93
  }
94
 
95
  $query_args['tax_query'] = $tax_query;
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires PHP: 7.0
5
  Tested up to: 5.8
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Stable tag: 1.8.8
9
 
10
  == Description ==
11
 
@@ -23,6 +23,10 @@ It runs and adds its enhancements only if the Blocksy theme is installed and act
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
 
 
 
 
26
  1.8.8: 2021-08-20
27
  - New: Random order for posts widget
28
  - Fix: Trending module products category source
5
  Tested up to: 5.8
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Stable tag: 1.8.8.1
9
 
10
  == Description ==
11
 
23
  2. Activate the plugin by going to **Plugins** page in WordPress admin and clicking on **Activate** link.
24
 
25
  == Changelog ==
26
+ 1.8.8.1: 2021-08-23
27
+ - New: Schema org markup for product reviews
28
+ - Fix: Handle missing plugin in starter sites installer
29
+
30
  1.8.8: 2021-08-20
31
  - New: Random order for posts widget
32
  - Fix: Trending module products category source
static/bundle/dashboard.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
static/bundle/options.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.8
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.8.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+