Version Description
Download this release
Release Info
Developer | creativethemeshq |
Plugin | Blocksy Companion |
Version | 1.8.38 |
Comparing to | |
See all releases |
Code changes from version 1.8.37 to 1.8.38
- blocksy-companion.php +1 -1
- framework/extensions/cookies-consent/static/bundle/main.min.css +1 -1
- framework/extensions/newsletter-subscribe/helpers.php +2 -2
- framework/extensions/newsletter-subscribe/static/bundle/main.min.css +1 -1
- framework/extensions/product-reviews/extension.php +53 -1
- framework/extensions/product-reviews/global.php +35 -0
- framework/extensions/product-reviews/static/bundle/main-admin.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/main.min.css +1 -1
- framework/extensions/product-reviews/static/bundle/sync.js +1 -1
- framework/extensions/product-reviews/static/js/sync.js +25 -0
- framework/extensions/trending/static/bundle/main.min.css +1 -1
- framework/extensions/widgets/static/bundle/main.min.css +1 -1
- framework/extensions/widgets/widgets/ct-contact-info/options.php +330 -302
- framework/extensions/widgets/widgets/ct-socials/options.php +13 -0
- framework/extensions/widgets/widgets/ct-socials/view.php +3 -2
- framework/helpers/helpers.php +28 -1
- framework/theme-integration.php +1 -0
- freemius/includes/class-freemius.php +51 -23
- freemius/includes/managers/class-fs-clone-manager.php +134 -48
- freemius/templates/connect.php +2 -2
- freemius/templates/contact.php +2 -2
- freemius/templates/forms/affiliation.php +2 -2
- languages/blocksy-companion.pot +3039 -1087
- readme.txt +6 -1
- static/bundle/account-lazy.min.css +1 -1
- static/bundle/account.js +1 -1
- static/bundle/dashboard.min.css +1 -1
- static/bundle/options.min.css +1 -1
- static/js/account.js +13 -3
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.
|
7 |
Author: CreativeThemes
|
8 |
Author URI: https://creativethemes.com
|
9 |
Text Domain: blocksy-companion
|
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.38
|
7 |
Author: CreativeThemes
|
8 |
Author URI: https://creativethemes.com
|
9 |
Text Domain: blocksy-companion
|
framework/extensions/cookies-consent/static/bundle/main.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.8.
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.8.38
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
framework/extensions/newsletter-subscribe/helpers.php
CHANGED
@@ -160,10 +160,10 @@ function blc_ext_newsletter_subscribe_output_form($args = []) {
|
|
160 |
class="ct-newsletter-subscribe-block-form" <?php echo $skip_submit_output ?>>
|
161 |
<section data-fields="<?php echo $fields_number ?>">
|
162 |
<?php if ($has_name) { ?>
|
163 |
-
<input type="text" name="FNAME" placeholder="<?php esc_attr_e($args['name_label'], 'blocksy-companion'); ?>"
|
164 |
<?php } ?>
|
165 |
|
166 |
-
<input type="email" name="EMAIL" placeholder="<?php esc_attr_e($args['email_label'], 'blocksy-companion'); ?> *"
|
167 |
|
168 |
<button class="button">
|
169 |
<?php echo esc_html($args['button_text']) ?>
|
160 |
class="ct-newsletter-subscribe-block-form" <?php echo $skip_submit_output ?>>
|
161 |
<section data-fields="<?php echo $fields_number ?>">
|
162 |
<?php if ($has_name) { ?>
|
163 |
+
<input type="text" name="FNAME" placeholder="<?php esc_attr_e($args['name_label'], 'blocksy-companion'); ?>" aria-label="<?php echo __('First name', 'blocksy-companion') ?>" />
|
164 |
<?php } ?>
|
165 |
|
166 |
+
<input type="email" name="EMAIL" placeholder="<?php esc_attr_e($args['email_label'], 'blocksy-companion'); ?> *" aria-label="<?php echo __('Email address', 'blocksy-companion') ?>" required />
|
167 |
|
168 |
<button class="button">
|
169 |
<?php echo esc_html($args['button_text']) ?>
|
framework/extensions/newsletter-subscribe/static/bundle/main.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.8.
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.8.38
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/extension.php
CHANGED
@@ -157,7 +157,7 @@ class BlocksyExtensionProductReviews {
|
|
157 |
wp_enqueue_script(
|
158 |
'blocksy-product-reviews-customizer-sync',
|
159 |
BLOCKSY_URL . 'framework/extensions/product-reviews/static/bundle/sync.js',
|
160 |
-
[ 'ct-scripts', 'customize-preview' ],
|
161 |
$data['Version'],
|
162 |
true
|
163 |
);
|
@@ -200,6 +200,58 @@ class BlocksyExtensionProductReviews {
|
|
200 |
return $layers;
|
201 |
}, 10, 2);
|
202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
add_filter('blocksy:posts-listing:archive-order:default', function ($default, $prefix) {
|
204 |
if ($prefix !== 'blc-product-review_archive') {
|
205 |
return $default;
|
157 |
wp_enqueue_script(
|
158 |
'blocksy-product-reviews-customizer-sync',
|
159 |
BLOCKSY_URL . 'framework/extensions/product-reviews/static/bundle/sync.js',
|
160 |
+
[ 'ct-scripts', 'customize-preview', 'blocksy-companion-sync-scripts' ],
|
161 |
$data['Version'],
|
162 |
true
|
163 |
);
|
200 |
return $layers;
|
201 |
}, 10, 2);
|
202 |
|
203 |
+
add_filter(
|
204 |
+
'blocksy:options:posts-listing:design:before_card_background',
|
205 |
+
function ($opts, $prefix) {
|
206 |
+
if ($prefix !== 'blc-product-review_archive') {
|
207 |
+
return $opts;
|
208 |
+
}
|
209 |
+
|
210 |
+
$opts[blocksy_rand_md5()] = [
|
211 |
+
'type' => 'ct-condition',
|
212 |
+
'condition' => [
|
213 |
+
$prefix . '_archive_order:array-ids:overall_score:enabled' => '!no'
|
214 |
+
],
|
215 |
+
'options' => [
|
216 |
+
$prefix . '_star_rating_color' => [
|
217 |
+
'label' => __( 'Star Rating Color', 'blocksy-companion' ),
|
218 |
+
'type' => 'ct-color-picker',
|
219 |
+
'design' => 'inline',
|
220 |
+
'divider' => 'top:full',
|
221 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
222 |
+
|
223 |
+
'value' => [
|
224 |
+
'default' => [
|
225 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
226 |
+
],
|
227 |
+
|
228 |
+
'inactive' => [
|
229 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT'),
|
230 |
+
],
|
231 |
+
],
|
232 |
+
|
233 |
+
'pickers' => [
|
234 |
+
[
|
235 |
+
'title' => __( 'Active', 'blocksy-companion' ),
|
236 |
+
'id' => 'default',
|
237 |
+
'inherit' => '#FDA256'
|
238 |
+
],
|
239 |
+
|
240 |
+
[
|
241 |
+
'title' => __( 'Inactive', 'blocksy-companion' ),
|
242 |
+
'id' => 'inactive',
|
243 |
+
'inherit' => '#F9DFCC'
|
244 |
+
],
|
245 |
+
],
|
246 |
+
]
|
247 |
+
]
|
248 |
+
];
|
249 |
+
|
250 |
+
return $opts;
|
251 |
+
},
|
252 |
+
10, 2
|
253 |
+
);
|
254 |
+
|
255 |
add_filter('blocksy:posts-listing:archive-order:default', function ($default, $prefix) {
|
256 |
if ($prefix !== 'blc-product-review_archive') {
|
257 |
return $default;
|
framework/extensions/product-reviews/global.php
CHANGED
@@ -89,3 +89,38 @@ blocksy_output_colors([
|
|
89 |
],
|
90 |
]);
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
],
|
90 |
]);
|
91 |
|
92 |
+
|
93 |
+
$prefix = 'blc-product-review_archive';
|
94 |
+
|
95 |
+
blocksy_output_colors([
|
96 |
+
'value' => get_theme_mod(
|
97 |
+
$prefix . '_star_rating_color',
|
98 |
+
[]
|
99 |
+
),
|
100 |
+
'default' => [
|
101 |
+
'default' => [
|
102 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT')
|
103 |
+
],
|
104 |
+
'inactive' => [
|
105 |
+
'color' => Blocksy_Css_Injector::get_skip_rule_keyword('DEFAULT')
|
106 |
+
],
|
107 |
+
],
|
108 |
+
'css' => $css,
|
109 |
+
'variables' => [
|
110 |
+
'default' => [
|
111 |
+
'selector' => blocksy_prefix_selector(
|
112 |
+
'.star-rating',
|
113 |
+
$prefix
|
114 |
+
),
|
115 |
+
'variable' => 'star-rating-initial-color'
|
116 |
+
],
|
117 |
+
|
118 |
+
'inactive' => [
|
119 |
+
'selector' => blocksy_prefix_selector(
|
120 |
+
'.star-rating',
|
121 |
+
$prefix
|
122 |
+
),
|
123 |
+
'variable' => 'star-rating-inactive-color'
|
124 |
+
],
|
125 |
+
],
|
126 |
+
]);
|
framework/extensions/product-reviews/static/bundle/main-admin.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.8.
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.8.38
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/main.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.8.
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.8.38
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
framework/extensions/product-reviews/static/bundle/sync.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(()=>{"use strict";var r={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},d:(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e)};const e=window.blocksyCustomizerSync,t=window.ctEvents;
|
1 |
+
(()=>{"use strict";var r={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},d:(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e)};const e=window.blocksyCustomizerSync,t=window.ctEvents;var o=r.n(t);function c(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),t.push.apply(t,o)}return t}function a(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?c(Object(t),!0).forEach((function(e){l(r,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}function l(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var i="blc-product-review_single";o().on("ct:customizer:sync:collect-variable-descriptors",(function(r){var t;r.result=a(a({},r.result),{},(l(t={},"".concat(i,"_product_scores_width"),{selector:(0,e.applyPrefixFor)(".ct-product-scores",i),variable:"product-scores-width",unit:"px"}),l(t,"".concat(i,"_star_rating_color"),[{selector:(0,e.applyPrefixFor)(".ct-product-scores",i),variable:"star-rating-initial-color",type:"color:default"},{selector:(0,e.applyPrefixFor)(".ct-product-scores",i),variable:"star-rating-inactive-color",type:"color:inactive"}]),l(t,"".concat(i,"_overall_score_text"),[{selector:(0,e.applyPrefixFor)(".ct-product-scores",i),variable:"overall-score-text-color",type:"color:default"}]),l(t,"".concat(i,"_overall_score_backgroud"),[{selector:(0,e.applyPrefixFor)(".ct-product-scores",i),variable:"overall-score-box-background",type:"color:default"}]),t))}));var n="blc-product-review_archive";o().on("ct:customizer:sync:collect-variable-descriptors",(function(r){r.result=a(a({},r.result),{},l({},"".concat(n,"_star_rating_color"),[{selector:(0,e.applyPrefixFor)(".star-rating",n),variable:"star-rating-initial-color",type:"color:default"},{selector:(0,e.applyPrefixFor)(".star-rating",n),variable:"star-rating-inactive-color",type:"color:inactive"}]))}))})();
|
framework/extensions/product-reviews/static/js/sync.js
CHANGED
@@ -46,3 +46,28 @@ ctEvents.on(
|
|
46 |
}
|
47 |
}
|
48 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
}
|
47 |
}
|
48 |
)
|
49 |
+
|
50 |
+
const archivePrefix = 'blc-product-review_archive'
|
51 |
+
|
52 |
+
ctEvents.on(
|
53 |
+
'ct:customizer:sync:collect-variable-descriptors',
|
54 |
+
(allVariables) => {
|
55 |
+
allVariables.result = {
|
56 |
+
...allVariables.result,
|
57 |
+
|
58 |
+
[`${archivePrefix}_star_rating_color`]: [
|
59 |
+
{
|
60 |
+
selector: applyPrefixFor('.star-rating', archivePrefix),
|
61 |
+
variable: 'star-rating-initial-color',
|
62 |
+
type: 'color:default',
|
63 |
+
},
|
64 |
+
|
65 |
+
{
|
66 |
+
selector: applyPrefixFor('.star-rating', archivePrefix),
|
67 |
+
variable: 'star-rating-inactive-color',
|
68 |
+
type: 'color:inactive',
|
69 |
+
},
|
70 |
+
],
|
71 |
+
}
|
72 |
+
}
|
73 |
+
)
|
framework/extensions/trending/static/bundle/main.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.8.
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.8.38
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
framework/extensions/widgets/static/bundle/main.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* - v1.8.
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
1 |
/**
|
2 |
+
* - v1.8.38
|
3 |
*
|
4 |
* Copyright (c) 2022
|
5 |
* Licensed GPLv2+
|
framework/extensions/widgets/widgets/ct-contact-info/options.php
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
* @package Blocksy
|
8 |
*/
|
9 |
|
|
|
10 |
|
11 |
$options = [
|
12 |
|
@@ -66,53 +67,57 @@ $options = [
|
|
66 |
'address' => [
|
67 |
'label' => __( 'Address', 'blocksy-companion' ),
|
68 |
'options' => [
|
69 |
-
|
70 |
-
'
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
'
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
'
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
'icon_source' => [
|
90 |
-
'label' => __( 'Icon Source', 'blocksy' ),
|
91 |
-
'type' => 'ct-radio',
|
92 |
-
'value' => 'default',
|
93 |
-
'view' => 'text',
|
94 |
-
'design' => 'block',
|
95 |
-
'setting' => [ 'transport' => 'postMessage' ],
|
96 |
-
'choices' => [
|
97 |
-
'default' => __( 'Default', 'blocksy' ),
|
98 |
-
'custom' => __( 'Custom', 'blocksy' ),
|
99 |
],
|
100 |
],
|
101 |
-
|
102 |
-
|
103 |
-
'
|
104 |
-
|
105 |
-
|
106 |
-
'
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
]
|
113 |
]
|
114 |
-
]
|
115 |
-
]
|
116 |
|
117 |
],
|
118 |
|
@@ -123,55 +128,58 @@ $options = [
|
|
123 |
'label' => __( 'Phone', 'blocksy-companion' ),
|
124 |
'clone' => true,
|
125 |
'options' => [
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
|
|
146 |
],
|
147 |
|
148 |
-
|
149 |
-
'
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
'
|
157 |
-
|
|
|
|
|
158 |
],
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
]
|
172 |
]
|
173 |
-
]
|
174 |
-
]
|
175 |
|
176 |
]
|
177 |
],
|
@@ -180,54 +188,58 @@ $options = [
|
|
180 |
'label' => __( 'Mobile', 'blocksy-companion' ),
|
181 |
'clone' => true,
|
182 |
'options' => [
|
183 |
-
|
184 |
-
'
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
'
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
'
|
199 |
-
|
200 |
-
|
201 |
-
|
|
|
|
|
202 |
],
|
203 |
|
204 |
-
|
205 |
-
'
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
'
|
213 |
-
|
|
|
|
|
214 |
],
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
]
|
228 |
]
|
229 |
-
]
|
230 |
-
]
|
231 |
|
232 |
]
|
233 |
],
|
@@ -236,54 +248,58 @@ $options = [
|
|
236 |
'label' => __( 'Work Hours', 'blocksy-companion' ),
|
237 |
'clone' => true,
|
238 |
'options' => [
|
239 |
-
|
240 |
-
'
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
'
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
'
|
255 |
-
|
256 |
-
|
257 |
-
|
|
|
|
|
258 |
],
|
259 |
|
260 |
-
|
261 |
-
'
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
'
|
269 |
-
|
|
|
|
|
270 |
],
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
]
|
284 |
]
|
285 |
-
]
|
286 |
-
]
|
287 |
|
288 |
]
|
289 |
],
|
@@ -292,54 +308,58 @@ $options = [
|
|
292 |
'label' => __( 'Fax', 'blocksy-companion' ),
|
293 |
'clone' => true,
|
294 |
'options' => [
|
295 |
-
|
296 |
-
'
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
'
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
'
|
311 |
-
|
312 |
-
|
313 |
-
|
|
|
|
|
314 |
],
|
315 |
|
316 |
-
|
317 |
-
'
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
'
|
325 |
-
|
|
|
|
|
326 |
],
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
]
|
340 |
]
|
341 |
-
]
|
342 |
-
]
|
343 |
|
344 |
]
|
345 |
],
|
@@ -348,54 +368,58 @@ $options = [
|
|
348 |
'label' => __( 'Email', 'blocksy-companion' ),
|
349 |
'clone' => true,
|
350 |
'options' => [
|
351 |
-
|
352 |
-
'
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
'
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
'
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
|
|
370 |
],
|
371 |
|
372 |
-
|
373 |
-
'
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
'
|
381 |
-
|
|
|
|
|
382 |
],
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
]
|
396 |
]
|
397 |
-
]
|
398 |
-
]
|
399 |
|
400 |
]
|
401 |
],
|
@@ -404,54 +428,58 @@ $options = [
|
|
404 |
'label' => __( 'Website', 'blocksy-companion' ),
|
405 |
'clone' => true,
|
406 |
'options' => [
|
407 |
-
|
408 |
-
'
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
'
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
'
|
423 |
-
|
424 |
-
|
425 |
-
|
|
|
|
|
426 |
],
|
427 |
|
428 |
-
|
429 |
-
'
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
'
|
437 |
-
|
|
|
|
|
438 |
],
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
]
|
452 |
]
|
453 |
-
]
|
454 |
-
]
|
455 |
]
|
456 |
],
|
457 |
],
|
7 |
* @package Blocksy
|
8 |
*/
|
9 |
|
10 |
+
$is_pro = blc_fs()->can_use_premium_code();
|
11 |
|
12 |
$options = [
|
13 |
|
67 |
'address' => [
|
68 |
'label' => __( 'Address', 'blocksy-companion' ),
|
69 |
'options' => [
|
70 |
+
[
|
71 |
+
'title' => [
|
72 |
+
'type' => 'text',
|
73 |
+
'label' => __('Title', 'blocksy-companion'),
|
74 |
+
'value' => __('Address:', 'blocksy-companion'),
|
75 |
+
'design' => 'inline',
|
76 |
+
],
|
77 |
+
|
78 |
+
'content' => [
|
79 |
+
'type' => 'text',
|
80 |
+
'label' => __('Content', 'blocksy-companion'),
|
81 |
+
'value' => 'Street Name, NY 38954',
|
82 |
+
'design' => 'inline',
|
83 |
+
],
|
84 |
+
|
85 |
+
'link' => [
|
86 |
+
'type' => 'text',
|
87 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
88 |
+
'design' => 'inline',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
],
|
90 |
],
|
91 |
+
|
92 |
+
$is_pro ? [
|
93 |
+
'icon_source' => [
|
94 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
95 |
+
'type' => 'ct-radio',
|
96 |
+
'value' => 'default',
|
97 |
+
'view' => 'text',
|
98 |
+
'design' => 'block',
|
99 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
100 |
+
'choices' => [
|
101 |
+
'default' => __( 'Default', 'blocksy' ),
|
102 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
103 |
+
],
|
104 |
+
],
|
105 |
+
|
106 |
+
blocksy_rand_md5() => [
|
107 |
+
'type' => 'ct-condition',
|
108 |
+
'condition' => ['icon_source' => 'custom'],
|
109 |
+
'options' => [
|
110 |
+
'icon' => [
|
111 |
+
'type' => 'icon-picker',
|
112 |
+
'label' => __('Icon', 'blocksy-companion'),
|
113 |
+
'design' => 'inline',
|
114 |
+
'value' => [
|
115 |
+
'icon' => 'blc blc-map-pin'
|
116 |
+
]
|
117 |
]
|
118 |
]
|
119 |
+
],
|
120 |
+
] : []
|
121 |
|
122 |
],
|
123 |
|
128 |
'label' => __( 'Phone', 'blocksy-companion' ),
|
129 |
'clone' => true,
|
130 |
'options' => [
|
131 |
+
[
|
132 |
+
'title' => [
|
133 |
+
'type' => 'text',
|
134 |
+
'label' => __('Title', 'blocksy-companion'),
|
135 |
+
'value' => __('Phone:', 'blocksy-companion'),
|
136 |
+
'design' => 'inline',
|
137 |
+
],
|
138 |
+
|
139 |
+
'content' => [
|
140 |
+
'type' => 'text',
|
141 |
+
'label' => __('Content', 'blocksy-companion'),
|
142 |
+
'value' => '578-393-4937',
|
143 |
+
'design' => 'inline',
|
144 |
+
],
|
145 |
+
|
146 |
+
'link' => [
|
147 |
+
'type' => 'text',
|
148 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
149 |
+
'value' => 'tel:578-393-4937',
|
150 |
+
'design' => 'inline',
|
151 |
+
],
|
152 |
],
|
153 |
|
154 |
+
$is_pro ? [
|
155 |
+
'icon_source' => [
|
156 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
157 |
+
'type' => 'ct-radio',
|
158 |
+
'value' => 'default',
|
159 |
+
'view' => 'text',
|
160 |
+
'design' => 'block',
|
161 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
162 |
+
'choices' => [
|
163 |
+
'default' => __( 'Default', 'blocksy' ),
|
164 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
165 |
+
],
|
166 |
],
|
167 |
+
|
168 |
+
blocksy_rand_md5() => [
|
169 |
+
'type' => 'ct-condition',
|
170 |
+
'condition' => ['icon_source' => 'custom'],
|
171 |
+
'options' => [
|
172 |
+
'icon' => [
|
173 |
+
'type' => 'icon-picker',
|
174 |
+
'label' => __('Icon', 'blocksy-companion'),
|
175 |
+
'design' => 'inline',
|
176 |
+
'value' => [
|
177 |
+
'icon' => 'blc blc-phone'
|
178 |
+
]
|
179 |
]
|
180 |
]
|
181 |
+
],
|
182 |
+
] : []
|
183 |
|
184 |
]
|
185 |
],
|
188 |
'label' => __( 'Mobile', 'blocksy-companion' ),
|
189 |
'clone' => true,
|
190 |
'options' => [
|
191 |
+
[
|
192 |
+
'title' => [
|
193 |
+
'type' => 'text',
|
194 |
+
'label' => __('Title', 'blocksy-companion'),
|
195 |
+
'value' => __('Mobile:', 'blocksy-companion'),
|
196 |
+
'design' => 'inline',
|
197 |
+
],
|
198 |
+
|
199 |
+
'content' => [
|
200 |
+
'type' => 'text',
|
201 |
+
'label' => __('Content', 'blocksy-companion'),
|
202 |
+
'value' => '578-393-4937',
|
203 |
+
'design' => 'inline',
|
204 |
+
],
|
205 |
+
|
206 |
+
'link' => [
|
207 |
+
'type' => 'text',
|
208 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
209 |
+
'value' => 'tel:578-393-4937',
|
210 |
+
'design' => 'inline',
|
211 |
+
],
|
212 |
],
|
213 |
|
214 |
+
$is_pro ? [
|
215 |
+
'icon_source' => [
|
216 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
217 |
+
'type' => 'ct-radio',
|
218 |
+
'value' => 'default',
|
219 |
+
'view' => 'text',
|
220 |
+
'design' => 'block',
|
221 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
222 |
+
'choices' => [
|
223 |
+
'default' => __( 'Default', 'blocksy' ),
|
224 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
225 |
+
],
|
226 |
],
|
227 |
+
|
228 |
+
blocksy_rand_md5() => [
|
229 |
+
'type' => 'ct-condition',
|
230 |
+
'condition' => ['icon_source' => 'custom'],
|
231 |
+
'options' => [
|
232 |
+
'icon' => [
|
233 |
+
'type' => 'icon-picker',
|
234 |
+
'label' => __('Icon', 'blocksy-companion'),
|
235 |
+
'design' => 'inline',
|
236 |
+
'value' => [
|
237 |
+
'icon' => 'blc blc-mobile-phone'
|
238 |
+
]
|
239 |
]
|
240 |
]
|
241 |
+
],
|
242 |
+
] : []
|
243 |
|
244 |
]
|
245 |
],
|
248 |
'label' => __( 'Work Hours', 'blocksy-companion' ),
|
249 |
'clone' => true,
|
250 |
'options' => [
|
251 |
+
[
|
252 |
+
'title' => [
|
253 |
+
'type' => 'text',
|
254 |
+
'label' => __('Title', 'blocksy-companion'),
|
255 |
+
'value' => __('Opening hours', 'blocksy-companion'),
|
256 |
+
'design' => 'inline',
|
257 |
+
],
|
258 |
+
|
259 |
+
'content' => [
|
260 |
+
'type' => 'text',
|
261 |
+
'label' => __('Content', 'blocksy-companion'),
|
262 |
+
'value' => '9AM - 5PM',
|
263 |
+
'design' => 'inline',
|
264 |
+
],
|
265 |
+
|
266 |
+
'link' => [
|
267 |
+
'type' => 'text',
|
268 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
269 |
+
'value' => '',
|
270 |
+
'design' => 'inline',
|
271 |
+
],
|
272 |
],
|
273 |
|
274 |
+
$is_pro ? [
|
275 |
+
'icon_source' => [
|
276 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
277 |
+
'type' => 'ct-radio',
|
278 |
+
'value' => 'default',
|
279 |
+
'view' => 'text',
|
280 |
+
'design' => 'block',
|
281 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
282 |
+
'choices' => [
|
283 |
+
'default' => __( 'Default', 'blocksy' ),
|
284 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
285 |
+
],
|
286 |
],
|
287 |
+
|
288 |
+
blocksy_rand_md5() => [
|
289 |
+
'type' => 'ct-condition',
|
290 |
+
'condition' => ['icon_source' => 'custom'],
|
291 |
+
'options' => [
|
292 |
+
'icon' => [
|
293 |
+
'type' => 'icon-picker',
|
294 |
+
'label' => __('Icon', 'blocksy-companion'),
|
295 |
+
'design' => 'inline',
|
296 |
+
'value' => [
|
297 |
+
'icon' => 'blc blc-clock'
|
298 |
+
]
|
299 |
]
|
300 |
]
|
301 |
+
],
|
302 |
+
] : []
|
303 |
|
304 |
]
|
305 |
],
|
308 |
'label' => __( 'Fax', 'blocksy-companion' ),
|
309 |
'clone' => true,
|
310 |
'options' => [
|
311 |
+
[
|
312 |
+
'title' => [
|
313 |
+
'type' => 'text',
|
314 |
+
'label' => __('Title', 'blocksy-companion'),
|
315 |
+
'value' => __('Fax:', 'blocksy-companion'),
|
316 |
+
'design' => 'inline',
|
317 |
+
],
|
318 |
+
|
319 |
+
'content' => [
|
320 |
+
'type' => 'text',
|
321 |
+
'label' => __('Content', 'blocksy-companion'),
|
322 |
+
'value' => '578-393-4937',
|
323 |
+
'design' => 'inline',
|
324 |
+
],
|
325 |
+
|
326 |
+
'link' => [
|
327 |
+
'type' => 'text',
|
328 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
329 |
+
'value' => 'tel:578-393-4937',
|
330 |
+
'design' => 'inline',
|
331 |
+
],
|
332 |
],
|
333 |
|
334 |
+
$is_pro ? [
|
335 |
+
'icon_source' => [
|
336 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
337 |
+
'type' => 'ct-radio',
|
338 |
+
'value' => 'default',
|
339 |
+
'view' => 'text',
|
340 |
+
'design' => 'block',
|
341 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
342 |
+
'choices' => [
|
343 |
+
'default' => __( 'Default', 'blocksy' ),
|
344 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
345 |
+
],
|
346 |
],
|
347 |
+
|
348 |
+
blocksy_rand_md5() => [
|
349 |
+
'type' => 'ct-condition',
|
350 |
+
'condition' => ['icon_source' => 'custom'],
|
351 |
+
'options' => [
|
352 |
+
'icon' => [
|
353 |
+
'type' => 'icon-picker',
|
354 |
+
'label' => __('Icon', 'blocksy-companion'),
|
355 |
+
'design' => 'inline',
|
356 |
+
'value' => [
|
357 |
+
'icon' => 'blc blc-fax'
|
358 |
+
]
|
359 |
]
|
360 |
]
|
361 |
+
],
|
362 |
+
] : []
|
363 |
|
364 |
]
|
365 |
],
|
368 |
'label' => __( 'Email', 'blocksy-companion' ),
|
369 |
'clone' => true,
|
370 |
'options' => [
|
371 |
+
[
|
372 |
+
'title' => [
|
373 |
+
'type' => 'text',
|
374 |
+
'label' => __('Title', 'blocksy-companion'),
|
375 |
+
'value' => __('Email:', 'blocksy-companion'),
|
376 |
+
'design' => 'inline',
|
377 |
+
],
|
378 |
+
|
379 |
+
'content' => [
|
380 |
+
'type' => 'text',
|
381 |
+
'label' => __('Content', 'blocksy-companion'),
|
382 |
+
'value' => 'contact@yourwebsite.com',
|
383 |
+
'design' => 'inline',
|
384 |
+
],
|
385 |
+
|
386 |
+
'link' => [
|
387 |
+
'type' => 'text',
|
388 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
389 |
+
'value' => 'mailto:contact@yourwebsite.com',
|
390 |
+
'design' => 'inline',
|
391 |
+
],
|
392 |
],
|
393 |
|
394 |
+
$is_pro ? [
|
395 |
+
'icon_source' => [
|
396 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
397 |
+
'type' => 'ct-radio',
|
398 |
+
'value' => 'default',
|
399 |
+
'view' => 'text',
|
400 |
+
'design' => 'block',
|
401 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
402 |
+
'choices' => [
|
403 |
+
'default' => __( 'Default', 'blocksy' ),
|
404 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
405 |
+
],
|
406 |
],
|
407 |
+
|
408 |
+
blocksy_rand_md5() => [
|
409 |
+
'type' => 'ct-condition',
|
410 |
+
'condition' => ['icon_source' => 'custom'],
|
411 |
+
'options' => [
|
412 |
+
'icon' => [
|
413 |
+
'type' => 'icon-picker',
|
414 |
+
'label' => __('Icon', 'blocksy-companion'),
|
415 |
+
'design' => 'inline',
|
416 |
+
'value' => [
|
417 |
+
'icon' => 'blc blc-email'
|
418 |
+
]
|
419 |
]
|
420 |
]
|
421 |
+
],
|
422 |
+
] : []
|
423 |
|
424 |
]
|
425 |
],
|
428 |
'label' => __( 'Website', 'blocksy-companion' ),
|
429 |
'clone' => true,
|
430 |
'options' => [
|
431 |
+
[
|
432 |
+
'title' => [
|
433 |
+
'type' => 'text',
|
434 |
+
'label' => __('Title', 'blocksy-companion'),
|
435 |
+
'value' => __('Website:', 'blocksy-companion'),
|
436 |
+
'design' => 'inline',
|
437 |
+
],
|
438 |
+
|
439 |
+
'content' => [
|
440 |
+
'type' => 'text',
|
441 |
+
'label' => __('Content', 'blocksy-companion'),
|
442 |
+
'value' => 'creativethemes.com',
|
443 |
+
'design' => 'inline',
|
444 |
+
],
|
445 |
+
|
446 |
+
'link' => [
|
447 |
+
'type' => 'text',
|
448 |
+
'label' => __('Link (optional)', 'blocksy-companion'),
|
449 |
+
'value' => 'https://creativethemes.com',
|
450 |
+
'design' => 'inline',
|
451 |
+
],
|
452 |
],
|
453 |
|
454 |
+
$is_pro ? [
|
455 |
+
'icon_source' => [
|
456 |
+
'label' => __( 'Icon Source', 'blocksy' ),
|
457 |
+
'type' => 'ct-radio',
|
458 |
+
'value' => 'default',
|
459 |
+
'view' => 'text',
|
460 |
+
'design' => 'block',
|
461 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
462 |
+
'choices' => [
|
463 |
+
'default' => __( 'Default', 'blocksy' ),
|
464 |
+
'custom' => __( 'Custom', 'blocksy' ),
|
465 |
+
],
|
466 |
],
|
467 |
+
|
468 |
+
blocksy_rand_md5() => [
|
469 |
+
'type' => 'ct-condition',
|
470 |
+
'condition' => ['icon_source' => 'custom'],
|
471 |
+
'options' => [
|
472 |
+
'icon' => [
|
473 |
+
'type' => 'icon-picker',
|
474 |
+
'label' => __('Icon', 'blocksy-companion'),
|
475 |
+
'design' => 'inline',
|
476 |
+
'value' => [
|
477 |
+
'icon' => 'blc blc-globe'
|
478 |
+
]
|
479 |
]
|
480 |
]
|
481 |
+
],
|
482 |
+
] : []
|
483 |
]
|
484 |
],
|
485 |
],
|
framework/extensions/widgets/widgets/ct-socials/options.php
CHANGED
@@ -75,6 +75,19 @@ $options = [
|
|
75 |
'design' => 'inline-full',
|
76 |
],
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
'social_icons_size' => [
|
79 |
'label' => __( 'Icons Size', 'blocksy-companion' ),
|
80 |
'type' => 'ct-radio',
|
75 |
'design' => 'inline-full',
|
76 |
],
|
77 |
|
78 |
+
'social_icons_color' => [
|
79 |
+
'label' => __('Icons Color', 'blocksy'),
|
80 |
+
'type' => 'ct-radio',
|
81 |
+
'value' => 'default',
|
82 |
+
'view' => 'text',
|
83 |
+
'design' => 'block',
|
84 |
+
'setting' => [ 'transport' => 'postMessage' ],
|
85 |
+
'choices' => [
|
86 |
+
'default' => __( 'Default', 'blocksy' ),
|
87 |
+
'official' => __( 'Official', 'blocksy' ),
|
88 |
+
],
|
89 |
+
],
|
90 |
+
|
91 |
'social_icons_size' => [
|
92 |
'label' => __( 'Icons Size', 'blocksy-companion' ),
|
93 |
'type' => 'ct-radio',
|
framework/extensions/widgets/widgets/ct-socials/view.php
CHANGED
@@ -13,6 +13,7 @@ $title = blocksy_default_akg( 'title', $atts, __('Social Icons', 'blocksy-compan
|
|
13 |
echo wp_kses_post($before_widget . $before_title . $title . $after_title);
|
14 |
|
15 |
$size = blocksy_default_akg('social_icons_size', $atts, 'medium');
|
|
|
16 |
$type = blocksy_default_akg('social_type', $atts, 'simple');
|
17 |
$fill = blocksy_default_akg('social_icons_fill', $atts, 'outline');
|
18 |
|
@@ -61,6 +62,7 @@ echo blc_call_fn(
|
|
61 |
),
|
62 |
[
|
63 |
'size' => $size,
|
|
|
64 |
'fill' => $fill,
|
65 |
'type' => $type,
|
66 |
'links_target' => $link_target,
|
@@ -68,5 +70,4 @@ echo blc_call_fn(
|
|
68 |
]
|
69 |
);
|
70 |
|
71 |
-
echo wp_kses_post($after_widget);
|
72 |
-
|
13 |
echo wp_kses_post($before_widget . $before_title . $title . $after_title);
|
14 |
|
15 |
$size = blocksy_default_akg('social_icons_size', $atts, 'medium');
|
16 |
+
$color = blocksy_default_akg('social_icons_color', $atts, 'default');
|
17 |
$type = blocksy_default_akg('social_type', $atts, 'simple');
|
18 |
$fill = blocksy_default_akg('social_icons_fill', $atts, 'outline');
|
19 |
|
62 |
),
|
63 |
[
|
64 |
'size' => $size,
|
65 |
+
'icons-color' => $color,
|
66 |
'fill' => $fill,
|
67 |
'type' => $type,
|
68 |
'links_target' => $link_target,
|
70 |
]
|
71 |
);
|
72 |
|
73 |
+
echo wp_kses_post($after_widget);
|
|
framework/helpers/helpers.php
CHANGED
@@ -102,6 +102,22 @@ function blc_get_contacts_output($args = []) {
|
|
102 |
'website' => 'blc blc-globe',
|
103 |
];
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
$attr = [];
|
106 |
|
107 |
// if ($args['type'] !== 'simple') {
|
@@ -125,15 +141,26 @@ function blc_get_contacts_output($args = []) {
|
|
125 |
<?php if (! $single_layer['enabled']) { continue; }?>
|
126 |
<li>
|
127 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
if (function_exists('blc_get_icon')) {
|
129 |
-
|
130 |
'icon_descriptor' => blocksy_akg(
|
131 |
'icon',
|
132 |
$single_layer,
|
133 |
['icon' => $custom_icon_defaults[$single_layer['id']]]
|
134 |
),
|
|
|
135 |
]);
|
136 |
}
|
|
|
|
|
137 |
?>
|
138 |
|
139 |
<div class="contact-info">
|
102 |
'website' => 'blc blc-globe',
|
103 |
];
|
104 |
|
105 |
+
$svg_icons_defaults = [
|
106 |
+
'address' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M10,0C6.1,0,3,3.1,3,7c0,4.5,6,11.8,6.2,12.1L10,20l0.8-0.9C11,18.8,17,11.5,17,7C17,3.1,13.9,0,10,0z M10,2c2.8,0,5,2.2,5,5c0,2.7-3.1,7.4-5,9.8C8.1,14.4,5,9.7,5,7C5,4.2,7.2,2,10,2zM10,4.5C8.6,4.5,7.5,5.6,7.5,7S8.6,9.5,10,9.5s2.5-1.1,2.5-2.5S11.4,4.5,10,4.5z"/></svg>',
|
107 |
+
|
108 |
+
'phone' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M4.4,0C4,0,3.6,0.2,3.2,0.4l0,0l0,0L0.8,2.9l0,0C0,3.6-0.2,4.7,0.1,5.6c0,0,0,0,0,0c0.7,1.9,2.3,5.5,5.6,8.7c3.3,3.3,6.9,4.9,8.7,5.6h0c0.9,0.3,1.9,0.1,2.7-0.5l2.4-2.4c0.6-0.6,0.6-1.7,0-2.4l-3.1-3.1l0,0c-0.6-0.6-1.8-0.6-2.4,0l-1.5,1.5c-0.6-0.3-1.9-1-3.1-2.2C8,9.5,7.4,8.2,7.2,7.6l1.5-1.5c0.6-0.6,0.7-1.7,0-2.4l0,0L8.6,3.6L5.6,0.5l0,0l0,0C5.2,0.2,4.8,0,4.4,0zM4.4,1.5c0.1,0,0.1,0,0.2,0.1l3.1,3.1l0.1,0.1c0,0,0,0.1,0,0.2L5.7,6.9L5.3,7.3l0.2,0.5c0,0,0.9,2.4,2.7,4.1L8.4,12c1.8,1.6,3.9,2.5,3.9,2.5l0.5,0.2l2.3-2.3c0.1-0.1,0.1-0.1,0.2,0l3.1,3.1c0.1,0.1,0.1,0.1,0,0.2l-2.4,2.4c-0.4,0.3-0.7,0.4-1.2,0.2c-1.7-0.7-5.1-2.2-8.1-5.2c-3-3-4.6-6.5-5.2-8.2c-0.1-0.3,0-0.8,0.2-1l0,0l2.3-2.4C4.2,1.6,4.3,1.5,4.4,1.5z"/></svg>',
|
109 |
+
|
110 |
+
'mobile' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M13.5,20H6.5c-1.6,0-2.9-1.3-2.9-2.9V2.9C3.5,1.3,4.8,0,6.5,0h7.1c1.6,0,2.9,1.3,2.9,2.9v14.1C16.5,18.7,15.2,20,13.5,20zM6.7,1.7C5.8,1.7,5,2.5,5,3.4v13.2c0,0.9,0.7,1.7,1.7,1.7h6.6c0.9,0,1.7-0.7,1.7-1.7V3.4c0-0.9-0.7-1.7-1.7-1.7H6.7z"/><path d="M11.2,4.4H8.8c-0.3,0-0.6-0.3-0.6-0.6s0.3-0.6,0.6-0.6h2.4c0.3,0,0.6,0.3,0.6,0.6S11.5,4.4,11.2,4.4z"/><circle cx="10" cy="15.7" r="1.2"/></svg>',
|
111 |
+
|
112 |
+
'hours' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10s10-4.5,10-10S15.5,0,10,0z M10,18.2c-4.5,0-8.2-3.7-8.2-8.2c0-4.5,3.7-8.2,8.2-8.2c4.5,0,8.2,3.7,8.2,8.2C18.2,14.5,14.5,18.2,10,18.2z M14.4,12.2c-0.2,0.3-0.5,0.5-0.8,0.5c-0.1,0-0.3,0-0.4-0.1l-3.6-1.8c-0.3-0.2-0.5-0.5-0.5-0.8V4.5C9.1,4,9.5,3.6,10,3.6s0.9,0.4,0.9,0.9v4.9L14,11C14.5,11.2,14.7,11.8,14.4,12.2z"/></svg>',
|
113 |
+
|
114 |
+
'fax' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M17.5,5.8h-1.7v-4V0h-1.7H5.8H4.2v1.8v4H2.5C1.1,5.8,0,7,0,8.3v8.3h4.2V20h11.7v-3.3H20V8.3C20,7,18.9,5.8,17.5,5.8zM5.8,1.8h8.3v4H5.8V1.8zM14.2,18.3H5.8v-5h8.3V18.3zM18.3,15h-2.5v-3.3H4.2V15H1.7V8.3c0-0.5,0.4-0.8,0.8-0.8h15c0.5,0,0.8,0.4,0.8,0.8V15zM4.2,9.2c0,0.5-0.4,0.8-0.8,0.8S2.5,9.6,2.5,9.2s0.4-0.8,0.8-0.8S4.2,8.7,4.2,9.2z"/></svg>',
|
115 |
+
|
116 |
+
'email' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M10,0C4.5,0,0,4.5,0,10s4.5,10,10,10h5v-2h-5c-4.4,0-8-3.6-8-8s3.6-8,8-8s8,3.6,8,8v1.5c0,0.8-0.7,1.5-1.5,1.5S15,12.3,15,11.5V10c0-2.7-2.3-5-5-5s-5,2.3-5,5s2.3,5,5,5c1.4,0,2.7-0.6,3.6-1.6c0.6,0.9,1.7,1.6,2.9,1.6c1.9,0,3.5-1.6,3.5-3.5V10C20,4.5,15.5,0,10,0zM10,7c1.7,0,3,1.3,3,3s-1.3,3-3,3s-3-1.3-3-3S8.3,7,10,7z"/></svg>',
|
117 |
+
|
118 |
+
'website' => '<svg width="18" height="18" viewBox="0 0 20 20" aria-hidden="true"><path d="M9.3,0C4.4,0,0.4,4,0.4,8.9s4,8.9,8.9,8.9c0.8,0,1.5-0.1,2.2-0.3v-3.9c-0.6,1.7-1.4,2.7-2.2,2.7c-0.9,0-2-1.5-2.5-3.7h4.8v-1.5h-5c-0.1-0.7-0.1-1.4-0.1-2.2c0-0.8,0.1-1.5,0.2-2.2h5.6c0.1,0.7,0.2,1.4,0.2,2.2c0,0.2,0,0.4,0,0.6c0.4-0.4,0.9-0.6,1.5-0.6c0-0.8,0-1.5-0.1-2.2h2.8c0.2,0.7,0.3,1.4,0.3,2.2c0,0.5-0.1,1-0.2,1.5l1.3,0.9c0.2-0.8,0.3-1.6,0.3-2.4C18.1,4,14.2,0,9.3,0zM9.3,1.5c0.9,0,2,1.5,2.5,3.7h-5C7.3,2.9,8.3,1.5,9.3,1.5zM6.3,2.1C5.9,2.9,5.5,4,5.2,5.2H2.8C3.6,3.8,4.9,2.7,6.3,2.1zM12.2,2.1c1.5,0.6,2.7,1.7,3.5,3.1h-2.3C13.1,4,12.7,2.9,12.2,2.1zM2.2,6.7h2.8C4.9,7.4,4.8,8.1,4.8,8.9c0,0.8,0.1,1.5,0.1,2.2H2.2C2,10.4,1.9,9.7,1.9,8.9C1.9,8.1,2,7.4,2.2,6.7z M13.7,10.4c-0.4,0-0.7,0.3-0.8,0.7c0,0,0,0.1,0,0.1v6.6c0,0.4,0.3,0.7,0.7,0.7c0.2,0,0.4-0.1,0.5-0.2l0,0l1.4-1.6l1.5,3c0.2,0.4,0.6,0.5,1,0.3c0.4-0.2,0.5-0.6,0.3-1l-1.5-3l2.2-0.4l0,0c0.3-0.1,0.5-0.4,0.5-0.7c0-0.3-0.1-0.5-0.3-0.6l0,0l-5.1-3.6C14.1,10.4,13.9,10.4,13.7,10.4zM2.9,12.6h2.3c0.3,1.2,0.7,2.3,1.1,3.1C4.9,15.1,3.7,14,2.9,12.6z"/></svg>',
|
119 |
+
];
|
120 |
+
|
121 |
$attr = [];
|
122 |
|
123 |
// if ($args['type'] !== 'simple') {
|
141 |
<?php if (! $single_layer['enabled']) { continue; }?>
|
142 |
<li>
|
143 |
<?php
|
144 |
+
$icon = blocksy_html_tag(
|
145 |
+
'span',
|
146 |
+
[
|
147 |
+
'class' => 'ct-icon-container'
|
148 |
+
],
|
149 |
+
$svg_icons_defaults[$single_layer['id']]
|
150 |
+
);
|
151 |
+
|
152 |
if (function_exists('blc_get_icon')) {
|
153 |
+
$icon = blc_get_icon([
|
154 |
'icon_descriptor' => blocksy_akg(
|
155 |
'icon',
|
156 |
$single_layer,
|
157 |
['icon' => $custom_icon_defaults[$single_layer['id']]]
|
158 |
),
|
159 |
+
'icon_container' => true
|
160 |
]);
|
161 |
}
|
162 |
+
|
163 |
+
echo $icon;
|
164 |
?>
|
165 |
|
166 |
<div class="contact-info">
|
framework/theme-integration.php
CHANGED
@@ -27,6 +27,7 @@ class ThemeIntegration {
|
|
27 |
),
|
28 |
'trigger' => 'click',
|
29 |
'has_modal_loader' => [
|
|
|
30 |
'id' => 'account-modal'
|
31 |
]
|
32 |
];
|
27 |
),
|
28 |
'trigger' => 'click',
|
29 |
'has_modal_loader' => [
|
30 |
+
'skip_if_no_template' => true,
|
31 |
'id' => 'account-modal'
|
32 |
]
|
33 |
];
|
freemius/includes/class-freemius.php
CHANGED
@@ -2498,7 +2498,7 @@
|
|
2498 |
) {
|
2499 |
return;
|
2500 |
}
|
2501 |
-
|
2502 |
$subscription_cancellation_dialog_box_template_params = $this->apply_filters( 'show_deactivation_subscription_cancellation', true ) ?
|
2503 |
$this->_get_subscription_cancellation_dialog_box_template_params() :
|
2504 |
array();
|
@@ -3635,10 +3635,37 @@
|
|
3635 |
}
|
3636 |
|
3637 |
return (
|
3638 |
-
fs_strip_url_protocol( trailingslashit( $this->_site->url ) ) !== fs_strip_url_protocol( trailingslashit( get_site_url() ) )
|
3639 |
);
|
3640 |
}
|
3641 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3642 |
/**
|
3643 |
* @author Leo Fajardo (@leorw)
|
3644 |
* @since 2.5.0
|
@@ -3665,7 +3692,7 @@
|
|
3665 |
if (
|
3666 |
is_object( $this->_license ) &&
|
3667 |
! $this->_license->is_utilized(
|
3668 |
-
( WP_FS__IS_LOCALHOST_FOR_SERVER || FS_Site::is_localhost_by_address( get_site_url() ) )
|
3669 |
)
|
3670 |
) {
|
3671 |
$license_key = $this->_license->secret_key;
|
@@ -3977,7 +4004,7 @@
|
|
3977 |
/**
|
3978 |
* @author Leo Fajardo (@leorw)
|
3979 |
* @since 2.5.0
|
3980 |
-
*
|
3981 |
* @return array
|
3982 |
*/
|
3983 |
static function get_all_modules_sites() {
|
@@ -4231,7 +4258,7 @@
|
|
4231 |
if ( $is_connected ) {
|
4232 |
FS_GDPR_Manager::instance()->store_is_required( $pong->is_gdpr_required );
|
4233 |
}
|
4234 |
-
|
4235 |
$this->store_connectivity_info( $pong, $is_connected );
|
4236 |
|
4237 |
return $this->_has_api_connection;
|
@@ -4315,7 +4342,7 @@
|
|
4315 |
$unique_id = self::$_accounts->get_option( 'unique_id', null, $blog_id );
|
4316 |
|
4317 |
if ( empty( $unique_id ) || ! is_string( $unique_id ) ) {
|
4318 |
-
$key = fs_strip_url_protocol( get_site_url( $blog_id ) );
|
4319 |
|
4320 |
$secure_auth = defined( 'SECURE_AUTH_KEY' ) ? SECURE_AUTH_KEY : '';
|
4321 |
if ( empty( $secure_auth ) ||
|
@@ -8593,7 +8620,7 @@
|
|
8593 |
$parent_licenses_endpoint = "/plugins/{$this->get_id()}/parent_licenses.json?filter=activatable";
|
8594 |
|
8595 |
$fs = $this;
|
8596 |
-
|
8597 |
if ( $this->is_addon() ) {
|
8598 |
$parent_instance = $this->get_parent_instance();
|
8599 |
|
@@ -9653,7 +9680,7 @@
|
|
9653 |
'language' => get_bloginfo( 'language' ),
|
9654 |
'charset' => get_bloginfo( 'charset' ),
|
9655 |
'title' => get_bloginfo( 'name' ),
|
9656 |
-
'url' => get_site_url(),
|
9657 |
) :
|
9658 |
array();
|
9659 |
|
@@ -10324,7 +10351,7 @@
|
|
10324 |
|
10325 |
if ( is_object( $fs ) ) {
|
10326 |
$fs->remove_sdk_reference();
|
10327 |
-
|
10328 |
self::require_plugin_essentials();
|
10329 |
|
10330 |
if ( is_plugin_active( $fs->_free_plugin_basename ) ||
|
@@ -10904,7 +10931,7 @@
|
|
10904 |
if ( fs_starts_with( $option_name, WP_FS__MODULE_TYPE_THEME . '_' ) ) {
|
10905 |
$option_name = str_replace( WP_FS__MODULE_TYPE_THEME . '_', '', $option_name );
|
10906 |
}
|
10907 |
-
|
10908 |
switch ( $option_name ) {
|
10909 |
case 'plugins':
|
10910 |
case 'themes':
|
@@ -12558,7 +12585,7 @@
|
|
12558 |
} else {
|
12559 |
$url = is_object( $site ) ?
|
12560 |
$site->siteurl :
|
12561 |
-
get_site_url( $blog_id );
|
12562 |
|
12563 |
$disconnected_site_ids[] = $blog_id;
|
12564 |
}
|
@@ -13518,7 +13545,7 @@
|
|
13518 |
// Subscription cancellation dialog box is currently not supported for multisite networks.
|
13519 |
return array();
|
13520 |
}
|
13521 |
-
|
13522 |
if ( $this->is_whitelabeled() ) {
|
13523 |
return array();
|
13524 |
}
|
@@ -13618,7 +13645,7 @@
|
|
13618 |
! $this->is_premium() &&
|
13619 |
/**
|
13620 |
* Also handle the case when an upgrade was made using the free version.
|
13621 |
-
*
|
13622 |
* @author Leo Fajardo (@leorw)
|
13623 |
* @since 2.3.2
|
13624 |
*/
|
@@ -13849,7 +13876,7 @@
|
|
13849 |
*/
|
13850 |
function _activate_license_ajax_action() {
|
13851 |
$this->_logger->entrance();
|
13852 |
-
|
13853 |
$this->check_ajax_referer( 'activate_license' );
|
13854 |
|
13855 |
$license_key = trim( fs_request_get( 'license_key' ) );
|
@@ -13919,7 +13946,7 @@
|
|
13919 |
foreach ( $installs_info_by_slug_map as $slug => $install_info ) {
|
13920 |
$install_ids[ $slug ] = $install_info['install']->id;
|
13921 |
}
|
13922 |
-
|
13923 |
$params['install_ids'] = implode( ',', array_values( $install_ids ) );
|
13924 |
|
13925 |
$install = $this->get_api_site_scope()->call( $this->add_show_pending( '/' ), 'put', $params );
|
@@ -14012,7 +14039,7 @@
|
|
14012 |
*
|
14013 |
* @author Vova Feldman (@svovaf)
|
14014 |
* @since 2.3.0
|
14015 |
-
*
|
14016 |
* @param string $license_key
|
14017 |
* @param null|bool $is_marketing_allowed
|
14018 |
* @param null|number $plugin_id
|
@@ -15813,7 +15840,7 @@
|
|
15813 |
$address_to_blog_map = array();
|
15814 |
foreach ( $sites as $site ) {
|
15815 |
$blog_id = self::get_site_blog_id( $site );
|
15816 |
-
$address = trailingslashit( fs_strip_url_protocol( get_site_url( $blog_id ) ) );
|
15817 |
$address_to_blog_map[ $address ] = $blog_id;
|
15818 |
}
|
15819 |
|
@@ -16049,7 +16076,7 @@
|
|
16049 |
$switched = false;
|
16050 |
|
16051 |
if ( is_null( $site ) ) {
|
16052 |
-
$url = get_site_url();
|
16053 |
$name = get_bloginfo( 'name' );
|
16054 |
$blog_id = null;
|
16055 |
} else {
|
@@ -16064,7 +16091,7 @@
|
|
16064 |
$url = $site->siteurl;
|
16065 |
$name = $site->blogname;
|
16066 |
} else {
|
16067 |
-
$url = get_site_url( $blog_id );
|
16068 |
$name = get_bloginfo( 'name' );
|
16069 |
}
|
16070 |
}
|
@@ -17005,6 +17032,7 @@
|
|
17005 |
}
|
17006 |
|
17007 |
if (
|
|
|
17008 |
$this->is_clone() &&
|
17009 |
empty( FS_Clone_Manager::instance()->get_clone_identification_timestamp() )
|
17010 |
) {
|
@@ -18551,7 +18579,7 @@
|
|
18551 |
if ( is_object( $this->_site ) && ! $this->is_registered() ) {
|
18552 |
return;
|
18553 |
}
|
18554 |
-
|
18555 |
/**
|
18556 |
* When running from a site admin with a network activated module and the connection
|
18557 |
* was NOT delegated and the user still haven't skipped or opted-in, then hide the
|
@@ -22889,7 +22917,7 @@
|
|
22889 |
sprintf(
|
22890 |
$this->get_text_inline( 'We will no longer be sending any usage data of %s on %s to %s.', 'opted-out-successfully' ),
|
22891 |
$this->get_plugin_title(),
|
22892 |
-
fs_strip_url_protocol( get_site_url( $blog_id ) ),
|
22893 |
sprintf(
|
22894 |
'<a href="%s" target="_blank" rel="noopener">%s</a>',
|
22895 |
'https://freemius.com',
|
@@ -23596,7 +23624,7 @@
|
|
23596 |
! $this->is_live(),
|
23597 |
$this->_site->secret_key,
|
23598 |
$this->get_sdk_version(),
|
23599 |
-
get_site_url()
|
23600 |
);
|
23601 |
}
|
23602 |
|
@@ -23637,7 +23665,7 @@
|
|
23637 |
$this->_store_site();
|
23638 |
}
|
23639 |
|
23640 |
-
if ( fs_strip_url_protocol( $stored_remote_url ) !== fs_strip_url_protocol( trailingslashit( get_site_url() ) ) ) {
|
23641 |
FS_Clone_Manager::instance()->maybe_run_clone_resolution();
|
23642 |
}
|
23643 |
}
|
2498 |
) {
|
2499 |
return;
|
2500 |
}
|
2501 |
+
|
2502 |
$subscription_cancellation_dialog_box_template_params = $this->apply_filters( 'show_deactivation_subscription_cancellation', true ) ?
|
2503 |
$this->_get_subscription_cancellation_dialog_box_template_params() :
|
2504 |
array();
|
3635 |
}
|
3636 |
|
3637 |
return (
|
3638 |
+
fs_strip_url_protocol( trailingslashit( $this->_site->url ) ) !== fs_strip_url_protocol( trailingslashit( self::get_site_url() ) )
|
3639 |
);
|
3640 |
}
|
3641 |
|
3642 |
+
/**
|
3643 |
+
* @author Leo Fajardo (@leorw)
|
3644 |
+
* @since 2.5.0
|
3645 |
+
*
|
3646 |
+
* @param int|null $blog_id
|
3647 |
+
*
|
3648 |
+
* @return string
|
3649 |
+
*/
|
3650 |
+
static function get_site_url( $blog_id = null ) {
|
3651 |
+
global $wp_filter;
|
3652 |
+
|
3653 |
+
$site_url_filters = null;
|
3654 |
+
|
3655 |
+
if ( ! empty( $wp_filter['site_url'] ) ) {
|
3656 |
+
$site_url_filters = $wp_filter['site_url'];
|
3657 |
+
unset( $wp_filter['site_url'] );
|
3658 |
+
}
|
3659 |
+
|
3660 |
+
$url = get_site_url( $blog_id );
|
3661 |
+
|
3662 |
+
if ( ! empty( $site_url_filters ) ) {
|
3663 |
+
$wp_filter['site_url'] = $site_url_filters;
|
3664 |
+
}
|
3665 |
+
|
3666 |
+
return $url;
|
3667 |
+
}
|
3668 |
+
|
3669 |
/**
|
3670 |
* @author Leo Fajardo (@leorw)
|
3671 |
* @since 2.5.0
|
3692 |
if (
|
3693 |
is_object( $this->_license ) &&
|
3694 |
! $this->_license->is_utilized(
|
3695 |
+
( WP_FS__IS_LOCALHOST_FOR_SERVER || FS_Site::is_localhost_by_address( self::get_site_url() ) )
|
3696 |
)
|
3697 |
) {
|
3698 |
$license_key = $this->_license->secret_key;
|
4004 |
/**
|
4005 |
* @author Leo Fajardo (@leorw)
|
4006 |
* @since 2.5.0
|
4007 |
+
*
|
4008 |
* @return array
|
4009 |
*/
|
4010 |
static function get_all_modules_sites() {
|
4258 |
if ( $is_connected ) {
|
4259 |
FS_GDPR_Manager::instance()->store_is_required( $pong->is_gdpr_required );
|
4260 |
}
|
4261 |
+
|
4262 |
$this->store_connectivity_info( $pong, $is_connected );
|
4263 |
|
4264 |
return $this->_has_api_connection;
|
4342 |
$unique_id = self::$_accounts->get_option( 'unique_id', null, $blog_id );
|
4343 |
|
4344 |
if ( empty( $unique_id ) || ! is_string( $unique_id ) ) {
|
4345 |
+
$key = fs_strip_url_protocol( self::get_site_url( $blog_id ) );
|
4346 |
|
4347 |
$secure_auth = defined( 'SECURE_AUTH_KEY' ) ? SECURE_AUTH_KEY : '';
|
4348 |
if ( empty( $secure_auth ) ||
|
8620 |
$parent_licenses_endpoint = "/plugins/{$this->get_id()}/parent_licenses.json?filter=activatable";
|
8621 |
|
8622 |
$fs = $this;
|
8623 |
+
|
8624 |
if ( $this->is_addon() ) {
|
8625 |
$parent_instance = $this->get_parent_instance();
|
8626 |
|
9680 |
'language' => get_bloginfo( 'language' ),
|
9681 |
'charset' => get_bloginfo( 'charset' ),
|
9682 |
'title' => get_bloginfo( 'name' ),
|
9683 |
+
'url' => self::get_site_url(),
|
9684 |
) :
|
9685 |
array();
|
9686 |
|
10351 |
|
10352 |
if ( is_object( $fs ) ) {
|
10353 |
$fs->remove_sdk_reference();
|
10354 |
+
|
10355 |
self::require_plugin_essentials();
|
10356 |
|
10357 |
if ( is_plugin_active( $fs->_free_plugin_basename ) ||
|
10931 |
if ( fs_starts_with( $option_name, WP_FS__MODULE_TYPE_THEME . '_' ) ) {
|
10932 |
$option_name = str_replace( WP_FS__MODULE_TYPE_THEME . '_', '', $option_name );
|
10933 |
}
|
10934 |
+
|
10935 |
switch ( $option_name ) {
|
10936 |
case 'plugins':
|
10937 |
case 'themes':
|
12585 |
} else {
|
12586 |
$url = is_object( $site ) ?
|
12587 |
$site->siteurl :
|
12588 |
+
self::get_site_url( $blog_id );
|
12589 |
|
12590 |
$disconnected_site_ids[] = $blog_id;
|
12591 |
}
|
13545 |
// Subscription cancellation dialog box is currently not supported for multisite networks.
|
13546 |
return array();
|
13547 |
}
|
13548 |
+
|
13549 |
if ( $this->is_whitelabeled() ) {
|
13550 |
return array();
|
13551 |
}
|
13645 |
! $this->is_premium() &&
|
13646 |
/**
|
13647 |
* Also handle the case when an upgrade was made using the free version.
|
13648 |
+
*
|
13649 |
* @author Leo Fajardo (@leorw)
|
13650 |
* @since 2.3.2
|
13651 |
*/
|
13876 |
*/
|
13877 |
function _activate_license_ajax_action() {
|
13878 |
$this->_logger->entrance();
|
13879 |
+
|
13880 |
$this->check_ajax_referer( 'activate_license' );
|
13881 |
|
13882 |
$license_key = trim( fs_request_get( 'license_key' ) );
|
13946 |
foreach ( $installs_info_by_slug_map as $slug => $install_info ) {
|
13947 |
$install_ids[ $slug ] = $install_info['install']->id;
|
13948 |
}
|
13949 |
+
|
13950 |
$params['install_ids'] = implode( ',', array_values( $install_ids ) );
|
13951 |
|
13952 |
$install = $this->get_api_site_scope()->call( $this->add_show_pending( '/' ), 'put', $params );
|
14039 |
*
|
14040 |
* @author Vova Feldman (@svovaf)
|
14041 |
* @since 2.3.0
|
14042 |
+
*
|
14043 |
* @param string $license_key
|
14044 |
* @param null|bool $is_marketing_allowed
|
14045 |
* @param null|number $plugin_id
|
15840 |
$address_to_blog_map = array();
|
15841 |
foreach ( $sites as $site ) {
|
15842 |
$blog_id = self::get_site_blog_id( $site );
|
15843 |
+
$address = trailingslashit( fs_strip_url_protocol( self::get_site_url( $blog_id ) ) );
|
15844 |
$address_to_blog_map[ $address ] = $blog_id;
|
15845 |
}
|
15846 |
|
16076 |
$switched = false;
|
16077 |
|
16078 |
if ( is_null( $site ) ) {
|
16079 |
+
$url = self::get_site_url();
|
16080 |
$name = get_bloginfo( 'name' );
|
16081 |
$blog_id = null;
|
16082 |
} else {
|
16091 |
$url = $site->siteurl;
|
16092 |
$name = $site->blogname;
|
16093 |
} else {
|
16094 |
+
$url = self::get_site_url( $blog_id );
|
16095 |
$name = get_bloginfo( 'name' );
|
16096 |
}
|
16097 |
}
|
17032 |
}
|
17033 |
|
17034 |
if (
|
17035 |
+
$this->is_user_in_admin() &&
|
17036 |
$this->is_clone() &&
|
17037 |
empty( FS_Clone_Manager::instance()->get_clone_identification_timestamp() )
|
17038 |
) {
|
18579 |
if ( is_object( $this->_site ) && ! $this->is_registered() ) {
|
18580 |
return;
|
18581 |
}
|
18582 |
+
|
18583 |
/**
|
18584 |
* When running from a site admin with a network activated module and the connection
|
18585 |
* was NOT delegated and the user still haven't skipped or opted-in, then hide the
|
22917 |
sprintf(
|
22918 |
$this->get_text_inline( 'We will no longer be sending any usage data of %s on %s to %s.', 'opted-out-successfully' ),
|
22919 |
$this->get_plugin_title(),
|
22920 |
+
fs_strip_url_protocol( self::get_site_url( $blog_id ) ),
|
22921 |
sprintf(
|
22922 |
'<a href="%s" target="_blank" rel="noopener">%s</a>',
|
22923 |
'https://freemius.com',
|
23624 |
! $this->is_live(),
|
23625 |
$this->_site->secret_key,
|
23626 |
$this->get_sdk_version(),
|
23627 |
+
self::get_site_url()
|
23628 |
);
|
23629 |
}
|
23630 |
|
23665 |
$this->_store_site();
|
23666 |
}
|
23667 |
|
23668 |
+
if ( fs_strip_url_protocol( $stored_remote_url ) !== fs_strip_url_protocol( trailingslashit( self::get_site_url() ) ) ) {
|
23669 |
FS_Clone_Manager::instance()->maybe_run_clone_resolution();
|
23670 |
}
|
23671 |
}
|
freemius/includes/managers/class-fs-clone-manager.php
CHANGED
@@ -82,6 +82,10 @@
|
|
82 |
* @var string
|
83 |
*/
|
84 |
const OPTION_TEMPORARY_DUPLICATE = 'temporary_duplicate';
|
|
|
|
|
|
|
|
|
85 |
/**
|
86 |
* @var string
|
87 |
*/
|
@@ -167,6 +171,7 @@
|
|
167 |
if ( Freemius::is_ajax() ) {
|
168 |
Freemius::add_ajax_action_static( 'handle_clone_resolution', array( $this, '_clone_resolution_action_ajax_handler' ) );
|
169 |
} else if ( ! Freemius::is_cron() && ! Freemius::is_admin_post() ) {
|
|
|
170 |
$this->maybe_show_clone_admin_notice();
|
171 |
|
172 |
add_action( 'admin_footer', array( $this, '_add_clone_resolution_javascript' ) );
|
@@ -488,6 +493,80 @@
|
|
488 |
return false;
|
489 |
}
|
490 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
/**
|
492 |
* Tries to recover the install of a newly created subsite or resolve it if it's a clone.
|
493 |
*
|
@@ -544,7 +623,7 @@
|
|
544 |
|
545 |
$instance->switch_to_blog( $blog_id );
|
546 |
|
547 |
-
$current_url = fs_strip_url_protocol( untrailingslashit( get_site_url() ) );
|
548 |
$current_install_url = is_object( $current_install ) ?
|
549 |
fs_strip_url_protocol( untrailingslashit( $current_install->url ) ) :
|
550 |
null;
|
@@ -647,7 +726,7 @@
|
|
647 |
private function try_automatic_resolution() {
|
648 |
$this->_logger->entrance();
|
649 |
|
650 |
-
$current_url = fs_strip_url_protocol( untrailingslashit( get_site_url() ) );
|
651 |
$is_localhost = FS_Site::is_localhost_by_address( $current_url );
|
652 |
|
653 |
$require_manual_resolution = false;
|
@@ -705,19 +784,7 @@
|
|
705 |
) );
|
706 |
}
|
707 |
|
708 |
-
$result =
|
709 |
-
|
710 |
-
if ( self::OPTION_TEMPORARY_DUPLICATE === $clone_action ) {
|
711 |
-
$this->store_temporary_duplicate_timestamp();
|
712 |
-
} else {
|
713 |
-
$result = $this->resolve_cloned_sites( $clone_action );
|
714 |
-
}
|
715 |
-
|
716 |
-
if ( 'temporary_duplicate_license_activation' !== $clone_action ) {
|
717 |
-
$this->remove_clone_resolution_options_notice();
|
718 |
-
} else {
|
719 |
-
$this->remove_temporary_duplicate_notice();
|
720 |
-
}
|
721 |
|
722 |
Freemius::shoot_ajax_success( $result );
|
723 |
}
|
@@ -726,53 +793,72 @@
|
|
726 |
* @author Leo Fajardo (@leorw)
|
727 |
* @since 2.5.0
|
728 |
*
|
729 |
-
* @param string
|
|
|
|
|
|
|
730 |
*/
|
731 |
-
private function resolve_cloned_sites( $clone_action ) {
|
732 |
$this->_logger->entrance();
|
733 |
|
734 |
-
$
|
735 |
-
$instance_with_error = null;
|
736 |
-
$has_error = false;
|
737 |
|
738 |
-
|
|
|
|
|
|
|
|
|
|
|
739 |
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
}
|
744 |
|
745 |
-
|
746 |
-
|
747 |
-
|
|
|
748 |
|
749 |
-
|
|
|
|
|
750 |
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
|
|
|
|
755 |
|
756 |
-
|
757 |
-
|
758 |
|
759 |
-
|
760 |
-
|
|
|
761 |
}
|
762 |
}
|
763 |
}
|
764 |
-
}
|
765 |
|
766 |
-
|
767 |
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
773 |
}
|
774 |
|
775 |
-
return
|
776 |
}
|
777 |
|
778 |
/**
|
@@ -874,7 +960,7 @@
|
|
874 |
$product_ids,
|
875 |
$product_titles,
|
876 |
$site_urls,
|
877 |
-
get_site_url(),
|
878 |
( count( $site_urls ) === count( $sites_with_license_urls ) ),
|
879 |
( count( $site_urls ) === $sites_with_premium_version_count ),
|
880 |
$doc_url
|
@@ -984,7 +1070,7 @@
|
|
984 |
continue;
|
985 |
}
|
986 |
|
987 |
-
$subsite_url = trailingslashit( get_site_url( $blog_id ) );
|
988 |
$install_url = trailingslashit( $install->url );
|
989 |
|
990 |
$has_clone = ( fs_strip_url_protocol( $install_url ) !== fs_strip_url_protocol( $subsite_url ) );
|
@@ -1190,7 +1276,7 @@
|
|
1190 |
$temporary_duplicate_end_date = $this->get_temporary_duplicate_expiration_timestamp();
|
1191 |
$temporary_duplicate_end_date = date( 'M j, Y', $temporary_duplicate_end_date );
|
1192 |
|
1193 |
-
$current_url = get_site_url();
|
1194 |
$current_site_link = sprintf(
|
1195 |
'<b><a href="%s" target="_blank">%s</a></b>',
|
1196 |
$current_url,
|
82 |
* @var string
|
83 |
*/
|
84 |
const OPTION_TEMPORARY_DUPLICATE = 'temporary_duplicate';
|
85 |
+
/**
|
86 |
+
* @var string
|
87 |
+
*/
|
88 |
+
const OPTION_LONG_TERM_DUPLICATE = 'long_term_duplicate';
|
89 |
/**
|
90 |
* @var string
|
91 |
*/
|
171 |
if ( Freemius::is_ajax() ) {
|
172 |
Freemius::add_ajax_action_static( 'handle_clone_resolution', array( $this, '_clone_resolution_action_ajax_handler' ) );
|
173 |
} else if ( ! Freemius::is_cron() && ! Freemius::is_admin_post() ) {
|
174 |
+
$this->try_resolve_clone_automatically_by_config();
|
175 |
$this->maybe_show_clone_admin_notice();
|
176 |
|
177 |
add_action( 'admin_footer', array( $this, '_add_clone_resolution_javascript' ) );
|
493 |
return false;
|
494 |
}
|
495 |
|
496 |
+
/**
|
497 |
+
* Try to resolve the clone situation automatically based on the config in the wp-config.php file.
|
498 |
+
*
|
499 |
+
* @author Leo Fajardo (@leorw)
|
500 |
+
* @since 2.5.0
|
501 |
+
*/
|
502 |
+
private function try_resolve_clone_automatically_by_config() {
|
503 |
+
$clone_action = $this->get_clone_resolution_action_from_config();
|
504 |
+
|
505 |
+
if ( empty( $clone_action ) ) {
|
506 |
+
return;
|
507 |
+
}
|
508 |
+
|
509 |
+
$fs_instances = array();
|
510 |
+
|
511 |
+
if ( self::OPTION_LONG_TERM_DUPLICATE === $clone_action ) {
|
512 |
+
$instances = Freemius::_get_all_instances();
|
513 |
+
|
514 |
+
foreach ( $instances as $instance ) {
|
515 |
+
if ( ! $instance->is_registered() ) {
|
516 |
+
continue;
|
517 |
+
}
|
518 |
+
|
519 |
+
if ( ! $instance->is_clone() ) {
|
520 |
+
continue;
|
521 |
+
}
|
522 |
+
|
523 |
+
$license = $instance->has_features_enabled_license() ?
|
524 |
+
$instance->_get_license() :
|
525 |
+
null;
|
526 |
+
|
527 |
+
if (
|
528 |
+
is_object( $license ) &&
|
529 |
+
! $license->is_utilized(
|
530 |
+
( WP_FS__IS_LOCALHOST_FOR_SERVER || FS_Site::is_localhost_by_address( Freemius::get_site_url() ) )
|
531 |
+
)
|
532 |
+
) {
|
533 |
+
$fs_instances[] = $instance;
|
534 |
+
}
|
535 |
+
}
|
536 |
+
|
537 |
+
if ( empty( $fs_instances ) ) {
|
538 |
+
return;
|
539 |
+
}
|
540 |
+
}
|
541 |
+
|
542 |
+
$this->resolve_cloned_sites( $clone_action, $fs_instances );
|
543 |
+
}
|
544 |
+
|
545 |
+
/**
|
546 |
+
* @author Leo Fajard (@leorw)
|
547 |
+
* @since 2.5.0
|
548 |
+
*
|
549 |
+
* @return string|null
|
550 |
+
*/
|
551 |
+
private function get_clone_resolution_action_from_config() {
|
552 |
+
if ( ! defined( 'FS__RESOLVE_CLONE_AS' ) ) {
|
553 |
+
return null;
|
554 |
+
}
|
555 |
+
|
556 |
+
if ( ! in_array(
|
557 |
+
FS__RESOLVE_CLONE_AS,
|
558 |
+
array(
|
559 |
+
self::OPTION_NEW_HOME,
|
560 |
+
self::OPTION_TEMPORARY_DUPLICATE,
|
561 |
+
self::OPTION_LONG_TERM_DUPLICATE,
|
562 |
+
)
|
563 |
+
) ) {
|
564 |
+
return null;
|
565 |
+
}
|
566 |
+
|
567 |
+
return FS__RESOLVE_CLONE_AS;
|
568 |
+
}
|
569 |
+
|
570 |
/**
|
571 |
* Tries to recover the install of a newly created subsite or resolve it if it's a clone.
|
572 |
*
|
623 |
|
624 |
$instance->switch_to_blog( $blog_id );
|
625 |
|
626 |
+
$current_url = fs_strip_url_protocol( untrailingslashit( Freemius::get_site_url() ) );
|
627 |
$current_install_url = is_object( $current_install ) ?
|
628 |
fs_strip_url_protocol( untrailingslashit( $current_install->url ) ) :
|
629 |
null;
|
726 |
private function try_automatic_resolution() {
|
727 |
$this->_logger->entrance();
|
728 |
|
729 |
+
$current_url = fs_strip_url_protocol( untrailingslashit( Freemius::get_site_url() ) );
|
730 |
$is_localhost = FS_Site::is_localhost_by_address( $current_url );
|
731 |
|
732 |
$require_manual_resolution = false;
|
784 |
) );
|
785 |
}
|
786 |
|
787 |
+
$result = $this->resolve_cloned_sites( $clone_action );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
788 |
|
789 |
Freemius::shoot_ajax_success( $result );
|
790 |
}
|
793 |
* @author Leo Fajardo (@leorw)
|
794 |
* @since 2.5.0
|
795 |
*
|
796 |
+
* @param string $clone_action
|
797 |
+
* @param Freemius[] $fs_instances
|
798 |
+
*
|
799 |
+
* @return array
|
800 |
*/
|
801 |
+
private function resolve_cloned_sites( $clone_action, $fs_instances = array() ) {
|
802 |
$this->_logger->entrance();
|
803 |
|
804 |
+
$result = array();
|
|
|
|
|
805 |
|
806 |
+
if ( self::OPTION_TEMPORARY_DUPLICATE === $clone_action ) {
|
807 |
+
$this->store_temporary_duplicate_timestamp();
|
808 |
+
} else {
|
809 |
+
$instances_with_clone_count = 0;
|
810 |
+
$instance_with_error = null;
|
811 |
+
$has_error = false;
|
812 |
|
813 |
+
$instances = ( ! empty( $fs_instances ) ) ?
|
814 |
+
$fs_instances :
|
815 |
+
Freemius::_get_all_instances();
|
|
|
816 |
|
817 |
+
foreach ( $instances as $instance ) {
|
818 |
+
if ( ! $instance->is_registered() ) {
|
819 |
+
continue;
|
820 |
+
}
|
821 |
|
822 |
+
if ( ! $instance->is_clone() ) {
|
823 |
+
continue;
|
824 |
+
}
|
825 |
|
826 |
+
$instances_with_clone_count ++;
|
827 |
+
|
828 |
+
if ( self::OPTION_NEW_HOME === $clone_action ) {
|
829 |
+
$instance->sync_install( array( 'is_new_site' => true ), true );
|
830 |
+
} else {
|
831 |
+
$instance->_handle_long_term_duplicate();
|
832 |
|
833 |
+
if ( ! is_object( $instance->get_site() ) ) {
|
834 |
+
$has_error = true;
|
835 |
|
836 |
+
if ( ! is_object( $instance_with_error ) ) {
|
837 |
+
$instance_with_error = $instance;
|
838 |
+
}
|
839 |
}
|
840 |
}
|
841 |
}
|
|
|
842 |
|
843 |
+
$redirect_url = '';
|
844 |
|
845 |
+
if (
|
846 |
+
1 === $instances_with_clone_count &&
|
847 |
+
$has_error
|
848 |
+
) {
|
849 |
+
$redirect_url = $instance_with_error->get_activation_url();
|
850 |
+
}
|
851 |
+
|
852 |
+
$result = ( array( 'redirect_url' => $redirect_url ) );
|
853 |
+
}
|
854 |
+
|
855 |
+
if ( 'temporary_duplicate_license_activation' !== $clone_action ) {
|
856 |
+
$this->remove_clone_resolution_options_notice();
|
857 |
+
} else {
|
858 |
+
$this->remove_temporary_duplicate_notice();
|
859 |
}
|
860 |
|
861 |
+
return $result;
|
862 |
}
|
863 |
|
864 |
/**
|
960 |
$product_ids,
|
961 |
$product_titles,
|
962 |
$site_urls,
|
963 |
+
Freemius::get_site_url(),
|
964 |
( count( $site_urls ) === count( $sites_with_license_urls ) ),
|
965 |
( count( $site_urls ) === $sites_with_premium_version_count ),
|
966 |
$doc_url
|
1070 |
continue;
|
1071 |
}
|
1072 |
|
1073 |
+
$subsite_url = trailingslashit( Freemius::get_site_url( $blog_id ) );
|
1074 |
$install_url = trailingslashit( $install->url );
|
1075 |
|
1076 |
$has_clone = ( fs_strip_url_protocol( $install_url ) !== fs_strip_url_protocol( $subsite_url ) );
|
1276 |
$temporary_duplicate_end_date = $this->get_temporary_duplicate_expiration_timestamp();
|
1277 |
$temporary_duplicate_end_date = date( 'M j, Y', $temporary_duplicate_end_date );
|
1278 |
|
1279 |
+
$current_url = Freemius::get_site_url();
|
1280 |
$current_site_link = sprintf(
|
1281 |
'<b><a href="%s" target="_blank">%s</a></b>',
|
1282 |
$current_url,
|
freemius/templates/connect.php
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
$first_name = $current_user->nickname;
|
42 |
}
|
43 |
|
44 |
-
$site_url = get_site_url();
|
45 |
$protocol_pos = strpos( $site_url, '://' );
|
46 |
if ( false !== $protocol_pos ) {
|
47 |
$site_url = substr( $site_url, $protocol_pos + 3 );
|
@@ -1047,4 +1047,4 @@
|
|
1047 |
|
1048 |
//endregion
|
1049 |
})(jQuery);
|
1050 |
-
</script>
|
41 |
$first_name = $current_user->nickname;
|
42 |
}
|
43 |
|
44 |
+
$site_url = Freemius::get_site_url();
|
45 |
$protocol_pos = strpos( $site_url, '://' );
|
46 |
if ( false !== $protocol_pos ) {
|
47 |
$site_url = substr( $site_url, $protocol_pos + 3 );
|
1047 |
|
1048 |
//endregion
|
1049 |
})(jQuery);
|
1050 |
+
</script>
|
freemius/templates/contact.php
CHANGED
@@ -69,7 +69,7 @@
|
|
69 |
$query_params = array_merge( $_GET, array_merge( $context_params, array(
|
70 |
'plugin_version' => $fs->get_plugin_version(),
|
71 |
'wp_login_url' => wp_login_url(),
|
72 |
-
'site_url' => get_site_url(),
|
73 |
// 'wp_admin_css' => get_bloginfo('wpurl') . "/wp-admin/load-styles.php?c=1&load=buttons,wp-admin,dashicons",
|
74 |
) ) );
|
75 |
|
@@ -125,4 +125,4 @@
|
|
125 |
'module_slug' => $slug,
|
126 |
'module_version' => $fs->get_plugin_version(),
|
127 |
);
|
128 |
-
fs_require_template( 'powered-by.php', $params );
|
69 |
$query_params = array_merge( $_GET, array_merge( $context_params, array(
|
70 |
'plugin_version' => $fs->get_plugin_version(),
|
71 |
'wp_login_url' => wp_login_url(),
|
72 |
+
'site_url' => Freemius::get_site_url(),
|
73 |
// 'wp_admin_css' => get_bloginfo('wpurl') . "/wp-admin/load-styles.php?c=1&load=buttons,wp-admin,dashicons",
|
74 |
) ) );
|
75 |
|
125 |
'module_slug' => $slug,
|
126 |
'module_version' => $fs->get_plugin_version(),
|
127 |
);
|
128 |
+
fs_require_template( 'powered-by.php', $params );
|
freemius/templates/forms/affiliation.php
CHANGED
@@ -71,7 +71,7 @@
|
|
71 |
$current_user = Freemius::_get_current_wp_user();
|
72 |
$full_name = trim( $current_user->user_firstname . ' ' . $current_user->user_lastname );
|
73 |
$email_address = $current_user->user_email;
|
74 |
-
$domain = fs_strip_url_protocol( get_site_url() );
|
75 |
}
|
76 |
|
77 |
$affiliate_tracking = 30;
|
@@ -506,4 +506,4 @@
|
|
506 |
'module_version' => $fs->get_plugin_version(),
|
507 |
);
|
508 |
fs_require_template( 'powered-by.php', $params );
|
509 |
-
?>
|
71 |
$current_user = Freemius::_get_current_wp_user();
|
72 |
$full_name = trim( $current_user->user_firstname . ' ' . $current_user->user_lastname );
|
73 |
$email_address = $current_user->user_email;
|
74 |
+
$domain = fs_strip_url_protocol( Freemius::get_site_url() );
|
75 |
}
|
76 |
|
77 |
$affiliate_tracking = 30;
|
506 |
'module_version' => $fs->get_plugin_version(),
|
507 |
);
|
508 |
fs_require_template( 'powered-by.php', $params );
|
509 |
+
?>
|
languages/blocksy-companion.pot
CHANGED
@@ -7,7 +7,7 @@ msgstr ""
|
|
7 |
"MIME-Version: 1.0\n"
|
8 |
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
"Content-Transfer-Encoding: 8bit\n"
|
10 |
-
"POT-Creation-Date: 2022-
|
11 |
"Project-Id-Version: undefined\n"
|
12 |
"X-Poedit-Basepath: ..\n"
|
13 |
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;"
|
@@ -21,238 +21,301 @@ msgstr ""
|
|
21 |
"x-generator: babel-plugin-wp-i18n\n"
|
22 |
|
23 |
#. translators: %s: PHP version
|
24 |
-
#: blocksy-companion.php:128
|
25 |
msgid "Blocksy requires PHP version %s+, plugin is currently NOT RUNNING."
|
26 |
msgstr ""
|
27 |
|
28 |
#. translators: %s: WordPress version
|
29 |
-
#: blocksy-companion.php:139
|
30 |
msgid ""
|
31 |
"Blocksy requires WordPress version %s+. Because you are using an earlier "
|
32 |
"version, the plugin is currently NOT RUNNING."
|
33 |
msgstr ""
|
34 |
|
35 |
#: framework/extensions-manager.php:245,
|
36 |
-
#: framework/
|
|
|
|
|
37 |
msgid "Adobe Typekit"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: framework/extensions-manager.php:246
|
|
|
41 |
msgid ""
|
42 |
"Connect your Typekit account and use your fonts in any typography option."
|
43 |
msgstr ""
|
44 |
|
45 |
#: framework/extensions-manager.php:257,
|
46 |
-
#: framework/
|
|
|
|
|
47 |
msgid "Custom Code Snippets"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: framework/extensions-manager.php:258
|
|
|
51 |
msgid ""
|
52 |
"Add custom code snippets in your header and footer, globally and per post or "
|
53 |
"page individually."
|
54 |
msgstr ""
|
55 |
|
56 |
#: framework/extensions-manager.php:269,
|
57 |
-
#: framework/
|
|
|
|
|
58 |
msgid "Custom Fonts"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: framework/extensions-manager.php:270
|
|
|
62 |
msgid ""
|
63 |
"Upload unlimited number of custom fonts or variable fonts and use them in "
|
64 |
"any typography option."
|
65 |
msgstr ""
|
66 |
|
67 |
#: framework/extensions-manager.php:281,
|
68 |
-
#: framework/
|
|
|
|
|
69 |
msgid "Local Google Fonts"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: framework/extensions-manager.php:282
|
|
|
73 |
msgid "Serve Google Fonts from your own server for full GDPR compliancy."
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: framework/extensions-manager.php:293
|
|
|
77 |
msgid "Advanced Menu"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: framework/extensions-manager.php:294
|
|
|
81 |
msgid ""
|
82 |
"Create beautiful mega menus, assign icons add badges to menu items, and "
|
83 |
"content blocks inside menu items."
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: framework/extensions-manager.php:305
|
|
|
87 |
msgid "Shortcuts Bar"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: framework/extensions-manager.php:306
|
|
|
91 |
msgid ""
|
92 |
"Transform your website into a app like by displaying a neat shortcuts bar at "
|
93 |
"the bottom of the vieport."
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: framework/extensions-manager.php:317
|
|
|
97 |
msgid "Multiple Sidebars"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: framework/extensions-manager.php:318
|
|
|
101 |
msgid ""
|
102 |
"Create unlimited number of sidebars and display them conditionaly on any "
|
103 |
"page or post."
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: framework/extensions-manager.php:329
|
|
|
107 |
msgid "White Label (Agency Package)"
|
108 |
msgstr ""
|
109 |
|
110 |
-
#: framework/extensions-manager.php:330
|
|
|
111 |
msgid "Change the theme and companion plugin branding to your own custom one."
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: framework/extensions-manager.php:341
|
|
|
115 |
msgid "WooCommerce Extra"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: framework/extensions-manager.php:342
|
|
|
119 |
msgid ""
|
120 |
"Increase the conversion rate by adding a product quick view modal, a "
|
121 |
"floating cart. Control the single product gallery/slider and the layout, add "
|
122 |
"a wishlits page."
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: framework/theme-integration.php:
|
|
|
126 |
#: framework/extensions/widgets/widgets/ct-facebook/options.php:16,
|
127 |
#: framework/extensions/widgets/widgets/ct-facebook/view.php:12,
|
128 |
-
#: framework/extensions/widgets/widgets/ct-facebook/widget.php:13
|
|
|
|
|
|
|
129 |
msgid "Facebook"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: framework/theme-integration.php:
|
|
|
133 |
msgid "Twitter"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: framework/theme-integration.php:
|
|
|
137 |
msgid "LinkedIn"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: framework/theme-integration.php:
|
|
|
141 |
msgid "Dribbble"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: framework/theme-integration.php:
|
|
|
145 |
msgid "Instagram"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: framework/theme-integration.php:
|
|
|
149 |
msgid "Pinterest"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: framework/theme-integration.php:
|
|
|
153 |
msgid "WordPress"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: framework/theme-integration.php:
|
|
|
157 |
msgid "GitHub"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: framework/theme-integration.php:
|
161 |
-
#:
|
162 |
-
#: framework/extensions/widgets/widgets/ct-
|
163 |
-
#: framework/
|
|
|
|
|
|
|
|
|
164 |
msgid "Medium"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: framework/theme-integration.php:
|
|
|
168 |
msgid "YouTube"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: framework/theme-integration.php:
|
|
|
172 |
msgid "Vimeo"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: framework/theme-integration.php:
|
|
|
176 |
msgid "VKontakte"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: framework/theme-integration.php:
|
|
|
180 |
msgid "Odnoklassniki"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: framework/theme-integration.php:
|
|
|
184 |
msgid "TikTok"
|
185 |
msgstr ""
|
186 |
|
187 |
-
#: framework/theme-integration.php:
|
|
|
188 |
msgid "Companion"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: framework/theme-integration.php:
|
|
|
|
|
192 |
msgid "PRO"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: framework/widgets-manager.php:75
|
|
|
196 |
msgid "Default widget name"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: framework/widgets-manager.php:81
|
|
|
200 |
msgid "Display online support infomation"
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: framework/widgets-manager.php:144
|
|
|
204 |
msgid "Widget Title"
|
205 |
msgstr ""
|
206 |
|
207 |
#. translators: %s: Link to the login page.
|
208 |
-
#: framework/features/account-auth.php:92
|
|
|
209 |
msgid ""
|
210 |
"Check your email for the confirmation link, then visit the <a href=\"%s"
|
211 |
"\">login page</a>."
|
212 |
msgstr ""
|
213 |
|
214 |
#: framework/features/account-auth.php:104,
|
215 |
-
#: framework/features/account-auth.php:232
|
|
|
|
|
216 |
msgid "Check your email"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: framework/features/account-auth.php:199
|
|
|
220 |
msgid ""
|
221 |
"Your account was created successfully. Your login details have been sent to "
|
222 |
"your email address. Please visit the <a href=\"%s\">login page</a>."
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: framework/features/account-auth.php:208
|
|
|
226 |
msgid ""
|
227 |
"Your account was created successfully and a password has been sent to your "
|
228 |
"email address. Please visit the <a href=\"%s\">login page</a>."
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: framework/features/account-auth.php:238
|
|
|
232 |
msgid "Registration Form"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: framework/features/account-auth.php:239
|
|
|
236 |
msgid "Register For This Site"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: framework/features/conditions-manager.php:479
|
|
|
240 |
msgid "Entire Website"
|
241 |
msgstr ""
|
242 |
|
243 |
#: framework/features/conditions-manager.php:487,
|
244 |
#: framework/features/conditions-manager.php:529,
|
245 |
-
#: framework/features/conditions-manager.php:561
|
|
|
|
|
|
|
246 |
msgid "Basic"
|
247 |
msgstr ""
|
248 |
|
249 |
#: framework/features/conditions-manager.php:491,
|
250 |
-
#: framework/features/conditions-manager.php:565
|
|
|
|
|
251 |
msgid "Singulars"
|
252 |
msgstr ""
|
253 |
|
254 |
#: framework/features/conditions-manager.php:496,
|
255 |
-
#: framework/features/conditions-manager.php:533
|
|
|
|
|
256 |
msgid "Archives"
|
257 |
msgstr ""
|
258 |
|
@@ -260,205 +323,276 @@ msgstr ""
|
|
260 |
#: framework/features/conditions-manager.php:539,
|
261 |
#: framework/features/conditions-manager.php:571,
|
262 |
#: framework/extensions/trending/customizer.php:4,
|
|
|
|
|
|
|
|
|
263 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:11,
|
264 |
#: framework/extensions/widgets/widgets/ct-posts/options.php:98,
|
265 |
#: framework/extensions/widgets/widgets/ct-posts/view.php:139,
|
266 |
#: framework/extensions/widgets/widgets/ct-posts/widget.php:13,
|
267 |
-
#: framework/premium/features/premium-header/items/search-input/options.php:4
|
|
|
|
|
|
|
|
|
|
|
268 |
msgid "Posts"
|
269 |
msgstr ""
|
270 |
|
271 |
#: framework/features/conditions-manager.php:506,
|
272 |
#: framework/features/conditions-manager.php:575,
|
|
|
|
|
273 |
#: framework/premium/features/content-blocks/hooks-manager.php:408,
|
274 |
#: framework/premium/features/content-blocks/hooks-manager.php:416,
|
275 |
#: framework/premium/features/content-blocks/hooks-manager.php:424,
|
276 |
#: framework/premium/features/content-blocks/hooks-manager.php:431,
|
277 |
#: framework/premium/features/content-blocks/hooks-manager.php:438,
|
278 |
-
#: framework/premium/features/content-blocks/hooks-manager.php:446
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
msgid "Single Post"
|
280 |
msgstr ""
|
281 |
|
282 |
#: framework/features/conditions-manager.php:511,
|
283 |
-
#: framework/features/conditions-manager.php:543
|
|
|
|
|
284 |
msgid "All Post Archives"
|
285 |
msgstr ""
|
286 |
|
287 |
#: framework/features/conditions-manager.php:516, |