Rara One Click Demo Import - Version 1.0.3

Version Description

*COMPATIBILITY TESTING *DEMO IMPORT PROCESS EASED

Download this release

Release Info

Developer raratheme
Plugin Icon 128x128 Rara One Click Demo Import
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.3

includes/settings/installed-demos.php CHANGED
@@ -44,9 +44,8 @@
44
<li><?php esc_html_e( 'Menus', 'rara-one-click-demo-import' ); ?></li>
45
<li><?php esc_html_e( 'Settings', 'rara-one-click-demo-import' ); ?></li>
46
</ul>
47
- <?php
48
- $wpreset = '<a href="https://wordpress.org/plugins/wp-reset">WP Reset</a>'; ?>
49
- <p><b><?php $msg = sprintf( __( 'NOTE: Please import the demo content only on fresh WordPress installation. You can reset your WordPress Installation using any reset plugin like %1$s by WP Dev.','rara-one-click-demo-import' ), $wpreset ); echo apply_filters( 'rrdi_fresh_install_instruction',$msg );?></b></p>
50
51
<hr>
52
44
<li><?php esc_html_e( 'Menus', 'rara-one-click-demo-import' ); ?></li>
45
<li><?php esc_html_e( 'Settings', 'rara-one-click-demo-import' ); ?></li>
46
</ul>
47
+
48
+ <p><b><?php $msg = __( 'NOTE: Please import the demo content only on fresh WordPress installation. You can reset your WordPress Installation using any reset plugin like WP Reset by WP Dev.','rara-one-click-demo-import' ); echo apply_filters( 'rrdi_fresh_install_instruction',$msg );?></b></p>
49
50
<hr>
51
includes/settings/welcome.php CHANGED
@@ -10,7 +10,7 @@
10
<ol>
11
<li><?php
12
$wpreset = '<a href="https://wordpress.org/plugins/wp-reset">WP Reset</a>';
13
- echo sprintf( __( 'Before you begin, make sure you are importing the demo content on fresh WordPress Installation. However, if you want to reset your old WordPress installation, you can use any reset plugin like %1$s.' ), $wpreset );?></li>
14
<li>
15
<?php
16
$link = '<a href="https://raratheme.com/">Rara Theme</a>';
10
<ol>
11
<li><?php
12
$wpreset = '<a href="https://wordpress.org/plugins/wp-reset">WP Reset</a>';
13
+ echo sprintf( __( 'Before you begin, make sure you are importing the demo content on fresh WordPress Installation. However, if you want to reset your old WordPress installation, you can use any reset plugin like %1$s.'), $wpreset );?></li>
14
<li>
15
<?php
16
$link = '<a href="https://raratheme.com/">Rara Theme</a>';
rara-one-click-demo-import.php → rara-demo-import.php RENAMED
@@ -3,7 +3,7 @@
3
Plugin Name: RARA One Click Demo Import
4
Plugin URI: https://wordpress.org/plugins/rara-one-click-demo-import/
5
Description: Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
6
- Version: 1.0.5
7
Author: raratheme
8
Author URI: https://www.raratheme.com
9
License: GPL3
@@ -17,10 +17,15 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
17
define( 'RRDI_PATH', plugin_dir_path( __FILE__ ) );
18
19
// Current version of the plugin.
20
- define( 'RRDI_VERSION', '1.0.5' );
21
22
// Path/URL to root of this plugin, with trailing slash.
23
define( 'RRDI_URL', plugin_dir_url( __FILE__ ) );
24
25
require RRDI_PATH . 'includes/class-rrdi-init.php';
26
3
Plugin Name: RARA One Click Demo Import
4
Plugin URI: https://wordpress.org/plugins/rara-one-click-demo-import/
5
Description: Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
6
+ Version: 1.0.3
7
Author: raratheme
8
Author URI: https://www.raratheme.com
9
License: GPL3
17
define( 'RRDI_PATH', plugin_dir_path( __FILE__ ) );
18
19
// Current version of the plugin.
20
+ define( 'RRDI_VERSION', '1.0.3' );
21
22
// Path/URL to root of this plugin, with trailing slash.
23
define( 'RRDI_URL', plugin_dir_url( __FILE__ ) );
24
25
require RRDI_PATH . 'includes/class-rrdi-init.php';
26
27
+ // $upload_dir = wp_upload_dir();
28
+ // $path = $upload_dir['basedir'] . '/rara-demo-pack/';
29
+
30
+ // $dir = $path;
31
+
readme.txt CHANGED
@@ -1,51 +1,47 @@
1
- === Rara One Click Demo Import ===
2
Contributors: raratheme
3
Tags: import, content, demo, data, widgets, settings
4
Requires at least: 4.0.0
5
- Tested up to: 4.8.1
6
- Stable tag: 1.0.5
7
License: GPLv3 or later
8
9
- Make your website look like the live demo of the theme with a click!
10
11
== Description ==
12
13
- Do you love the demos of the themes made by Rara Theme? Or, need a guideline for setting up the themes?
14
15
- Then, all you need is this plugin!
16
17
- Rara One Click Demo Import plugin will help you import the demo content, including settings of the widgets and the customizer, with a click.
18
19
The demo content will make your website look like the preview of a theme so that you get a basic guideline for making your website.
20
21
Once installed and activated, Rara One Click Demo Import will be accessible through **Appearance > Rara Demo Import**.
22
23
- If you use Premium themes made by Rara Themes, just click on ‘Import Now’ button and your website will look like the demo of the activated theme in no time.
24
25
- If you use free themes made, download the demo files from [Rara Theme](https://raratheme.com), upload it using ‘Upload Demo’ button on this plugin, and click Import Now. As simple as that.
26
27
- You can find the detail documentation [here](https://raratheme.com/blog/import-demo-content-rara-themes/)
28
29
- If you need help, contact our support team [here](https://raratheme.com/support-ticket/).
30
31
This plugin is based on the 'Theme Demo Import' plugin by Themely, https://wordpress.org/plugins/theme-demo-import/
32
33
As well as the improved WP Import 2.0 plugin by @humanmade, https://github.com/humanmade/WordPress-Importer.
34
35
== Installation ==
36
- **Method 1:**
37
38
- On your WordPress admin dashboard
39
- Visit ‘Plugins > Add New’
40
- Search for ‘RARA One Click Demo Import’ and install the plugin.
41
- Activate ‘RARA One Click Demo Import ’ from your Plugins page.
42
43
- **Method 2:**
44
-
45
- Download the plugin from WordPress.org repository
46
- On your WordPress admin dashboard, go to ‘Plugins> Add New> Upload Plugin’.
47
- Upload the downloaded plugin file (rara-one-click-demo-import.zip) and click ‘Install Now’
48
- Activate ‘Rara One Click Demo Import’ from your Plugins page.
49
50
Once the plugin is activated, you will find the actual import page in **Appearance > Rara Demo Import**
51
@@ -63,19 +59,22 @@ The log file will be registered in the *wp-admin -> Media* section.
63
64
= I can't activate the plugin because of a fatal error. What can I do? =
65
66
- *Update: There is an admin error notice, stating that the minimal PHP version required for this plugin is 5.3.2.*
67
68
You want to activate the plugin, but this error shows up:
69
70
*Plugin could not be activated because it triggered a fatal error*
71
72
- This happens because your hosting server is using a very old version of PHP. This plugin requires PHP version of at least **5.3.x**, but we recommend version *5.6.x*. Please contact your hosting company and ask them to update the PHP version for your site.
73
74
== Screenshots ==
75
76
- 1. Upload Demo Button
77
- 2. Upload Demo Screen
78
- 3. Import Now
79
80
== License ==
81
@@ -110,6 +109,7 @@ You should have received a copy of the GNU General Public License along
110
with this program; if not, write to the Free Software Foundation, Inc.,
111
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
112
113
== Changelog ==
114
115
= 1.0.0 =
@@ -120,14 +120,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
120
* FILTERS ADDED
121
122
= 1.0.2 =
123
- * CODE CLEANUP
124
125
= 1.0.3 =
126
- * PLUGIN DEPENDENCY CHECK
127
- * COMPATIBILITY TEST
128
-
129
- = 1.0.4 =
130
- * COMPATIBILITY TEST
131
-
132
- = 1.0.5 =
133
- * RARA THEME DEPENDENT
1
+ === RARA One Click Demo Import ===
2
Contributors: raratheme
3
+ Donate link: https://raratheme.com/
4
Tags: import, content, demo, data, widgets, settings
5
Requires at least: 4.0.0
6
+ Tested up to: 4.7.3
7
+ Stable tag: 1.0.3
8
License: GPLv3 or later
9
10
+ Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
11
12
== Description ==
13
14
+ You just downloaded, installed and activated a great looking WordPress theme. But, hey! The website doesn't look anything like the theme's live demo.
15
16
+ It is because you don't have the settings and the contents like the demo.
17
18
+ This plugin will help you import the demo content, including settings of the widgets and the customizer, with a click.
19
20
The demo content will make your website look like the preview of a theme so that you get a basic guideline for making your website.
21
22
Once installed and activated, Rara One Click Demo Import will be accessible through **Appearance > Rara Demo Import**.
23
24
+ If you use our free theme, you need to upload three types of files to import the demo. You can find them on our website.
25
26
+ 1. XML File: This file contains the actual demo contents. This file is required for demo import.
27
28
+ 2. WIE or JSON File: This is optional file. This file imports widgets. You can create the WIE or JSON File using [Widget Importer & Exporter](https://wordpress.org/plugins/widget-importer-exporter/) plugin.
29
+
30
+ 3. DAT File: This is also optional file. This file will import customizer settings. You can create a DAT file using [Customizer Export/Import] (https://wordpress.org/plugins/customizer-export-import/) plugin.
31
32
+ You can find the detail documentation [here](https://raratheme.com/blog/import-demo-content-rara-themes/)
33
34
This plugin is based on the 'Theme Demo Import' plugin by Themely, https://wordpress.org/plugins/theme-demo-import/
35
36
As well as the improved WP Import 2.0 plugin by @humanmade, https://github.com/humanmade/WordPress-Importer.
37
38
== Installation ==
39
40
+ **From your WordPress dashboard**
41
42
+ 1. Visit 'Plugins > Add New',
43
+ 2. Search for 'Rara One Click Demo Import' and install the plugin.
44
+ 3. Activate 'Rara One Click Demo Import' from your Plugins page.
45
46
Once the plugin is activated, you will find the actual import page in **Appearance > Rara Demo Import**
47
59
60
= I can't activate the plugin because of a fatal error. What can I do? =
61
62
+ *Update: There is a admin error notice, stating that the minimal PHP version required for this plugin is 5.3.2.*
63
64
You want to activate the plugin, but this error shows up:
65
66
*Plugin could not be activated because it triggered a fatal error*
67
68
+ This happens, because your hosting server is using a very old version of PHP. This plugin requires PHP version of at least **5.3.x**, but we recommend version *5.6.x*. Please contact your hosting company and ask them to update the PHP version for your site.
69
+
70
+ =I am a theme developer. How do I use the plugin on my themes?=
71
+
72
+ If you are a theme developer, you can find detailed documentation [here](https://raratheme.com/blog/rara-one-click-demo-import-plugin-developers/)
73
74
== Screenshots ==
75
76
+ 1. No pre-defined import files
77
+ 2. Pre-defined import files
78
79
== License ==
80
109
with this program; if not, write to the Free Software Foundation, Inc.,
110
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
111
112
+
113
== Changelog ==
114
115
= 1.0.0 =
120
* FILTERS ADDED
121
122
= 1.0.2 =
123
+ *CODE CLEANUP
124
125
= 1.0.3 =
126
+ *COMPATIBILITY TESTING
127
+ *DEMO IMPORT PROCESS EASED