Version Description
- Added: New eCommerce demo Simple.
Download this release
Release Info
Developer | oceanwp |
Plugin | Ocean Demo Import |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- includes/importer.php +24 -0
- index.php +1 -0
- ocean-demo-import.php +2 -2
- readme.txt +9 -8
includes/importer.php
CHANGED
@@ -124,6 +124,30 @@ class ODI_Importer {
|
|
124 |
'is_shop' => false,
|
125 |
),
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
'store' => array(
|
128 |
'categories' => array( 'eCommerce' ),
|
129 |
'xml_file' => $url . 'store/sample-data.xml',
|
124 |
'is_shop' => false,
|
125 |
),
|
126 |
|
127 |
+
'simple' => array(
|
128 |
+
'categories' => array( 'eCommerce' ),
|
129 |
+
'xml_file' => $url . 'simple/sample-data.xml',
|
130 |
+
'theme_settings' => $url . 'simple/oceanwp-export.json',
|
131 |
+
'widgets_file' => $url . 'simple/widgets.wie',
|
132 |
+
'home_title' => 'Home',
|
133 |
+
'blog_title' => 'Blog',
|
134 |
+
'posts_to_show' => '3',
|
135 |
+
'elementor_width' => '1100',
|
136 |
+
'is_shop' => true,
|
137 |
+
'catalog_img' => array(
|
138 |
+
'width' => '348',
|
139 |
+
'height' => '464',
|
140 |
+
),
|
141 |
+
'single_img' => array(
|
142 |
+
'width' => '454',
|
143 |
+
'height' => '608',
|
144 |
+
),
|
145 |
+
'thumbnails_img' => array(
|
146 |
+
'width' => '90',
|
147 |
+
'height' => '120',
|
148 |
+
),
|
149 |
+
),
|
150 |
+
|
151 |
'store' => array(
|
152 |
'categories' => array( 'eCommerce' ),
|
153 |
'xml_file' => $url . 'store/sample-data.xml',
|
index.php
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<?php // Silence is golden... ?>
|
ocean-demo-import.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Ocean Demo Import
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-demo-import/
|
5 |
* Description: Import the OceanWP demo content, widgets and customizer settings with one click.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.0.0
|
@@ -87,7 +87,7 @@ final class Ocean_Demo_Import {
|
|
87 |
$this->token = 'ocean-demo-import';
|
88 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
89 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
90 |
-
$this->version = '1.0.
|
91 |
|
92 |
define( 'ODI_PATH', $this->plugin_path );
|
93 |
define( 'ODI_URL', $this->plugin_url );
|
3 |
* Plugin Name: Ocean Demo Import
|
4 |
* Plugin URI: https://oceanwp.org/extension/ocean-demo-import/
|
5 |
* Description: Import the OceanWP demo content, widgets and customizer settings with one click.
|
6 |
+
* Version: 1.0.3
|
7 |
* Author: OceanWP
|
8 |
* Author URI: https://oceanwp.org/
|
9 |
* Requires at least: 4.0.0
|
87 |
$this->token = 'ocean-demo-import';
|
88 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
89 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
90 |
+
$this->version = '1.0.3';
|
91 |
|
92 |
define( 'ODI_PATH', $this->plugin_path );
|
93 |
define( 'ODI_URL', $this->plugin_url );
|
readme.txt
CHANGED
@@ -2,13 +2,11 @@
|
|
2 |
Contributors: oceanwp
|
3 |
Tags: import, content, demo, data, widgets, settings, oceanwp
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
-
Import the OceanWP demo content, widgets and customizer settings with one click.
|
11 |
-
|
12 |
== Description ==
|
13 |
|
14 |
Import the OceanWP demo content, widgets and customizer settings with one click.
|
@@ -32,15 +30,18 @@ This plugin will only work with the [OceanWP](https://oceanwp.org/) theme.
|
|
32 |
|
33 |
== Changelog ==
|
34 |
|
|
|
|
|
|
|
35 |
= 1.0.2 =
|
36 |
-
- Filter and search bar
|
37 |
-
- Images size updated for large screens.
|
38 |
|
39 |
= 1.0.1.1 =
|
40 |
-
- Problem ith images
|
41 |
|
42 |
= 1.0.1 =
|
43 |
-
- Support OceanWP 1.1.
|
44 |
|
45 |
= 1.0.0 =
|
46 |
- Initial release.
|
2 |
Contributors: oceanwp
|
3 |
Tags: import, content, demo, data, widgets, settings, oceanwp
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.8
|
6 |
+
Stable tag: 1.0.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
|
|
|
|
10 |
== Description ==
|
11 |
|
12 |
Import the OceanWP demo content, widgets and customizer settings with one click.
|
30 |
|
31 |
== Changelog ==
|
32 |
|
33 |
+
= 1.0.3 =
|
34 |
+
- Added: New eCommerce demo [Simple](https://oceanwp.org/simple/).
|
35 |
+
|
36 |
= 1.0.2 =
|
37 |
+
- Added: Filter and search bar to easily find a demo.
|
38 |
+
- Tweak: Images size updated for large screens.
|
39 |
|
40 |
= 1.0.1.1 =
|
41 |
+
- Fixed: Problem ith images.
|
42 |
|
43 |
= 1.0.1 =
|
44 |
+
- Added: Support OceanWP 1.1.
|
45 |
|
46 |
= 1.0.0 =
|
47 |
- Initial release.
|