Version Description
- 2018-07-06
Download this release
Release Info
Developer | themeisle |
Plugin | Elementor Addons & Templates – Sizzify Lite |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- CHANGELOG.md +8 -0
- elementor-addon-widgets.php +2 -2
- readme.md +9 -0
- readme.txt +9 -0
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/elementor-extra-widgets/class-elementor-extra-widgets.php +1 -1
- vendor/codeinwp/elementor-extra-widgets/composer.json +1 -1
- vendor/codeinwp/elementor-extra-widgets/widgets/elementor/posts-grid.php +7 -4
- vendor/codeinwp/templates-directory/class-page-templates-directory.php +17 -2
- vendor/codeinwp/templates-directory/composer.json +1 -1
- vendor/codeinwp/templates-directory/js/script.js +1 -1
- vendor/codeinwp/templates-directory/views/template-directory-page-tpl.php +3 -1
- vendor/codeinwp/themeisle-content-forms/class-themeisle-content-forms-elementor.php +58 -20
- vendor/codeinwp/themeisle-content-forms/composer.json +1 -1
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php +6 -6
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php +51 -57
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-logger.php +10 -10
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php +84 -11
- vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php +106 -92
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +16 -16
CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
### v1.2.0 - 2018-03-29
|
3 |
**Changes:**
|
4 |
* Adds support for the premium version.
|
1 |
|
2 |
+
### v1.2.1 - 2018-07-06
|
3 |
+
**Changes:**
|
4 |
+
* Fixes post grid pagination issue
|
5 |
+
* Fixes post grid colors not applying correctly
|
6 |
+
* Fixes Templates directory import issue
|
7 |
+
* Fixes content forms placeholder not used
|
8 |
+
* New templates in the templates directory
|
9 |
+
|
10 |
### v1.2.0 - 2018-03-29
|
11 |
**Changes:**
|
12 |
* Adds support for the premium version.
|
elementor-addon-widgets.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Elementor Addons & Templates - Sizzify Lite
|
4 |
* Plugin URI: https://themeisle.com/
|
5 |
* Description: Adds new Addons & Widgets that are specifically designed to be used in conjunction with the Elementor Page Builder.
|
6 |
-
* Version: 1.2.
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com/
|
9 |
* Requires at least: 4.4
|
@@ -23,7 +23,7 @@ Constants
|
|
23 |
------------------------------------------ */
|
24 |
|
25 |
/* Set plugin version constant. */
|
26 |
-
define( 'EA_VERSION', '1.2.
|
27 |
|
28 |
/* Set constant path to the plugin directory. */
|
29 |
define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
3 |
* Plugin Name: Elementor Addons & Templates - Sizzify Lite
|
4 |
* Plugin URI: https://themeisle.com/
|
5 |
* Description: Adds new Addons & Widgets that are specifically designed to be used in conjunction with the Elementor Page Builder.
|
6 |
+
* Version: 1.2.1
|
7 |
* Author: ThemeIsle
|
8 |
* Author URI: https://themeisle.com/
|
9 |
* Requires at least: 4.4
|
23 |
------------------------------------------ */
|
24 |
|
25 |
/* Set plugin version constant. */
|
26 |
+
define( 'EA_VERSION', '1.2.1' );
|
27 |
|
28 |
/* Set constant path to the plugin directory. */
|
29 |
define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
readme.md
CHANGED
@@ -61,6 +61,15 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
|
|
61 |
4. Frontend view posts with custom title.
|
62 |
|
63 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
### 1.2.0 - 2018-03-29 ###
|
65 |
|
66 |
* Adds support for the premium version.
|
61 |
4. Frontend view posts with custom title.
|
62 |
|
63 |
## Changelog ##
|
64 |
+
### 1.2.1 - 2018-07-06 ###
|
65 |
+
|
66 |
+
* Fixes post grid pagination issue
|
67 |
+
* Fixes post grid colors not applying correctly
|
68 |
+
* Fixes Templates directory import issue
|
69 |
+
* Fixes content forms placeholder not used
|
70 |
+
* New templates in the templates directory
|
71 |
+
|
72 |
+
|
73 |
### 1.2.0 - 2018-03-29 ###
|
74 |
|
75 |
* Adds support for the premium version.
|
readme.txt
CHANGED
@@ -61,6 +61,15 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
|
|
61 |
4. Frontend view posts with custom title.
|
62 |
|
63 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
= 1.2.0 - 2018-03-29 =
|
65 |
|
66 |
* Adds support for the premium version.
|
61 |
4. Frontend view posts with custom title.
|
62 |
|
63 |
== Changelog ==
|
64 |
+
= 1.2.1 - 2018-07-06 =
|
65 |
+
|
66 |
+
* Fixes post grid pagination issue
|
67 |
+
* Fixes post grid colors not applying correctly
|
68 |
+
* Fixes Templates directory import issue
|
69 |
+
* Fixes content forms placeholder not used
|
70 |
+
* New templates in the templates directory
|
71 |
+
|
72 |
+
|
73 |
= 1.2.0 - 2018-03-29 =
|
74 |
|
75 |
* Adds support for the premium version.
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eaw-class.php":"414c18cd16dd525c99fc20b4d5505ece","elementor-addon-widgets.php":"
|
1 |
+
{"eaw-class.php":"414c18cd16dd525c99fc20b4d5505ece","elementor-addon-widgets.php":"e04f75589ee5afb43fb6c81e7e3ff8e7"}
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit857789efd9de014907eb776c76d26a74::getLoader();
|
vendor/codeinwp/elementor-extra-widgets/class-elementor-extra-widgets.php
CHANGED
@@ -22,7 +22,7 @@ if ( ! class_exists( '\ThemeIsle\ElementorExtraWidgets' ) ) {
|
|
22 |
* The version of this library
|
23 |
* @var string
|
24 |
*/
|
25 |
-
public static $version = '1.0.
|
26 |
|
27 |
/**
|
28 |
* Defines the library behaviour
|
22 |
* The version of this library
|
23 |
* @var string
|
24 |
*/
|
25 |
+
public static $version = '1.0.2';
|
26 |
|
27 |
/**
|
28 |
* Defines the library behaviour
|
vendor/codeinwp/elementor-extra-widgets/composer.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"name": "codeinwp/elementor-extra-widgets",
|
3 |
"type": "library",
|
4 |
-
"version": "1.0.
|
5 |
"license": "GPL-3.0-or-later",
|
6 |
"minimum-stability": "dev",
|
7 |
"homepage": "https://github.com/Codeinwp/elementor-extra-widgets",
|
1 |
{
|
2 |
"name": "codeinwp/elementor-extra-widgets",
|
3 |
"type": "library",
|
4 |
+
"version": "1.0.2",
|
5 |
"license": "GPL-3.0-or-later",
|
6 |
"minimum-stability": "dev",
|
7 |
"homepage": "https://github.com/Codeinwp/elementor-extra-widgets",
|
vendor/codeinwp/elementor-extra-widgets/widgets/elementor/posts-grid.php
CHANGED
@@ -893,7 +893,7 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
893 |
[
|
894 |
'name' => 'grid_title_style_typography',
|
895 |
'scheme' => \Elementor\Scheme_Typography::TYPOGRAPHY_1,
|
896 |
-
'selector' => '{{WRAPPER}} .obfx-grid-title',
|
897 |
]
|
898 |
);
|
899 |
|
@@ -908,8 +908,8 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
908 |
'value' => \Elementor\Scheme_Color::COLOR_1,
|
909 |
],
|
910 |
'selectors' => [
|
911 |
-
'{{WRAPPER}} .obfx-grid-title'
|
912 |
-
'{{WRAPPER}} .obfx-grid-title a'
|
913 |
],
|
914 |
]
|
915 |
);
|
@@ -1422,7 +1422,10 @@ class Posts_Grid extends \Elementor\Widget_Base {
|
|
1422 |
|
1423 |
// Pagination.
|
1424 |
if ( ! empty( $settings['grid_pagination'] ) ) {
|
1425 |
-
$paged =
|
|
|
|
|
|
|
1426 |
$args['paged'] = $paged;
|
1427 |
}
|
1428 |
|
893 |
[
|
894 |
'name' => 'grid_title_style_typography',
|
895 |
'scheme' => \Elementor\Scheme_Typography::TYPOGRAPHY_1,
|
896 |
+
'selector' => '{{WRAPPER}} .obfx-grid .entry-title.obfx-grid-title, {{WRAPPER}} .obfx-grid .entry-title.obfx-grid-title > a',
|
897 |
]
|
898 |
);
|
899 |
|
908 |
'value' => \Elementor\Scheme_Color::COLOR_1,
|
909 |
],
|
910 |
'selectors' => [
|
911 |
+
'{{WRAPPER}} .obfx-grid .entry-title.obfx-grid-title' => 'color: {{VALUE}};',
|
912 |
+
'{{WRAPPER}} .obfx-grid .entry-title.obfx-grid-title > a' => 'color: {{VALUE}};',
|
913 |
],
|
914 |
]
|
915 |
);
|
1422 |
|
1423 |
// Pagination.
|
1424 |
if ( ! empty( $settings['grid_pagination'] ) ) {
|
1425 |
+
$paged = get_query_var( 'paged' );
|
1426 |
+
if ( empty( $paged ) ) {
|
1427 |
+
$paged = get_query_var( 'page' );
|
1428 |
+
}
|
1429 |
$args['paged'] = $paged;
|
1430 |
}
|
1431 |
|
vendor/codeinwp/templates-directory/class-page-templates-directory.php
CHANGED
@@ -14,7 +14,7 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
14 |
* The version of this library
|
15 |
* @var string
|
16 |
*/
|
17 |
-
public static $version = '1.0.
|
18 |
|
19 |
/**
|
20 |
* Holds the module slug.
|
@@ -242,6 +242,20 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
242 |
'screenshot' => esc_url( $this->get_source_url() . 'mocha-elementor/screenshot.png' ),
|
243 |
'import_file' => esc_url( $this->get_source_url() . 'mocha-elementor/template.json' ),
|
244 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
);
|
246 |
|
247 |
foreach ( $templates_list as $template => $properties ) {
|
@@ -315,9 +329,10 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
315 |
require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
|
316 |
|
317 |
$template = download_url( esc_url( $_POST['template_url'] ) );
|
|
|
318 |
$_FILES['file']['tmp_name'] = $template;
|
319 |
$elementor = new \Elementor\TemplateLibrary\Source_Local;
|
320 |
-
$elementor->import_template();
|
321 |
unlink( $template );
|
322 |
|
323 |
$args = array(
|
14 |
* The version of this library
|
15 |
* @var string
|
16 |
*/
|
17 |
+
public static $version = '1.0.4';
|
18 |
|
19 |
/**
|
20 |
* Holds the module slug.
|
242 |
'screenshot' => esc_url( $this->get_source_url() . 'mocha-elementor/screenshot.png' ),
|
243 |
'import_file' => esc_url( $this->get_source_url() . 'mocha-elementor/template.json' ),
|
244 |
),
|
245 |
+
'rik-landing' => array(
|
246 |
+
'title' => __( 'Rik - Landing Page', 'elementor-addon-widgets' ),
|
247 |
+
'description' => __( 'This is a clean Landing page, ready to be used for an app presentation. It features beautiful gradients and great layouts for showcasing your product.', 'elementor-addon-widgets' ),
|
248 |
+
'demo_url' => 'https://demo.themeisle.com/hestia-pro-demo-content/rik-elementor/',
|
249 |
+
'screenshot' => esc_url( $this->get_source_url() . 'rik-elementor/screenshot.jpg' ),
|
250 |
+
'import_file' => esc_url( $this->get_source_url() . 'rik-elementor/template.json' ),
|
251 |
+
),
|
252 |
+
'zerif-lite' => array(
|
253 |
+
'title' => __( 'Zerif Lite - One Page Template', 'elementor-addon-widgets' ),
|
254 |
+
'description' => __( 'A friendly one-page WordPress multipurpose theme, with a full-width image in the background and a simple white menu bar at the top. It comes with an elegant and modern design, which could fit very well any kind of business. Zerif Lite has an interactive and colorful interface, with classy parallax effect and lively animations. You can use it for your online shop as well.', 'elementor-addon-widgets' ),
|
255 |
+
'demo_url' => 'https://demo.themeisle.com/hestia-pro-demo-content/zerif-lite/',
|
256 |
+
'screenshot' => esc_url( $this->get_source_url() . 'zerif-elementor/screenshot.jpg' ),
|
257 |
+
'import_file' => esc_url( $this->get_source_url() . 'zerif-elementor/template.json' ),
|
258 |
+
),
|
259 |
);
|
260 |
|
261 |
foreach ( $templates_list as $template => $properties ) {
|
329 |
require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
|
330 |
|
331 |
$template = download_url( esc_url( $_POST['template_url'] ) );
|
332 |
+
$name = $_POST['template_name'];
|
333 |
$_FILES['file']['tmp_name'] = $template;
|
334 |
$elementor = new \Elementor\TemplateLibrary\Source_Local;
|
335 |
+
$elementor->import_template( $name, $template );
|
336 |
unlink( $template );
|
337 |
|
338 |
$args = array(
|
vendor/codeinwp/templates-directory/composer.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"name": "codeinwp/templates-directory",
|
3 |
"description": "A WordPress library to manage page templates.",
|
4 |
"type": "library",
|
5 |
-
"version": "1.0.
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/templates-directory",
|
8 |
"authors": [
|
2 |
"name": "codeinwp/templates-directory",
|
3 |
"description": "A WordPress library to manage page templates.",
|
4 |
"type": "library",
|
5 |
+
"version": "1.0.4",
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/templates-directory",
|
8 |
"authors": [
|
vendor/codeinwp/templates-directory/js/script.js
CHANGED
@@ -138,7 +138,7 @@ var obfx_template_directory = function ( $ ) {
|
|
138 |
|
139 |
// Handle sidebar collapse in preview.
|
140 |
$( '.obfx-template-preview' ).on(
|
141 |
-
'click', '.collapse-sidebar', function () {
|
142 |
event.preventDefault();
|
143 |
var overlay = $( '.obfx-template-preview' );
|
144 |
if ( overlay.hasClass( 'expanded' ) ) {
|
138 |
|
139 |
// Handle sidebar collapse in preview.
|
140 |
$( '.obfx-template-preview' ).on(
|
141 |
+
'click', '.collapse-sidebar', function (event) {
|
142 |
event.preventDefault();
|
143 |
var overlay = $( '.obfx-template-preview' );
|
144 |
if ( overlay.hasClass( 'expanded' ) ) {
|
vendor/codeinwp/templates-directory/views/template-directory-page-tpl.php
CHANGED
@@ -79,8 +79,10 @@ if ( is_array( $templates_array ) ) { ?>
|
|
79 |
?>
|
80 |
<div class="install-theme-info obfx-theme-info <?php echo esc_attr( $template ); ?>"
|
81 |
data-demo-url="<?php echo esc_url( $properties['demo_url'] ); ?>"
|
|
|
82 |
data-template-file="<?php echo esc_url( $properties['import_file'] ); ?>"
|
83 |
-
|
|
|
84 |
data-upsell="<?php echo esc_attr( $upsell ) ?>">
|
85 |
<h3 class="theme-name"><?php echo esc_html( $properties['title'] ); ?></h3>
|
86 |
<div class="obfx-preview-wrap">
|
79 |
?>
|
80 |
<div class="install-theme-info obfx-theme-info <?php echo esc_attr( $template ); ?>"
|
81 |
data-demo-url="<?php echo esc_url( $properties['demo_url'] ); ?>"
|
82 |
+
<?php if( isset( $properties['import_file'] ) ) { ?>
|
83 |
data-template-file="<?php echo esc_url( $properties['import_file'] ); ?>"
|
84 |
+
<?php } ?>
|
85 |
+
data-template-title="<?php echo esc_html( $properties['title'] ); ?>"
|
86 |
data-upsell="<?php echo esc_attr( $upsell ) ?>">
|
87 |
<h3 class="theme-name"><?php echo esc_html( $properties['title'] ); ?></h3>
|
88 |
<div class="obfx-preview-wrap">
|
vendor/codeinwp/themeisle-content-forms/class-themeisle-content-forms-elementor.php
CHANGED
@@ -90,6 +90,39 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
90 |
}
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
}
|
94 |
|
95 |
protected function _register_settings_controls() {
|
@@ -120,6 +153,8 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
120 |
);
|
121 |
}
|
122 |
|
|
|
|
|
123 |
$this->end_controls_section();
|
124 |
}
|
125 |
|
@@ -202,7 +237,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
202 |
'type' => $field['type'],
|
203 |
'label' => $field['label'],
|
204 |
'requirement' => $field['require'],
|
205 |
-
|
206 |
'width' => '100',
|
207 |
);
|
208 |
}
|
@@ -252,13 +287,13 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
252 |
$control_value = $settings[ $control_name ];
|
253 |
}
|
254 |
if ( isset( $control['required'] ) && $control['required'] && empty( $control_value ) ) { ?>
|
255 |
-
|
256 |
<?php
|
257 |
printf(
|
258 |
esc_html__( 'The %s setting is required!', 'elementor-addon-widgets' ),
|
259 |
'<strong>' . $control['label'] . '</strong>'
|
260 |
); ?>
|
261 |
-
|
262 |
<?php
|
263 |
}
|
264 |
}
|
@@ -274,11 +309,11 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
274 |
if ( ! empty( $controls['submit_label'] ) ) {
|
275 |
$btn_label = $this->get_settings( 'submit_label' );
|
276 |
} ?>
|
277 |
-
|
278 |
-
|
279 |
<?php echo $btn_label; ?>
|
280 |
-
|
281 |
-
|
282 |
<?php
|
283 |
|
284 |
$this->render_form_footer();
|
@@ -290,9 +325,9 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
290 |
*/
|
291 |
protected function maybe_load_widget_style() {
|
292 |
if ( \Elementor\Plugin::$instance->editor->is_edit_mode() === true && apply_filters( 'themeisle_content_forms_register_default_style', true ) ) { ?>
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
<?php
|
297 |
} else {
|
298 |
// if `themeisle_content_forms_register_default_style` is false, the style won't be registered anyway
|
@@ -340,6 +375,8 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
340 |
private function render_form_field( $field, $is_preview = false ) {
|
341 |
$item_index = $field['_id'];
|
342 |
$key = ! empty( $field['key'] ) ? $field['key'] : sanitize_title( $field['label'] );
|
|
|
|
|
343 |
$required = '';
|
344 |
$form_id = $this->get_data( 'id' );
|
345 |
|
@@ -347,7 +384,7 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
347 |
$required = 'required="required"';
|
348 |
}
|
349 |
|
350 |
-
|
351 |
$disabled = '';
|
352 |
if ( $is_preview ) {
|
353 |
$disabled = 'disabled="disabled"';
|
@@ -356,33 +393,34 @@ class ElementorWidget extends \Elementor\Widget_Base {
|
|
356 |
$field_name = 'data[' . $form_id . '][' . $key . ']';
|
357 |
|
358 |
$this->add_inline_editing_attributes( $item_index . '_label', 'none' ); ?>
|
359 |
-
|
360 |
<?php echo $this->get_render_attribute_string( 'fieldset' . $item_index ); ?> >
|
361 |
|
362 |
-
|
363 |
<?php echo $this->get_render_attribute_string( 'label' . $item_index ); ?>>
|
364 |
<?php echo $field['label']; ?>
|
365 |
-
|
366 |
|
367 |
<?php
|
368 |
switch ( $field['type'] ) {
|
369 |
case 'textarea': ?>
|
370 |
-
|
371 |
<?php echo $disabled; ?>
|
372 |
<?php echo $required; ?>
|
373 |
-
|
|
|
374 |
<?php break;
|
375 |
case 'password': ?>
|
376 |
-
|
377 |
<?php echo $required; ?> <?php echo $disabled; ?>>
|
378 |
<?php break;
|
379 |
default: ?>
|
380 |
-
|
381 |
-
<?php echo $required; ?> <?php echo $disabled;
|
382 |
<?php
|
383 |
break;
|
384 |
} ?>
|
385 |
-
|
386 |
<?php
|
387 |
}
|
388 |
|
90 |
}
|
91 |
}
|
92 |
|
93 |
+
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Add alignment control for button
|
98 |
+
*/
|
99 |
+
protected function add_submit_button_align() {
|
100 |
+
$this->add_responsive_control(
|
101 |
+
'align_submit',
|
102 |
+
[
|
103 |
+
'label' => __( 'Alignment', 'elementor-addon-widgets' ),
|
104 |
+
'type' => \Elementor\Controls_Manager::CHOOSE,
|
105 |
+
'toggle' => false,
|
106 |
+
'default' => 'left',
|
107 |
+
'options' => [
|
108 |
+
'left' => [
|
109 |
+
'title' => __( 'Left', 'elementor-addon-widgets' ),
|
110 |
+
'icon' => 'fa fa-align-left',
|
111 |
+
],
|
112 |
+
'center' => [
|
113 |
+
'title' => __( 'Center', 'elementor-addon-widgets' ),
|
114 |
+
'icon' => 'fa fa-align-center',
|
115 |
+
],
|
116 |
+
'right' => [
|
117 |
+
'title' => __( 'Right', 'elementor-addon-widgets' ),
|
118 |
+
'icon' => 'fa fa-align-right',
|
119 |
+
],
|
120 |
+
],
|
121 |
+
'selectors' => [
|
122 |
+
'{{WRAPPER}} .content-form .submit-form' => 'text-align: {{VALUE}};',
|
123 |
+
],
|
124 |
+
]
|
125 |
+
);
|
126 |
}
|
127 |
|
128 |
protected function _register_settings_controls() {
|
153 |
);
|
154 |
}
|
155 |
|
156 |
+
$this->add_submit_button_align();
|
157 |
+
|
158 |
$this->end_controls_section();
|
159 |
}
|
160 |
|
237 |
'type' => $field['type'],
|
238 |
'label' => $field['label'],
|
239 |
'requirement' => $field['require'],
|
240 |
+
'placeholder' => isset( $field['placeholder'] ) ? $field['placeholder'] : $field['label'],
|
241 |
'width' => '100',
|
242 |
);
|
243 |
}
|
287 |
$control_value = $settings[ $control_name ];
|
288 |
}
|
289 |
if ( isset( $control['required'] ) && $control['required'] && empty( $control_value ) ) { ?>
|
290 |
+
<div class="content-forms-required">
|
291 |
<?php
|
292 |
printf(
|
293 |
esc_html__( 'The %s setting is required!', 'elementor-addon-widgets' ),
|
294 |
'<strong>' . $control['label'] . '</strong>'
|
295 |
); ?>
|
296 |
+
</div>
|
297 |
<?php
|
298 |
}
|
299 |
}
|
309 |
if ( ! empty( $controls['submit_label'] ) ) {
|
310 |
$btn_label = $this->get_settings( 'submit_label' );
|
311 |
} ?>
|
312 |
+
<fieldset class="submit-form">
|
313 |
+
<button type="submit" name="submit" value="submit-<?php echo $this->form_type; ?>-<?php echo $form_id; ?>">
|
314 |
<?php echo $btn_label; ?>
|
315 |
+
</button>
|
316 |
+
</fieldset>
|
317 |
<?php
|
318 |
|
319 |
$this->render_form_footer();
|
325 |
*/
|
326 |
protected function maybe_load_widget_style() {
|
327 |
if ( \Elementor\Plugin::$instance->editor->is_edit_mode() === true && apply_filters( 'themeisle_content_forms_register_default_style', true ) ) { ?>
|
328 |
+
<style>
|
329 |
+
<?php echo file_get_contents( plugin_dir_path( __FILE__ ) . '/assets/content-forms.css' ) ?>
|
330 |
+
</style>
|
331 |
<?php
|
332 |
} else {
|
333 |
// if `themeisle_content_forms_register_default_style` is false, the style won't be registered anyway
|
375 |
private function render_form_field( $field, $is_preview = false ) {
|
376 |
$item_index = $field['_id'];
|
377 |
$key = ! empty( $field['key'] ) ? $field['key'] : sanitize_title( $field['label'] );
|
378 |
+
$placeholder = ! empty( $field['placeholder'] ) ? $field['placeholder'] : '';
|
379 |
+
|
380 |
$required = '';
|
381 |
$form_id = $this->get_data( 'id' );
|
382 |
|
384 |
$required = 'required="required"';
|
385 |
}
|
386 |
|
387 |
+
// in case this is a preview, we need to disable the actual inputs and transform the labels in inputs
|
388 |
$disabled = '';
|
389 |
if ( $is_preview ) {
|
390 |
$disabled = 'disabled="disabled"';
|
393 |
$field_name = 'data[' . $form_id . '][' . $key . ']';
|
394 |
|
395 |
$this->add_inline_editing_attributes( $item_index . '_label', 'none' ); ?>
|
396 |
+
<fieldset class="content-form-field-<?php echo $field['type'] ?>"
|
397 |
<?php echo $this->get_render_attribute_string( 'fieldset' . $item_index ); ?> >
|
398 |
|
399 |
+
<label for="<?php echo $field_name ?>"
|
400 |
<?php echo $this->get_render_attribute_string( 'label' . $item_index ); ?>>
|
401 |
<?php echo $field['label']; ?>
|
402 |
+
</label>
|
403 |
|
404 |
<?php
|
405 |
switch ( $field['type'] ) {
|
406 |
case 'textarea': ?>
|
407 |
+
<textarea name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
|
408 |
<?php echo $disabled; ?>
|
409 |
<?php echo $required; ?>
|
410 |
+
placeholder="<?php echo esc_attr ( $placeholder ); ?>"
|
411 |
+
cols="30" rows="5"></textarea>
|
412 |
<?php break;
|
413 |
case 'password': ?>
|
414 |
+
<input type="password" name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
|
415 |
<?php echo $required; ?> <?php echo $disabled; ?>>
|
416 |
<?php break;
|
417 |
default: ?>
|
418 |
+
<input type="text" name="<?php echo $field_name ?>" id="<?php echo $field_name ?>"
|
419 |
+
<?php echo $required; ?> <?php echo $disabled; ?> placeholder="<?php echo esc_attr ( $placeholder ); ?>">
|
420 |
<?php
|
421 |
break;
|
422 |
} ?>
|
423 |
+
</fieldset>
|
424 |
<?php
|
425 |
}
|
426 |
|
vendor/codeinwp/themeisle-content-forms/composer.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "codeinwp/themeisle-content-forms",
|
3 |
-
"version": "1.0.
|
4 |
"description": "ThemeIsle Content Forms ",
|
5 |
"keywords": [
|
6 |
"wordpress"
|
1 |
{
|
2 |
"name": "codeinwp/themeisle-content-forms",
|
3 |
+
"version": "1.0.3",
|
4 |
"description": "ThemeIsle Content Forms ",
|
5 |
"keywords": [
|
6 |
"wordpress"
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php
CHANGED
@@ -515,12 +515,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
|
|
515 |
return '<div id="' . $this->product->get_key() . '">'
|
516 |
. '<ul class="ti-list">' . $list . '</ul>'
|
517 |
. '<div class="actions">'
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
525 |
. '</div></div>';
|
526 |
}
|
515 |
return '<div id="' . $this->product->get_key() . '">'
|
516 |
. '<ul class="ti-list">' . $list . '</ul>'
|
517 |
. '<div class="actions">'
|
518 |
+
. get_submit_button(
|
519 |
+
$button_submit, 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
|
520 |
+
'data-after-text' => $button_submit,
|
521 |
+
'disabled' => true,
|
522 |
+
)
|
523 |
+
)
|
524 |
. get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
|
525 |
. '</div></div>';
|
526 |
}
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-licenser.php
CHANGED
@@ -49,7 +49,8 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
49 |
* @param ThemeIsle_SDK_Product $product The product object.
|
50 |
*/
|
51 |
public function __construct( $product ) {
|
52 |
-
$this->product
|
|
|
53 |
$this->product_key = $this->product->get_key() . '-update-response';
|
54 |
if ( ! $this->product->requires_license() ) {
|
55 |
$this->license_key = 'free';
|
@@ -517,6 +518,39 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
517 |
delete_transient( $this->product_key );
|
518 |
}
|
519 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
/**
|
521 |
* Check for updates
|
522 |
*
|
@@ -525,49 +559,29 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
525 |
function check_for_update() {
|
526 |
$theme = wp_get_theme( $this->product->get_slug() );
|
527 |
$update_data = get_transient( $this->product_key );
|
|
|
528 |
if ( false === $update_data ) {
|
529 |
$failed = false;
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
$api_params = array(
|
534 |
-
'edd_action' => 'get_version',
|
535 |
-
'version' => $this->product->get_version(),
|
536 |
-
'license' => $this->license_key,
|
537 |
-
'name' => $this->product->get_name(),
|
538 |
-
'slug' => $this->product->get_slug(),
|
539 |
-
'author' => $this->product->get_store_name(),
|
540 |
-
'url' => rawurlencode( home_url() ),
|
541 |
-
);
|
542 |
-
$response = wp_remote_post(
|
543 |
-
$this->product->get_store_url(), array(
|
544 |
-
'timeout' => 15,
|
545 |
-
'sslverify' => false,
|
546 |
-
'body' => $api_params,
|
547 |
-
)
|
548 |
-
);
|
549 |
-
// make sure the response was successful
|
550 |
-
if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
|
551 |
-
$failed = true;
|
552 |
-
}
|
553 |
-
$update_data = json_decode( wp_remote_retrieve_body( $response ) );
|
554 |
-
if ( ! is_object( $update_data ) ) {
|
555 |
$failed = true;
|
556 |
}
|
557 |
-
//
|
558 |
if ( $failed ) {
|
559 |
$data = new stdClass;
|
560 |
$data->new_version = $this->product->get_version();
|
561 |
set_transient( $this->product_key, $data, strtotime( '+30 minutes' ) );
|
562 |
|
563 |
return false;
|
564 |
-
}
|
565 |
-
// if the status is 'ok', return the update arguments
|
566 |
-
if ( ! $failed ) {
|
567 |
$update_data->sections = maybe_unserialize( $update_data->sections );
|
568 |
set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
|
569 |
}
|
570 |
}
|
|
|
|
|
|
|
571 |
if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
|
572 |
return false;
|
573 |
}
|
@@ -618,34 +632,14 @@ if ( ! class_exists( 'ThemeIsle_SDK_Licenser' ) ) :
|
|
618 |
* @return false||object
|
619 |
*/
|
620 |
private function api_request( $_action = '', $_data = '' ) {
|
621 |
-
|
622 |
-
|
623 |
-
}
|
624 |
-
$api_params = array(
|
625 |
-
'edd_action' => 'get_version',
|
626 |
-
'license' => $this->license_key,
|
627 |
-
'name' => rawurlencode( $this->product->get_name() ),
|
628 |
-
'slug' => rawurlencode( $this->product->get_slug() ),
|
629 |
-
'author' => $this->product->get_store_name(),
|
630 |
-
'url' => rawurlencode( home_url() ),
|
631 |
-
);
|
632 |
-
$request = wp_remote_post(
|
633 |
-
$this->product->get_store_url(), array(
|
634 |
-
'timeout' => 15,
|
635 |
-
'sslverify' => false,
|
636 |
-
'body' => $api_params,
|
637 |
-
)
|
638 |
-
);
|
639 |
-
if ( ! is_wp_error( $request ) ) :
|
640 |
-
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
641 |
-
if ( $request && isset( $request->sections ) ) {
|
642 |
-
$request->sections = maybe_unserialize( $request->sections );
|
643 |
-
}
|
644 |
-
|
645 |
-
return $request;
|
646 |
-
else :
|
647 |
return false;
|
648 |
-
|
|
|
|
|
|
|
|
|
649 |
}
|
650 |
|
651 |
/**
|
49 |
* @param ThemeIsle_SDK_Product $product The product object.
|
50 |
*/
|
51 |
public function __construct( $product ) {
|
52 |
+
$this->product = $product;
|
53 |
+
|
54 |
$this->product_key = $this->product->get_key() . '-update-response';
|
55 |
if ( ! $this->product->requires_license() ) {
|
56 |
$this->license_key = 'free';
|
518 |
delete_transient( $this->product_key );
|
519 |
}
|
520 |
|
521 |
+
/**
|
522 |
+
* Check remote api for latest version.
|
523 |
+
*
|
524 |
+
* @return bool|mixed Update api response.
|
525 |
+
*/
|
526 |
+
private function get_version_data() {
|
527 |
+
$api_params = array(
|
528 |
+
'edd_action' => 'get_version',
|
529 |
+
'version' => $this->product->get_version(),
|
530 |
+
'license' => $this->license_key,
|
531 |
+
'name' => $this->product->get_name(),
|
532 |
+
'slug' => $this->product->get_slug(),
|
533 |
+
'author' => $this->product->get_store_name(),
|
534 |
+
'url' => rawurlencode( home_url() ),
|
535 |
+
);
|
536 |
+
$response = wp_remote_post(
|
537 |
+
$this->product->get_store_url(), array(
|
538 |
+
'timeout' => 15,
|
539 |
+
'sslverify' => false,
|
540 |
+
'body' => $api_params,
|
541 |
+
)
|
542 |
+
);
|
543 |
+
if ( is_wp_error( $response ) || 200 != wp_remote_retrieve_response_code( $response ) ) {
|
544 |
+
return false;
|
545 |
+
}
|
546 |
+
$update_data = json_decode( wp_remote_retrieve_body( $response ) );
|
547 |
+
if ( ! is_object( $update_data ) ) {
|
548 |
+
return false;
|
549 |
+
}
|
550 |
+
|
551 |
+
return $update_data;
|
552 |
+
}
|
553 |
+
|
554 |
/**
|
555 |
* Check for updates
|
556 |
*
|
559 |
function check_for_update() {
|
560 |
$theme = wp_get_theme( $this->product->get_slug() );
|
561 |
$update_data = get_transient( $this->product_key );
|
562 |
+
|
563 |
if ( false === $update_data ) {
|
564 |
$failed = false;
|
565 |
+
|
566 |
+
$update_data = $this->get_version_data();
|
567 |
+
if ( empty( $update_data ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
568 |
$failed = true;
|
569 |
}
|
570 |
+
// If the response failed, try again in 30 minutes.
|
571 |
if ( $failed ) {
|
572 |
$data = new stdClass;
|
573 |
$data->new_version = $this->product->get_version();
|
574 |
set_transient( $this->product_key, $data, strtotime( '+30 minutes' ) );
|
575 |
|
576 |
return false;
|
577 |
+
} else {
|
|
|
|
|
578 |
$update_data->sections = maybe_unserialize( $update_data->sections );
|
579 |
set_transient( $this->product_key, $update_data, strtotime( '+12 hours' ) );
|
580 |
}
|
581 |
}
|
582 |
+
if ( ! isset( $update_data->new_version ) ) {
|
583 |
+
return false;
|
584 |
+
}
|
585 |
if ( version_compare( $this->product->get_version(), $update_data->new_version, '>=' ) ) {
|
586 |
return false;
|
587 |
}
|
632 |
* @return false||object
|
633 |
*/
|
634 |
private function api_request( $_action = '', $_data = '' ) {
|
635 |
+
$update_data = $this->get_version_data();
|
636 |
+
if ( empty( $update_data ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
return false;
|
638 |
+
}
|
639 |
+
if ( $update_data && isset( $update_data->sections ) ) {
|
640 |
+
$update_data->sections = maybe_unserialize( $update_data->sections );
|
641 |
+
}
|
642 |
+
return $update_data;
|
643 |
}
|
644 |
|
645 |
/**
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-logger.php
CHANGED
@@ -170,16 +170,16 @@ if ( ! class_exists( 'ThemeIsle_SDK_Logger' ) ) :
|
|
170 |
return '<div >'
|
171 |
. '<p>' . $heading . '</p>'
|
172 |
. '<div class="actions">'
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
. '</div></div>';
|
184 |
}
|
185 |
|
170 |
return '<div >'
|
171 |
. '<p>' . $heading . '</p>'
|
172 |
. '<div class="actions">'
|
173 |
+
. get_submit_button(
|
174 |
+
$button_submit, 'primary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-yes', false, array(
|
175 |
+
'data-ti-log-enable' => 1,
|
176 |
+
)
|
177 |
+
)
|
178 |
+
. get_submit_button(
|
179 |
+
$button_cancel, 'secondary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-no', false, array(
|
180 |
+
'data-ti-log-enable' => 0,
|
181 |
+
)
|
182 |
+
)
|
183 |
. '</div></div>';
|
184 |
}
|
185 |
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-product.php
CHANGED
@@ -60,11 +60,38 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
60 |
/**
|
61 |
* @var array $allowed_authors The allowed authors.
|
62 |
*/
|
63 |
-
private $allowed_authors = array(
|
|
|
|
|
|
|
|
|
|
|
64 |
/**
|
65 |
* @var array $allowed_external_products The allowed external_products.
|
66 |
*/
|
67 |
-
private $allowed_products = array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
/**
|
69 |
* @var bool $requires_license Either user needs to activate it with license.
|
70 |
*/
|
@@ -285,6 +312,52 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
285 |
return $versions;
|
286 |
}
|
287 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
/**
|
289 |
* Return theme versions.
|
290 |
*
|
@@ -322,20 +395,20 @@ if ( ! class_exists( 'ThemeIsle_SDK_Product' ) ) :
|
|
322 |
* @return array Array of versions.
|
323 |
*/
|
324 |
private function get_api_versions() {
|
325 |
-
if ( ! $this->is_wordpress_available() ) {
|
326 |
-
return array();
|
327 |
-
}
|
328 |
|
329 |
$cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
|
330 |
$cache_versions = get_transient( $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions' );
|
331 |
if ( false == $cache_versions ) {
|
332 |
$versions = array();
|
333 |
-
if ( $this->
|
334 |
-
$versions = $this->
|
335 |
-
}
|
336 |
-
|
337 |
-
|
338 |
-
|
|
|
|
|
|
|
339 |
}
|
340 |
set_transient( $cache_key, $versions, MONTH_IN_SECONDS );
|
341 |
} else {
|
60 |
/**
|
61 |
* @var array $allowed_authors The allowed authors.
|
62 |
*/
|
63 |
+
private $allowed_authors = array(
|
64 |
+
'proteusthemes.com',
|
65 |
+
'anarieldesign.com',
|
66 |
+
'prothemedesign.com',
|
67 |
+
'cssigniter.com',
|
68 |
+
);
|
69 |
/**
|
70 |
* @var array $allowed_external_products The allowed external_products.
|
71 |
*/
|
72 |
+
private $allowed_products = array(
|
73 |
+
'zermatt',
|
74 |
+
'neto',
|
75 |
+
'olsen',
|
76 |
+
'benson',
|
77 |
+
'romero',
|
78 |
+
'carmack',
|
79 |
+
'puzzle',
|
80 |
+
'broadsheet',
|
81 |
+
'girlywp',
|
82 |
+
'veggie',
|
83 |
+
'zeko',
|
84 |
+
'maishawp',
|
85 |
+
'didi',
|
86 |
+
'liber',
|
87 |
+
'medicpress-pt',
|
88 |
+
'adrenaline-pt',
|
89 |
+
'consultpress-pt',
|
90 |
+
'legalpress-pt',
|
91 |
+
'gympress-pt',
|
92 |
+
'readable-pt',
|
93 |
+
'bolts-pt',
|
94 |
+
);
|
95 |
/**
|
96 |
* @var bool $requires_license Either user needs to activate it with license.
|
97 |
*/
|
312 |
return $versions;
|
313 |
}
|
314 |
|
315 |
+
/**
|
316 |
+
* @return string Return license key, if available.
|
317 |
+
*/
|
318 |
+
private function get_license() {
|
319 |
+
$license_data = get_option( $this->get_key() . '_license_data', '' );
|
320 |
+
|
321 |
+
if ( empty( $license_data ) ) {
|
322 |
+
return '';
|
323 |
+
}
|
324 |
+
if ( ! isset( $license_data->key ) ) {
|
325 |
+
return '';
|
326 |
+
}
|
327 |
+
|
328 |
+
return $license_data->key;
|
329 |
+
}
|
330 |
+
|
331 |
+
/**
|
332 |
+
* @return array Array of available versions.
|
333 |
+
*/
|
334 |
+
private function get_pro_versions() {
|
335 |
+
$license = $this->get_license();
|
336 |
+
$store_url = trailingslashit( $this->store_url );
|
337 |
+
$url = sprintf( '%s?edd_action=get_versions&name=%s&url=%s&license=%s', $store_url, urlencode( $this->get_name() ), urlencode( get_site_url() ), $license );
|
338 |
+
$response = wp_remote_get( $url );
|
339 |
+
if ( is_wp_error( $response ) ) {
|
340 |
+
return array();
|
341 |
+
}
|
342 |
+
$response = wp_remote_retrieve_body( $response );
|
343 |
+
$response = json_decode( $response );
|
344 |
+
if ( ! is_object( $response ) ) {
|
345 |
+
return array();
|
346 |
+
}
|
347 |
+
if ( ! isset( $response->versions ) ) {
|
348 |
+
return array();
|
349 |
+
}
|
350 |
+
$versions = array();
|
351 |
+
foreach ( $response->versions as $key => $version ) {
|
352 |
+
$versions[] = array(
|
353 |
+
'version' => $version->version,
|
354 |
+
'url' => $version->file,
|
355 |
+
);
|
356 |
+
}
|
357 |
+
|
358 |
+
return $versions;
|
359 |
+
}
|
360 |
+
|
361 |
/**
|
362 |
* Return theme versions.
|
363 |
*
|
395 |
* @return array Array of versions.
|
396 |
*/
|
397 |
private function get_api_versions() {
|
|
|
|
|
|
|
398 |
|
399 |
$cache_key = $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions';
|
400 |
$cache_versions = get_transient( $this->get_key() . '_' . preg_replace( '/[^0-9a-zA-Z ]/m', '', $this->version ) . 'versions' );
|
401 |
if ( false == $cache_versions ) {
|
402 |
$versions = array();
|
403 |
+
if ( ! $this->is_wordpress_available() ) {
|
404 |
+
$versions = $this->get_pro_versions();
|
405 |
+
} else {
|
406 |
+
if ( $this->get_type() === 'plugin' ) {
|
407 |
+
$versions = $this->get_plugin_versions();
|
408 |
+
}
|
409 |
+
if ( $this->get_type() === 'theme' ) {
|
410 |
+
$versions = $this->get_theme_versions();
|
411 |
+
}
|
412 |
}
|
413 |
set_transient( $cache_key, $versions, MONTH_IN_SECONDS );
|
414 |
} else {
|
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-widget-dashboard-blog.php
CHANGED
@@ -110,142 +110,156 @@ if ( ! class_exists( 'ThemeIsle_SDK_Widget_Dashboard_Blog' ) ) :
|
|
110 |
$this->setup_feeds();
|
111 |
?>
|
112 |
<style type="text/css">
|
113 |
-
#themeisle ul {
|
114 |
-
margin-bottom: 0px;
|
115 |
-
}
|
116 |
-
|
117 |
#themeisle ul li.ti-dw-recommend-item {
|
118 |
-
|
119 |
padding-left: 7px;
|
120 |
border-top: 1px solid #eee;
|
121 |
-
|
122 |
margin-bottom: 0px;
|
123 |
padding-top: 6px;
|
124 |
}
|
125 |
-
|
126 |
#themeisle h2.hndle {
|
127 |
-
background-image: url('data:image/
|
128 |
background-repeat: no-repeat;
|
129 |
-
background-position:
|
130 |
-
background-size:
|
131 |
}
|
132 |
-
|
133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
display: flex;
|
135 |
align-items: center;
|
|
|
|
|
|
|
|
|
136 |
}
|
137 |
-
|
138 |
-
|
139 |
-
float: left;
|
140 |
-
width: 89.9%;
|
141 |
}
|
142 |
-
|
143 |
-
|
144 |
-
width: 100%;
|
145 |
-
letter-spacing: 3px;
|
146 |
-
display: block;
|
147 |
}
|
148 |
-
|
149 |
.ti-dw-feed-item .ti-dw-month-container {
|
150 |
-
|
151 |
-
width: 100%;
|
152 |
-
display: block;
|
153 |
-
font-weight: 600;
|
154 |
-
padding: 0px;
|
155 |
-
margin-top: -6px;
|
156 |
text-transform: uppercase;
|
157 |
font-size: 10px;
|
158 |
letter-spacing: 1px;
|
|
|
159 |
}
|
160 |
-
|
161 |
.ti-dw-feed-item .ti-dw-date-container {
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
|
|
166 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
168 |
-
|
169 |
.ti-dw-recommend-item span {
|
170 |
color: #72777c;
|
171 |
}
|
172 |
-
|
173 |
.ti-dw-powered-by {
|
174 |
-
font-
|
175 |
-
|
176 |
-
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
|
|
|
179 |
</style>
|
180 |
-
<ul>
|
181 |
<?php
|
182 |
foreach ( $this->items as $item ) {
|
183 |
?>
|
184 |
-
<li class="ti-dw-feed-item"
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
|
|
198 |
</li>
|
199 |
<?php
|
200 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
-
|
203 |
-
if ( is_array( $recommend ) && ! empty( $recommend ) ) {
|
204 |
|
205 |
-
$type = $recommend['type'];
|
206 |
-
if ( ( $type == 'theme' && current_user_can( 'install_themes' ) ) || ( $type == 'plugin' && current_user_can( 'install_plugins' ) ) ) {
|
207 |
-
add_thickbox();
|
208 |
$url = add_query_arg(
|
209 |
array(
|
210 |
-
'
|
211 |
-
|
|
|
212 |
);
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
array(
|
218 |
-
'tab' => 'plugin-information',
|
219 |
-
'plugin' => $recommend['slug'],
|
220 |
-
), network_admin_url( 'plugin-install.php' )
|
221 |
-
);
|
222 |
-
}
|
223 |
-
?>
|
224 |
-
<li class="ti-dw-recommend-item ">
|
225 |
<span class="ti-dw-recommend"><?php echo apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ); ?>
|
226 |
: </span>
|
227 |
-
<?php
|
228 |
-
echo trim(
|
229 |
-
str_replace(
|
230 |
-
array(
|
231 |
-
'lite',
|
232 |
-
'Lite',
|
233 |
-
), '', $recommend['name']
|
234 |
-
)
|
235 |
-
);
|
236 |
-
?>
|
237 |
-
(<a class="thickbox open-plugin-details-modal"
|
238 |
-
href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php echo apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ); ?></a>)
|
239 |
-
</li>
|
240 |
-
<li class="ti-dw-powered-by">
|
241 |
-
Powered by <?php echo esc_attr( $this->product->get_friendly_name() ); ?>
|
242 |
-
</li>
|
243 |
-
|
244 |
<?php
|
245 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
246 |
}
|
247 |
-
|
248 |
-
|
249 |
|
250 |
<?php
|
251 |
|
110 |
$this->setup_feeds();
|
111 |
?>
|
112 |
<style type="text/css">
|
|
|
|
|
|
|
|
|
113 |
#themeisle ul li.ti-dw-recommend-item {
|
|
|
114 |
padding-left: 7px;
|
115 |
border-top: 1px solid #eee;
|
|
|
116 |
margin-bottom: 0px;
|
117 |
padding-top: 6px;
|
118 |
}
|
|
|
119 |
#themeisle h2.hndle {
|
120 |
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3Ny4xMiA3Ny4xMiI+PHRpdGxlPkFzc2V0IDM8L3RpdGxlPjxwYXRoIGQ9Ik03NS43Niw0Ny42cS0xLjUsNi40Ni00LjA3LDkuMjZBMzYuMjIsMzYuMjIsMCwwLDEsNjMuMjYsNjNhNTEsNTEsMCwwLDEtOS43OSw0LjZoLS4xNXY0LjgyQTQuNjYsNC42NiwwLDAsMSw1Miw3NS43Niw0LjA3LDQuMDcsMCwwLDEsNDksNzcuMTJhNCw0LDAsMCwxLTIuMTgtLjYxQTQuOTQsNC45NCwwLDAsMSw0NS4xOSw3NWE0LjQyLDQuNDIsMCwwLDEtNy41NCwwLDQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSwzLjc1LDMuNzUsMCwwLDEtMiwuNjFBNC4yNyw0LjI3LDAsMCwxLDMwLjI3LDc1YTQuOTQsNC45NCwwLDAsMS0xLjU4LDEuNSw0LDQsMCwwLDEtMi4xOC42MSwzLjkzLDMuOTMsMCwwLDEtMy4xNi0xLjQzLDUuMyw1LjMsMCwwLDEtMS4yMS0zLjU0LDEzLjgxLDEzLjgxLDAsMCwxLTguNTgsMywxMy4yMywxMy4yMywwLDAsMS05LTMuNDdBMTguMjEsMTguMjEsMCwwLDAsOSw3MC43OWExNC4yNiwxNC4yNiwwLDAsMS03LjgzLTUuNDIsMTYuMTIsMTYuMTIsMCwwLDAsNS4xOS4wNywxMi44OSwxMi44OSwwLDAsMCw0LjktMS43M1EzLjE1LDU1LjQzLDEuMDUsNTAuNDZhMTgsMTgsMCwwLDEtMS02LjkzQTQwLDQwLDAsMCwxLDEuMjEsMzQsMjYuNTksMjYuNTksMCwwLDEsNS4yNywyNC4xUTguNDQsMTkuNDMsMTMsMTkuNDNhMy40MSwzLjQxLDAsMCwxLDMuNDcsMi4yNmMuNi0uOCwxLjItMS41NiwxLjgxLTIuMjZsLjQ1LS40NS43NS0uNzUsMS4wNS0xLjgxYTM1LjIsMzUuMiwwLDAsMSwyLjExLTMuMzIsMjguNTcsMjguNTcsMCwwLDEsOS4xMi03LjY4QTIzLjQsMjMuNCwwLDAsMSw0Mi45MywyLjU2YTIyLjIyLDIyLjIyLDAsMCwxLDIuNzEuMTVBOC4xNiw4LjE2LDAsMCwxLDUxLjgxLDAsOC42OSw4LjY5LDAsMCwxLDU4LDIuNDFhMS41MSwxLjUxLDAsMCwxLC4xNS42OGMwLC4yNS0uNTUuOTMtMS42NiwybC0uMy4zYTkuNjksOS42OSwwLDAsMSwxLjU4LjgzYy41NS4zNS44My42NS44My45YTEuNjIsMS42MiwwLDAsMS0uNiwxbC0uMTUuMTVxNi43OCw2LDguNTgsMTYuMjdBMy4zLDMuMywwLDAsMSw2OSwyMy4zNWE2LjQ4LDYuNDgsMCwwLDEsNC4yMiwyLjFxMy45MiwzLjMyLDMuOTIsMTEuOUE0Mi4wNSw0Mi4wNSwwLDAsMSw3NS43Niw0Ny42Wk01My42Miw1NC4wN2EyNCwyNCwwLDAsMS0xNCw0LjUyQTIxLjQxLDIxLjQxLDAsMCwxLDI3LDU0LjY3LDI0LjI4LDI0LjI4LDAsMCwxLDE4LjUzLDQ1YTI5LDI5LDAsMCwxLTMtMTMsMzEuNzgsMzEuNzgsMCwwLDEsLjkxLTcuNTNBMzIuMTcsMzIuMTcsMCwwLDAsMTEuOSw0MS4yN2EzMy41LDMzLjUsMCwwLDAsMi43OSwxMy40LDI5LjEsMjkuMSwwLDAsMCw3LjksMTAuODUsNC42OCw0LjY4LDAsMCwxLDEuNjYtMS44OCw0LjE3LDQuMTcsMCwwLDEsNC40NC0uMDgsNC41LDQuNSwwLDAsMSwxLjU4LDEuNjZBNC4yLDQuMiwwLDAsMSwzNCw2M2EzLjgzLDMuODMsMCwwLDEsMiwuNiw0LjUsNC41LDAsMCwxLDEuNTgsMS42Niw0LjI3LDQuMjcsMCwwLDEsNy41NCwwLDQuNSw0LjUsMCwwLDEsMS41OC0xLjY2LDQuMTcsNC4xNywwLDAsMSw0LjQ0LjA4LDMuODYsMy44NiwwLDAsMSwxLjUxLDEuNzMsMzAuMTcsMzAuMTcsMCwwLDAsNy42OC05Ljk0LDMxLjE4LDMxLjE4LDAsMCwwLDMuMTYtMTIuMzVBMjguMzksMjguMzksMCwwLDEsNTMuNjIsNTQuMDdaTTI4Ljc3LDY1LjM3YTMuMSwzLjEsMCwwLDAtNC4zNywwLDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi45MywyLjkzLDAsMCwwLDQuMzcsMCwzLjMyLDMuMzIsMCwwLDAsLjktMi4zM1Y2Ny42M0EzLjA2LDMuMDYsMCwwLDAsMjguNzcsNjUuMzdabS45LTQ4YTQuMjQsNC4yNCwwLDAsMCwzLjQ3LDEuNzMsNC40NSw0LjQ1LDAsMCwwLDMuNTQtMS43Myw2LDYsMCwwLDAsMS40My0zLjkyLDUuNyw1LjcsMCwwLDAtMS40My0zLjg0QTQuNTMsNC41MywwLDAsMCwzMy4xNCw4YTQuMzEsNC4zMSwwLDAsMC0zLjQ3LDEuNjYsNS43OSw1Ljc5LDAsMCwwLTEuMzUsMy43N0E2LjMzLDYuMzMsMCwwLDAsMjkuNjcsMTcuNFptNi40OCw0OGEzLjEsMy4xLDAsMCwwLTQuMzcsMCwzLjA2LDMuMDYsMCwwLDAtLjksMi4yNnY0LjgyYTMuMzIsMy4zMiwwLDAsMCwuOSwyLjMzLDIuOTMsMi45MywwLDAsMCw0LjM3LDAsMy4zMiwzLjMyLDAsMCwwLC45LTIuMzNWNjcuNjNBMy4wNiwzLjA2LDAsMCwwLDM2LjE1LDY1LjM3Wm0tNC4wNy01NC4zYTIuMzcsMi4zNywwLDAsMSwyLTEsMi4xNywyLjE3LDAsMCwxLDEuODgsMSw0LjEsNC4xLDAsMCwxLDAsNC41MiwyLjE3LDIuMTcsMCwwLDEtMS44OCwxLDIuMzcsMi4zNywwLDAsMS0yLTEsMy43MiwzLjcyLDAsMCwxLS43NS0yLjM0QTMuNDksMy40OSwwLDAsMSwzMi4wOCwxMS4wN1ptNSw5LjQxYTIwLjYxLDIwLjYxLDAsMCwwLTMuNTQsMTIuMjgsMTcuMTUsMTcuMTUsMCwwLDAsNC4wNywxMSwxMi40MywxMi40MywwLDAsMCw5Ljg3LDQuNDUsMTUuMywxNS4zLDAsMCwwLDktMywxMywxMywwLDAsMCwuNi0zLjMycTAtMy4zMi0zLjE2LTMuMzFhOC41OCw4LjU4LDAsMCwwLTIsLjNxLTcuODMsMS41LTExLjU5LS4zLTQuNTMtMi4xMi00LjUyLTkuMzRBMzcuOTIsMzcuOTIsMCwwLDEsMzcuMDUsMjAuNDhaTTYxLjQ1LDE3QTEyLjg0LDEyLjg0LDAsMCwwLDUxLjIxLDEyLjJhMTUuMTEsMTUuMTEsMCwwLDAtNi40LDEuNDMsMTcuODMsMTcuODMsMCwwLDAtNS41LDRxLTYuMTgsMjAuNjQsNi4xOCwyMC42NEEyNC43NSwyNC43NSwwLDAsMCw0OSwzNy44MWEzOC45MiwzOC45MiwwLDAsMSw0LjgyLS40NmMxLjgxLDAsMy4wNi40NiwzLjc3LDEuMzZxMS4zNSwxLjUuNzUsNS4xMmEyMS43MiwyMS43MiwwLDAsMCw1LTcuMTVBMjEuMzgsMjEuMzgsMCwwLDAsNjUuMDcsMjgsMTcuNDQsMTcuNDQsMCwwLDAsNjEuNDUsMTdaTTQzLjYsNjUuMzdhMi43MiwyLjcyLDAsMCwwLTIuMS0uOSwzLDMsMCwwLDAtMi4xOS45LDMuMDYsMy4wNiwwLDAsMC0uOSwyLjI2djQuODJhMy4zMiwzLjMyLDAsMCwwLC45LDIuMzMsMi44NCwyLjg0LDAsMCwwLDIuMTksMSwyLjYxLDIuNjEsMCwwLDAsMi4xLTEsMy40NSwzLjQ1LDAsMCwwLC44My0yLjMzVjY3LjYzQTMuMTcsMy4xNywwLDAsMCw0My42LDY1LjM3Wm03LjQ2LDBhMywzLDAsMCwwLTIuMTgtLjksMi43MywyLjczLDAsMCwwLTIuMTEuOSwzLjE3LDMuMTcsMCwwLDAtLjgzLDIuMjZ2NC44MmEzLjQ1LDMuNDUsMCwwLDAsLjgzLDIuMzMsMi42MSwyLjYxLDAsMCwwLDIuMTEsMSwyLjgzLDIuODMsMCwwLDAsMi4xOC0xLDMuMzIsMy4zMiwwLDAsMCwuOS0yLjMzVjY3LjYzQTMuMDYsMy4wNiwwLDAsMCw1MS4wNiw2NS4zN1oiLz48L3N2Zz4=');
|
121 |
background-repeat: no-repeat;
|
122 |
+
background-position: 92% 50%;
|
123 |
+
background-size: 30px;
|
124 |
}
|
125 |
+
#themeisle .inside {
|
126 |
+
padding: 0;
|
127 |
+
}
|
128 |
+
.ti-feed-list {
|
129 |
+
padding: 0 12px 5px;
|
130 |
+
margin-bottom: 10px;
|
131 |
+
border-bottom: 1px solid #eee;
|
132 |
+
}
|
133 |
+
.ti-dw-feed-item a {
|
134 |
display: flex;
|
135 |
align-items: center;
|
136 |
+
margin-bottom: 5px;
|
137 |
+
padding: 5px;
|
138 |
+
transition: .2s ease;
|
139 |
+
border-radius: 3px;
|
140 |
}
|
141 |
+
.ti-dw-feed-item a:hover {
|
142 |
+
background-color: #f8f8f8;
|
|
|
|
|
143 |
}
|
144 |
+
.ti-dw-feed-item a:hover .ti-dw-date-container {
|
145 |
+
opacity: .9;
|
|
|
|
|
|
|
146 |
}
|
|
|
147 |
.ti-dw-feed-item .ti-dw-month-container {
|
148 |
+
margin-top: -5px;
|
|
|
|
|
|
|
|
|
|
|
149 |
text-transform: uppercase;
|
150 |
font-size: 10px;
|
151 |
letter-spacing: 1px;
|
152 |
+
font-weight: 700;
|
153 |
}
|
|
|
154 |
.ti-dw-feed-item .ti-dw-date-container {
|
155 |
+
border-radius: 3px;
|
156 |
+
transition: .2s ease;
|
157 |
+
min-height: 35px;
|
158 |
+
margin-right: 5px;
|
159 |
+
min-width: 35px;
|
160 |
text-align: center;
|
161 |
+
border: 1px solid #2a6f97;
|
162 |
+
color: #fff;
|
163 |
+
background: #2ea2cc;
|
164 |
+
display: flex;
|
165 |
+
flex-direction: column;
|
166 |
+
justify-content: center;
|
167 |
+
}
|
168 |
+
.ti-dw-footer {
|
169 |
+
padding: 0 12px 5px;
|
170 |
+
text-align: center;
|
171 |
+
}
|
172 |
+
.ti-dw-recommend-item {
|
173 |
+
display: block;
|
174 |
}
|
|
|
175 |
.ti-dw-recommend-item span {
|
176 |
color: #72777c;
|
177 |
}
|
|
|
178 |
.ti-dw-powered-by {
|
179 |
+
font-size: 11px;
|
180 |
+
margin-top: 3px;
|
181 |
+
display: block;
|
182 |
+
color: #72777c;
|
183 |
+
}
|
184 |
+
.ti-dw-powered-by span {
|
185 |
+
font-weight: 600;
|
186 |
}
|
187 |
|
188 |
+
|
189 |
</style>
|
190 |
+
<ul class="ti-feed-list">
|
191 |
<?php
|
192 |
foreach ( $this->items as $item ) {
|
193 |
?>
|
194 |
+
<li class="ti-dw-feed-item">
|
195 |
+
<a href="
|
196 |
+
<?php
|
197 |
+
echo add_query_arg(
|
198 |
+
array(
|
199 |
+
'utm_campaign' => 'feed',
|
200 |
+
'utm_medium' => 'dashboard_widget',
|
201 |
+
), $item['link']
|
202 |
+
);
|
203 |
+
?>
|
204 |
+
" target="_blank">
|
205 |
+
<span class="ti-dw-date-container"><span
|
206 |
+
class="ti-dw-day-container"><?php echo date( 'd', $item['date'] ); ?></span> <span
|
207 |
+
class="ti-dw-month-container"><?php echo substr( date( 'M', $item['date'] ), 0, 3 ); ?></span></span><?php echo $item['title']; ?>
|
208 |
+
</a>
|
209 |
</li>
|
210 |
<?php
|
211 |
}
|
212 |
+
?>
|
213 |
+
</ul>
|
214 |
+
<?php
|
215 |
+
$recommend = apply_filters( 'themeisle_sdk_recommend_plugin_or_theme', array() );
|
216 |
+
if ( is_array( $recommend ) && ! empty( $recommend ) ) {
|
217 |
+
|
218 |
+
$type = $recommend['type'];
|
219 |
+
if ( ( $type == 'theme' && current_user_can( 'install_themes' ) ) || ( $type == 'plugin' && current_user_can( 'install_plugins' ) ) ) {
|
220 |
+
add_thickbox();
|
221 |
+
$url = add_query_arg(
|
222 |
+
array(
|
223 |
+
'theme' => $recommend['slug'],
|
224 |
+
), network_admin_url( 'theme-install.php' )
|
225 |
+
);
|
226 |
|
227 |
+
if ( 'plugin' === $type ) {
|
|
|
228 |
|
|
|
|
|
|
|
229 |
$url = add_query_arg(
|
230 |
array(
|
231 |
+
'tab' => 'plugin-information',
|
232 |
+
'plugin' => $recommend['slug'],
|
233 |
+
), network_admin_url( 'plugin-install.php' )
|
234 |
);
|
235 |
+
}
|
236 |
+
?>
|
237 |
+
<div class="ti-dw-footer">
|
238 |
+
<span class="ti-dw-recommend-item ">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
<span class="ti-dw-recommend"><?php echo apply_filters( 'themeisle_sdk_dashboard_popular_label', sprintf( 'Popular %s', ucwords( $type ) ) ); ?>
|
240 |
: </span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
241 |
<?php
|
242 |
+
echo trim(
|
243 |
+
str_replace(
|
244 |
+
array(
|
245 |
+
'lite',
|
246 |
+
'Lite',
|
247 |
+
), '', $recommend['name']
|
248 |
+
)
|
249 |
+
);
|
250 |
+
?>
|
251 |
+
(<a class="thickbox open-plugin-details-modal"
|
252 |
+
href="<?php echo $url . '&TB_iframe=true&width=600&height=500'; ?>"><?php echo apply_filters( 'themeisle_sdk_dashboard_install_label', 'Install' ); ?></a>)
|
253 |
+
</span>
|
254 |
+
<span class="ti-dw-powered-by">
|
255 |
+
Powered by <span><?php echo esc_attr( $this->product->get_friendly_name() ); ?></span>
|
256 |
+
</span>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<?php
|
260 |
}
|
261 |
+
}
|
262 |
+
?>
|
263 |
|
264 |
<?php
|
265 |
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
-
$themeisle_sdk_version = '2.
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
11 |
*/
|
12 |
|
13 |
// Current SDK version and path.
|
14 |
+
$themeisle_sdk_version = '2.2.6';
|
15 |
$themeisle_sdk_path = dirname( __FILE__ );
|
16 |
|
17 |
global $themeisle_sdk_max_version;
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit0d0509250e80c8edc2d5fc054ce93f41
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit0d0509250e80c8edc2d5fc054ce93f41
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit857789efd9de014907eb776c76d26a74
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit857789efd9de014907eb776c76d26a74', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit857789efd9de014907eb776c76d26a74', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequire857789efd9de014907eb776c76d26a74($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequire857789efd9de014907eb776c76d26a74($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -6,15 +6,15 @@
|
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/elementor-extra-widgets.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/Codeinwp/elementor-extra-widgets/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
17 |
-
"time": "2018-
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
@@ -42,15 +42,15 @@
|
|
42 |
"source": {
|
43 |
"type": "git",
|
44 |
"url": "https://github.com/Codeinwp/themeisle-content-forms.git",
|
45 |
-
"reference": "
|
46 |
},
|
47 |
"dist": {
|
48 |
"type": "zip",
|
49 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-content-forms/zipball/
|
50 |
-
"reference": "
|
51 |
"shasum": ""
|
52 |
},
|
53 |
-
"time": "2018-
|
54 |
"type": "library",
|
55 |
"installation-source": "dist",
|
56 |
"autoload": {
|
@@ -82,15 +82,15 @@
|
|
82 |
"source": {
|
83 |
"type": "git",
|
84 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
85 |
-
"reference": "
|
86 |
},
|
87 |
"dist": {
|
88 |
"type": "zip",
|
89 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
90 |
-
"reference": "
|
91 |
"shasum": ""
|
92 |
},
|
93 |
-
"time": "2018-
|
94 |
"type": "library",
|
95 |
"installation-source": "dist",
|
96 |
"autoload": {
|
@@ -159,18 +159,18 @@
|
|
159 |
"source": {
|
160 |
"type": "git",
|
161 |
"url": "https://github.com/Codeinwp/templates-directory.git",
|
162 |
-
"reference": "
|
163 |
},
|
164 |
"dist": {
|
165 |
"type": "zip",
|
166 |
-
"url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/
|
167 |
-
"reference": "
|
168 |
"shasum": ""
|
169 |
},
|
170 |
"require": {
|
171 |
"codeinwp/full-width-page-templates": "master"
|
172 |
},
|
173 |
-
"time": "2018-03
|
174 |
"type": "library",
|
175 |
"installation-source": "dist",
|
176 |
"autoload": {
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/Codeinwp/elementor-extra-widgets.git",
|
9 |
+
"reference": "27e237afcb6396c21b15217fe6f96ce84cb62368"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/Codeinwp/elementor-extra-widgets/zipball/27e237afcb6396c21b15217fe6f96ce84cb62368",
|
14 |
+
"reference": "27e237afcb6396c21b15217fe6f96ce84cb62368",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"time": "2018-07-06 11:23:31",
|
18 |
"type": "library",
|
19 |
"installation-source": "dist",
|
20 |
"autoload": {
|
42 |
"source": {
|
43 |
"type": "git",
|
44 |
"url": "https://github.com/Codeinwp/themeisle-content-forms.git",
|
45 |
+
"reference": "c8467927295b3e63f94cae2b19eac37b98dba87e"
|
46 |
},
|
47 |
"dist": {
|
48 |
"type": "zip",
|
49 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-content-forms/zipball/c8467927295b3e63f94cae2b19eac37b98dba87e",
|
50 |
+
"reference": "c8467927295b3e63f94cae2b19eac37b98dba87e",
|
51 |
"shasum": ""
|
52 |
},
|
53 |
+
"time": "2018-06-28 10:49:56",
|
54 |
"type": "library",
|
55 |
"installation-source": "dist",
|
56 |
"autoload": {
|
82 |
"source": {
|
83 |
"type": "git",
|
84 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
85 |
+
"reference": "56c6a769b08f0559e5085937e40409fb04b7a166"
|
86 |
},
|
87 |
"dist": {
|
88 |
"type": "zip",
|
89 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/56c6a769b08f0559e5085937e40409fb04b7a166",
|
90 |
+
"reference": "56c6a769b08f0559e5085937e40409fb04b7a166",
|
91 |
"shasum": ""
|
92 |
},
|
93 |
+
"time": "2018-06-28 13:22:23",
|
94 |
"type": "library",
|
95 |
"installation-source": "dist",
|
96 |
"autoload": {
|
159 |
"source": {
|
160 |
"type": "git",
|
161 |
"url": "https://github.com/Codeinwp/templates-directory.git",
|
162 |
+
"reference": "b8ae48d4fa49aa5383f37613f20c653cdb5810e9"
|
163 |
},
|
164 |
"dist": {
|
165 |
"type": "zip",
|
166 |
+
"url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/b8ae48d4fa49aa5383f37613f20c653cdb5810e9",
|
167 |
+
"reference": "b8ae48d4fa49aa5383f37613f20c653cdb5810e9",
|
168 |
"shasum": ""
|
169 |
},
|
170 |
"require": {
|
171 |
"codeinwp/full-width-page-templates": "master"
|
172 |
},
|
173 |
+
"time": "2018-07-03 11:37:41",
|
174 |
"type": "library",
|
175 |
"installation-source": "dist",
|
176 |
"autoload": {
|