Version Description
Download this release
Release Info
Developer | creativethemeshq |
Plugin | Blocksy Companion |
Version | 1.7.53 |
Comparing to | |
See all releases |
Code changes from version 1.7.52 to 1.7.53
- blocksy-companion.php +1 -1
- framework/extensions/cookies-consent/static/bundle/main.css +1 -1
- framework/extensions/mailchimp/ct-mailchimp/options.php +13 -1
- framework/extensions/mailchimp/ct-mailchimp/view.php +11 -2
- framework/extensions/mailchimp/static/bundle/main.css +2 -2
- framework/extensions/mailchimp/static/sass/widget.scss +7 -10
- framework/extensions/product-reviews/static/bundle/main-admin.css +1 -1
- framework/extensions/product-reviews/static/bundle/main.css +1 -1
- framework/extensions/widgets/static/bundle/main.css +1 -1
- framework/features/demo-install/install-finish.php +3 -0
- framework/features/demo-install/options-import.php +1 -1
- framework/theme-integration.php +1 -0
- framework/views/blocksy-posts.php +1 -2
- readme.txt +10 -1
- static/bundle/dashboard.css +1 -1
- static/bundle/options.css +1 -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.7.
|
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.7.53
|
7 |
Author: CreativeThemes
|
8 |
Author URI: https://creativethemes.com
|
9 |
Text Domain: blc
|
framework/extensions/cookies-consent/static/bundle/main.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
framework/extensions/mailchimp/ct-mailchimp/options.php
CHANGED
@@ -95,10 +95,22 @@ $options = [
|
|
95 |
'disableRevertButton' => true,
|
96 |
],
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
'mailchimp_alignment' => [
|
99 |
'type' => 'ct-radio',
|
100 |
'label' => __( 'Content Alignment', 'blc' ),
|
101 |
-
'value' => '
|
102 |
'view' => 'text',
|
103 |
'design' => 'inline',
|
104 |
'attr' => [ 'data-type' => 'alignment' ],
|
95 |
'disableRevertButton' => true,
|
96 |
],
|
97 |
|
98 |
+
'mailchimp_container' => [
|
99 |
+
'label' => __( 'Container Type', 'blc' ),
|
100 |
+
'type' => 'ct-select',
|
101 |
+
'value' => 'default',
|
102 |
+
'design' => 'inline',
|
103 |
+
'disableRevertButton' => true,
|
104 |
+
'choices' => [
|
105 |
+
'default' => __( 'Default', 'blc' ),
|
106 |
+
'boxed' => __( 'Boxed', 'blc' ),
|
107 |
+
],
|
108 |
+
],
|
109 |
+
|
110 |
'mailchimp_alignment' => [
|
111 |
'type' => 'ct-radio',
|
112 |
'label' => __( 'Content Alignment', 'blc' ),
|
113 |
+
'value' => 'left',
|
114 |
'view' => 'text',
|
115 |
'design' => 'inline',
|
116 |
'attr' => [ 'data-type' => 'alignment' ],
|
framework/extensions/mailchimp/ct-mailchimp/view.php
CHANGED
@@ -45,8 +45,17 @@ if ($has_gdpr_fields) {
|
|
45 |
$skip_submit_output = 'data-skip-submit';
|
46 |
}
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
// Content alignment
|
49 |
-
$alignment = blocksy_default_akg( 'mailchimp_alignment', $atts, '
|
50 |
|
51 |
$name_label = blocksy_default_akg('mailchimp_name_label', $atts, __( 'Your name', 'blc' ));
|
52 |
$email_label = blocksy_default_akg('mailchimp_mail_label', $atts, __( 'Your email', 'blc' ));
|
@@ -60,7 +69,7 @@ if ( $alignment !== 'left' ) {
|
|
60 |
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
61 |
echo $before_widget;
|
62 |
|
63 |
-
echo '<div class="ct-widget-inner"' . $data_alignment . '>';
|
64 |
|
65 |
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
66 |
echo $before_title . wp_kses_post( $title ) . $after_title;
|
45 |
$skip_submit_output = 'data-skip-submit';
|
46 |
}
|
47 |
|
48 |
+
// container type
|
49 |
+
$container = blocksy_default_akg( 'mailchimp_container', $atts, 'default' );
|
50 |
+
|
51 |
+
$data_container = '';
|
52 |
+
|
53 |
+
if ( $container !== 'default' ) {
|
54 |
+
$data_container = ' data-container=' . $container;
|
55 |
+
}
|
56 |
+
|
57 |
// Content alignment
|
58 |
+
$alignment = blocksy_default_akg( 'mailchimp_alignment', $atts, 'left' );
|
59 |
|
60 |
$name_label = blocksy_default_akg('mailchimp_name_label', $atts, __( 'Your name', 'blc' ));
|
61 |
$email_label = blocksy_default_akg('mailchimp_mail_label', $atts, __( 'Your email', 'blc' ));
|
69 |
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
70 |
echo $before_widget;
|
71 |
|
72 |
+
echo '<div class="ct-widget-inner"' . $data_alignment . '' . $data_container . '>';
|
73 |
|
74 |
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
75 |
echo $before_title . wp_kses_post( $title ) . $after_title;
|
framework/extensions/mailchimp/static/bundle/main.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
8 |
-
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
6 |
*/
|
7 |
|
8 |
+
.ct-widget-inner[data-alignment="center"]{text-align:center}.ct-widget-inner[data-alignment="right"]{text-align:right}.ct-widget-inner[data-container="boxed"]{padding:30px;background:#fff;border-radius:3px;box-shadow:0px 12px 18px -6px rgba(34,56,101,0.04)}.ct-mailchimp-widget-form .ct-mailchimp-description:not(:empty){margin-bottom:10px}.ct-mailchimp-widget-form>*:not(:first-child){margin-top:10px}.ct-mailchimp-widget-form button{width:100%}.ct-mailchimp-widget-form .gdpr-confirm-policy{--display: inline-flex;--contentSpacing: 0;margin-top:20px}.ct-mailchimp-block{margin-top:60px;text-align:center;color:var(--color);padding:var(--padding);background:var(--backgroundColor);box-shadow:var(--box-shadow);--linkInitialColor: var(--color)}.ct-mailchimp-block>*:first-child{margin-top:20px}.ct-mailchimp-block>*:last-child{margin-bottom:20px}.ct-mailchimp-block>h3{--fontSize: 25px}.ct-mailchimp-block .ct-mailchimp-description:not(:empty){margin-bottom:30px}.ct-mailchimp-block form{max-width:550px;margin:0 auto}@media (min-width: 690px){.ct-mailchimp-block form{width:85%}}.ct-mailchimp-block form button{--buttonMinHeight: var(--formInputHeight);--padding: 0 15px;width:100%}.ct-mailchimp-block form [data-fields]{display:grid;grid-column-gap:15px;grid-row-gap:15px}@media (min-width: 690px){.ct-mailchimp-block form [data-fields="1"]{grid-template-columns:65% 1fr}}@media (min-width: 690px){.ct-mailchimp-block form [data-fields="2"]{grid-template-columns:32.5% 32.5% 1fr}}.ct-mailchimp-block .ct-mailchimp-message,.ct-mailchimp-block .gdpr-confirm-policy{margin-top:15px;--contentSpacing: 0}form[class*="ct-mailchimp"] .button{--buttonFontWeight: 600}.ct-mailchimp-message{display:none;font-size:16px}.ct-mailchimp-message a{text-decoration:underline}.subscribe-error .ct-mailchimp-message{display:block;font-size:14px;color:#e42b2b}.subscribe-success button.button,.subscribe-success input[type="text"],.subscribe-success input[type="email"],.subscribe-success .gdpr-confirm-policy,.subscribe-success .ct-mailchimp-description{display:none}.subscribe-success .ct-mailchimp-message{display:block}
|
framework/extensions/mailchimp/static/sass/widget.scss
CHANGED
@@ -1,13 +1,3 @@
|
|
1 |
-
aside[data-type="type-1"] {
|
2 |
-
.ct-mailchimp-widget {
|
3 |
-
padding: 30px;
|
4 |
-
background: #fff;
|
5 |
-
border-radius: 3px;
|
6 |
-
box-shadow: 0px 12px 18px -6px rgba(34, 56, 101, 0.04);
|
7 |
-
}
|
8 |
-
}
|
9 |
-
|
10 |
-
// alignment
|
11 |
.ct-widget-inner {
|
12 |
&[data-alignment="center"] {
|
13 |
text-align: center;
|
@@ -16,6 +6,13 @@ aside[data-type="type-1"] {
|
|
16 |
&[data-alignment="right"] {
|
17 |
text-align: right;
|
18 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
|
21 |
.ct-mailchimp-widget-form {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.ct-widget-inner {
|
2 |
&[data-alignment="center"] {
|
3 |
text-align: center;
|
6 |
&[data-alignment="right"] {
|
7 |
text-align: right;
|
8 |
}
|
9 |
+
|
10 |
+
&[data-container="boxed"] {
|
11 |
+
padding: 30px;
|
12 |
+
background: #fff;
|
13 |
+
border-radius: 3px;
|
14 |
+
box-shadow: 0px 12px 18px -6px rgba(34, 56, 101, 0.04);
|
15 |
+
}
|
16 |
}
|
17 |
|
18 |
.ct-mailchimp-widget-form {
|
framework/extensions/product-reviews/static/bundle/main-admin.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
framework/extensions/widgets/static/bundle/main.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
framework/features/demo-install/install-finish.php
CHANGED
@@ -33,6 +33,9 @@ class DemoInstallFinalActions {
|
|
33 |
|
34 |
$this->handle_brizy_posts();
|
35 |
|
|
|
|
|
|
|
36 |
Plugin::instance()->demo->emit_sse_message([
|
37 |
'action' => 'complete',
|
38 |
'error' => false,
|
33 |
|
34 |
$this->handle_brizy_posts();
|
35 |
|
36 |
+
global $wp_rewrite;
|
37 |
+
$wp_rewrite->flush_rules();
|
38 |
+
|
39 |
Plugin::instance()->demo->emit_sse_message([
|
40 |
'action' => 'complete',
|
41 |
'error' => false,
|
framework/features/demo-install/options-import.php
CHANGED
@@ -333,7 +333,7 @@ class DemoInstallOptionsInstaller {
|
|
333 |
|
334 |
private function is_image_url($string = '') {
|
335 |
if (is_string($string)) {
|
336 |
-
if (preg_match('/\.(jpg|jpeg|png|gif)/i', $string)) {
|
337 |
return true;
|
338 |
}
|
339 |
}
|
333 |
|
334 |
private function is_image_url($string = '') {
|
335 |
if (is_string($string)) {
|
336 |
+
if (preg_match('/\.(jpg|jpeg|png|gif|svg)/i', $string)) {
|
337 |
return true;
|
338 |
}
|
339 |
}
|
framework/theme-integration.php
CHANGED
@@ -13,6 +13,7 @@ class ThemeIntegration {
|
|
13 |
|
14 |
// post_date | comment_count
|
15 |
'orderby' => 'post_date',
|
|
|
16 |
|
17 |
// yes | no
|
18 |
'has_pagination' => 'yes',
|
13 |
|
14 |
// post_date | comment_count
|
15 |
'orderby' => 'post_date',
|
16 |
+
'order' => 'DESC',
|
17 |
|
18 |
// yes | no
|
19 |
'has_pagination' => 'yes',
|
framework/views/blocksy-posts.php
CHANGED
@@ -13,7 +13,7 @@ if (get_query_var('paged')) {
|
|
13 |
}
|
14 |
|
15 |
$query_args = [
|
16 |
-
'order' => '
|
17 |
'ignore_sticky_posts' => true,
|
18 |
'post_type' => $args['post_type'],
|
19 |
'orderby' => $args['orderby'],
|
@@ -46,7 +46,6 @@ if (isset($args['term_ids']) && $args['term_ids']) {
|
|
46 |
];
|
47 |
}
|
48 |
|
49 |
-
|
50 |
$query_args['tax_query'] = $tax_query;
|
51 |
}
|
52 |
|
13 |
}
|
14 |
|
15 |
$query_args = [
|
16 |
+
'order' => $args['order'],
|
17 |
'ignore_sticky_posts' => true,
|
18 |
'post_type' => $args['post_type'],
|
19 |
'orderby' => $args['orderby'],
|
46 |
];
|
47 |
}
|
48 |
|
|
|
49 |
$query_args['tax_query'] = $tax_query;
|
50 |
}
|
51 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Requires PHP: 7.0
|
|
5 |
Tested up to: 5.6
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
-
Stable tag: 1.7.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -23,6 +23,15 @@ 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.7.52: 2021-01-25
|
27 |
- New: Add term filtering for blocksy_posts shortcode
|
28 |
|
5 |
Tested up to: 5.6
|
6 |
License: GPLv2 or later
|
7 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
8 |
+
Stable tag: 1.7.54
|
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.7.54: 2021-01-28
|
27 |
+
- Improvement: Improve search box when it is placed inside the middle column
|
28 |
+
- Improvement: Flush permalinks after starter site install finish
|
29 |
+
|
30 |
+
1.7.53: 2021-01-26
|
31 |
+
- New: Newsletter widget - add boxed and default container style
|
32 |
+
- Improvement: WooCommerce: improve mini cart colors
|
33 |
+
- Improvement: WooCommerce: Floating cart scroll logic for single product
|
34 |
+
|
35 |
1.7.52: 2021-01-25
|
36 |
- New: Add term filtering for blocksy_posts shortcode
|
37 |
|
static/bundle/dashboard.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
static/bundle/options.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.7.
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.7.54
|
3 |
*
|
4 |
* Copyright (c) 2021
|
5 |
* Licensed GPLv2+
|