Blocksy Companion - Version 1.8.9.1

Version Description

Download this release

Release Info

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

Code changes from version 1.8.9 to 1.8.9.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.9
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.9.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.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.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.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.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.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.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.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
framework/extensions/trending/customizer.php CHANGED
@@ -116,7 +116,31 @@ $options = [
116
  'design' => 'inline',
117
  'value' => __( 'Trending now', 'blc' ),
118
  'sync' => 'live',
119
- 'divider' => 'bottom'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  ],
121
 
122
  'trending_block_post_type' => count($all_post_types) > 1 ? [
116
  'design' => 'inline',
117
  'value' => __( 'Trending now', 'blc' ),
118
  'sync' => 'live',
119
+ ],
120
+
121
+ 'trending_block_label_tag' => [
122
+ 'label' => __( 'Module Title Tag', 'blc' ),
123
+ 'type' => 'ct-select',
124
+ 'value' => 'h3',
125
+ 'view' => 'text',
126
+ 'design' => 'inline',
127
+ 'divider' => 'bottom:full',
128
+ 'choices' => blocksy_ordered_keys(
129
+ [
130
+ 'h1' => 'H1',
131
+ 'h2' => 'H2',
132
+ 'h3' => 'H3',
133
+ 'h4' => 'H4',
134
+ 'h5' => 'H5',
135
+ 'h6' => 'H6',
136
+ ]
137
+ ),
138
+ 'sync' => [
139
+ 'selector' => '.ct-trending-block',
140
+ 'render' => function () {
141
+ echo blc_get_trending_block();
142
+ }
143
+ ]
144
  ],
145
 
146
  'trending_block_post_type' => count($all_post_types) > 1 ? [
framework/extensions/trending/helpers.php CHANGED
@@ -211,6 +211,8 @@ function blc_get_trending_block($forced = false) {
211
  $attr['data-location'] = 'trending_posts_ext';
212
  }
213
 
 
 
214
  $trending_label = get_theme_mod(
215
  'trending_block_label',
216
  __('Trending now', 'blc')
@@ -220,7 +222,7 @@ function blc_get_trending_block($forced = false) {
220
 
221
  <section <?php echo blocksy_attr_to_html($attr) ?>>
222
  <div class="ct-container" <?php echo $data_page ?>>
223
- <h5 class="ct-block-title">
224
  <?php echo $trending_label ?>
225
 
226
  <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline></svg>
@@ -232,7 +234,7 @@ function blc_get_trending_block($forced = false) {
232
  <span class="ct-arrow-right">
233
  </span>
234
  <?php } ?>
235
- </h5>
236
 
237
  <?php
238
  foreach ($result['posts'] as $post) {
211
  $attr['data-location'] = 'trending_posts_ext';
212
  }
213
 
214
+ $label_tag = get_theme_mod('trending_block_label_tag', 'h3');
215
+
216
  $trending_label = get_theme_mod(
217
  'trending_block_label',
218
  __('Trending now', 'blc')
222
 
223
  <section <?php echo blocksy_attr_to_html($attr) ?>>
224
  <div class="ct-container" <?php echo $data_page ?>>
225
+ <<?php echo $label_tag ?> class="ct-block-title">
226
  <?php echo $trending_label ?>
227
 
228
  <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline></svg>
234
  <span class="ct-arrow-right">
235
  </span>
236
  <?php } ?>
237
+ </<?php echo $label_tag ?>>
238
 
239
  <?php
240
  foreach ($result['posts'] as $post) {
framework/extensions/trending/static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.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.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
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.9
9
 
10
  == Description ==
11
 
@@ -23,6 +23,9 @@ 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.9: 2021-09-21
27
  - Improvement: Customizer export/import functionality
28
 
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.9.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.9.1: 2021-09-30
27
+ - New: Trending posts module title option to change wrapper tag
28
+
29
  1.8.9: 2021-09-21
30
  - Improvement: Customizer export/import functionality
31
 
static/bundle/dashboard.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
static/bundle/main.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
static/bundle/options.min.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * - v1.8.9
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+
1
  /**
2
+ * - v1.8.9.1
3
  *
4
  * Copyright (c) 2021
5
  * Licensed GPLv2+