Version Description
- 2018-12-12
Download this release
Release Info
Developer | themeisle |
Plugin | Elementor Addons & Templates – Sizzify Lite |
Version | 1.2.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8 to 1.2.9
- CHANGELOG.md +4 -0
- elementor-addon-widgets.php +2 -2
- readme.md +5 -0
- readme.txt +5 -0
- themeisle-hash.json +1 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/templates-directory/class-page-templates-directory.php +18 -12
- vendor/codeinwp/templates-directory/composer.json +1 -1
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +4 -4
CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
### v1.2.8 - 2018-12-10
|
3 |
**Changes:**
|
4 |
* Tested with WP 5.0
|
1 |
|
2 |
+
### v1.2.9 - 2018-12-12
|
3 |
+
**Changes:**
|
4 |
+
* fix templates directory importing
|
5 |
+
|
6 |
### v1.2.8 - 2018-12-10
|
7 |
**Changes:**
|
8 |
* Tested with WP 5.0
|
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.9
|
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.9' );
|
27 |
|
28 |
/* Set constant path to the plugin directory. */
|
29 |
define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
|
readme.md
CHANGED
@@ -61,6 +61,11 @@ 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.8 - 2018-12-10 ###
|
65 |
|
66 |
* Tested with WP 5.0
|
61 |
4. Frontend view posts with custom title.
|
62 |
|
63 |
## Changelog ##
|
64 |
+
### 1.2.9 - 2018-12-12 ###
|
65 |
+
|
66 |
+
* fix templates directory importing
|
67 |
+
|
68 |
+
|
69 |
### 1.2.8 - 2018-12-10 ###
|
70 |
|
71 |
* Tested with WP 5.0
|
readme.txt
CHANGED
@@ -61,6 +61,11 @@ 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.8 - 2018-12-10 =
|
65 |
|
66 |
* Tested with WP 5.0
|
61 |
4. Frontend view posts with custom title.
|
62 |
|
63 |
== Changelog ==
|
64 |
+
= 1.2.9 - 2018-12-12 =
|
65 |
+
|
66 |
+
* fix templates directory importing
|
67 |
+
|
68 |
+
|
69 |
= 1.2.8 - 2018-12-10 =
|
70 |
|
71 |
* Tested with WP 5.0
|
themeisle-hash.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"eaw-class.php":"8cfd2eba7189aa727c9ad5ce1581432f","elementor-addon-widgets.php":"
|
1 |
+
{"eaw-class.php":"8cfd2eba7189aa727c9ad5ce1581432f","elementor-addon-widgets.php":"650056d773837eb0491236a577367db8"}
|
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 ComposerAutoloaderInitd67a8571892509a7a621debcca8600f6::getLoader();
|
vendor/codeinwp/templates-directory/class-page-templates-directory.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
15 |
* The version of this library
|
16 |
* @var string
|
17 |
*/
|
18 |
-
public static $version = '1.0.
|
19 |
|
20 |
/**
|
21 |
* Holds the module slug.
|
@@ -259,12 +259,12 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
259 |
'screenshot' => esc_url( $this->get_source_url() . 'rik-elementor/screenshot.jpg' ),
|
260 |
'import_file' => esc_url( $this->get_source_url() . 'rik-elementor/template.json' ),
|
261 |
),
|
262 |
-
'
|
263 |
-
'title' => __( '
|
264 |
-
'description' => __( 'A friendly one-page
|
265 |
-
'demo_url' => 'https://demo.themeisle.com/hestia-pro-demo-content/
|
266 |
-
'screenshot' => esc_url( $this->get_source_url() . '
|
267 |
-
'import_file' => esc_url( $this->get_source_url() . '
|
268 |
),
|
269 |
'notify' => array(
|
270 |
'title' => __( 'Notify - Landing Page', 'elementor-addon-widgets' ),
|
@@ -336,19 +336,27 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
336 |
|
337 |
/**
|
338 |
* Utility method to call Elementor import routine.
|
|
|
|
|
|
|
|
|
339 |
*/
|
340 |
-
public function import_elementor(\WP_REST_Request $request ) {
|
341 |
if ( ! defined( 'ELEMENTOR_VERSION' ) ) {
|
342 |
return 'no-elementor';
|
343 |
}
|
344 |
|
345 |
-
$params
|
346 |
$template_name = $params['template_name'];
|
347 |
-
$template_url
|
348 |
|
349 |
require_once( ABSPATH . 'wp-admin' . '/includes/file.php' );
|
350 |
require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
|
351 |
|
|
|
|
|
|
|
|
|
352 |
$template = download_url( esc_url( $template_url ) );
|
353 |
$name = $template_name;
|
354 |
$_FILES['file']['tmp_name'] = $template;
|
@@ -420,8 +428,6 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
|
|
420 |
), admin_url( 'post.php' ) );
|
421 |
|
422 |
return ( $redirect_url );
|
423 |
-
|
424 |
-
die();
|
425 |
}
|
426 |
|
427 |
/**
|
15 |
* The version of this library
|
16 |
* @var string
|
17 |
*/
|
18 |
+
public static $version = '1.0.9';
|
19 |
|
20 |
/**
|
21 |
* Holds the module slug.
|
259 |
'screenshot' => esc_url( $this->get_source_url() . 'rik-elementor/screenshot.jpg' ),
|
260 |
'import_file' => esc_url( $this->get_source_url() . 'rik-elementor/template.json' ),
|
261 |
),
|
262 |
+
'zelle-lite' => array(
|
263 |
+
'title' => __( 'Zelle Lite - One Page Template', 'elementor-addon-widgets' ),
|
264 |
+
'description' => __( 'A friendly one-page multipurpose page, with a full-width image in the background. It comes with an elegant and modern design, which could fit very well any kind of business. Zelle 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' ),
|
265 |
+
'demo_url' => 'https://demo.themeisle.com/hestia-pro-demo-content/zelle-lite/',
|
266 |
+
'screenshot' => esc_url( $this->get_source_url() . 'zelle-lite/screenshot.jpg' ),
|
267 |
+
'import_file' => esc_url( $this->get_source_url() . 'zelle-lite/template.json' ),
|
268 |
),
|
269 |
'notify' => array(
|
270 |
'title' => __( 'Notify - Landing Page', 'elementor-addon-widgets' ),
|
336 |
|
337 |
/**
|
338 |
* Utility method to call Elementor import routine.
|
339 |
+
*
|
340 |
+
* @param \WP_REST_Request $request the async request.
|
341 |
+
*
|
342 |
+
* @return string
|
343 |
*/
|
344 |
+
public function import_elementor( \WP_REST_Request $request ) {
|
345 |
if ( ! defined( 'ELEMENTOR_VERSION' ) ) {
|
346 |
return 'no-elementor';
|
347 |
}
|
348 |
|
349 |
+
$params = $request->get_params();
|
350 |
$template_name = $params['template_name'];
|
351 |
+
$template_url = $params['template_url'];
|
352 |
|
353 |
require_once( ABSPATH . 'wp-admin' . '/includes/file.php' );
|
354 |
require_once( ABSPATH . 'wp-admin' . '/includes/image.php' );
|
355 |
|
356 |
+
// Mime a supported document type.
|
357 |
+
$elementor_plugin = \Elementor\Plugin::$instance;
|
358 |
+
$elementor_plugin->documents->register_document_type( 'not-supported', \Elementor\Modules\Library\Documents\Page::get_class_full_name() );
|
359 |
+
|
360 |
$template = download_url( esc_url( $template_url ) );
|
361 |
$name = $template_name;
|
362 |
$_FILES['file']['tmp_name'] = $template;
|
428 |
), admin_url( 'post.php' ) );
|
429 |
|
430 |
return ( $redirect_url );
|
|
|
|
|
431 |
}
|
432 |
|
433 |
/**
|
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.9",
|
6 |
"license": "GPL-2.0-or-later",
|
7 |
"homepage": "https://github.com/Codeinwp/templates-directory",
|
8 |
"authors": [
|
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 ComposerAutoloaderInit90442579b3b63aa2dd5a57b75c080f80
|
|
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 ComposerAutoloaderInit90442579b3b63aa2dd5a57b75c080f80
|
|
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 ComposerAutoloaderInitd67a8571892509a7a621debcca8600f6
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitd67a8571892509a7a621debcca8600f6', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitd67a8571892509a7a621debcca8600f6', '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 |
+
composerRequired67a8571892509a7a621debcca8600f6($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequired67a8571892509a7a621debcca8600f6($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -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-
|
174 |
"type": "library",
|
175 |
"installation-source": "dist",
|
176 |
"autoload": {
|
159 |
"source": {
|
160 |
"type": "git",
|
161 |
"url": "https://github.com/Codeinwp/templates-directory.git",
|
162 |
+
"reference": "18e8b64784457e3851bc79203e1306b6057d4d69"
|
163 |
},
|
164 |
"dist": {
|
165 |
"type": "zip",
|
166 |
+
"url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/18e8b64784457e3851bc79203e1306b6057d4d69",
|
167 |
+
"reference": "18e8b64784457e3851bc79203e1306b6057d4d69",
|
168 |
"shasum": ""
|
169 |
},
|
170 |
"require": {
|
171 |
"codeinwp/full-width-page-templates": "master"
|
172 |
},
|
173 |
+
"time": "2018-12-12 21:50:20",
|
174 |
"type": "library",
|
175 |
"installation-source": "dist",
|
176 |
"autoload": {
|