Version Description
Download this release
Release Info
Developer | Nikschavan |
Plugin | Astra Starter Sites |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- assets/css/admin.css +4 -0
- astra-sites.php +37 -9
- languages/astra-sites.pot +28 -28
- readme.txt +9 -4
assets/css/admin.css
CHANGED
@@ -35,6 +35,10 @@
|
|
35 |
display: none;
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
38 |
.theme {
|
39 |
position: relative;
|
40 |
}
|
35 |
display: none;
|
36 |
}
|
37 |
|
38 |
+
.install-theme-info .demo-type {
|
39 |
+
display: none;
|
40 |
+
}
|
41 |
+
|
42 |
.theme {
|
43 |
position: relative;
|
44 |
}
|
astra-sites.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Astra Sites
|
4 |
* Plugin URI: http://www.wpastra.com/pro/
|
5 |
-
* Description: Import sites build with Astra theme.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
@@ -14,10 +14,38 @@
|
|
14 |
/**
|
15 |
* Set constants.
|
16 |
*/
|
17 |
-
|
18 |
-
define( '
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
-
require_once ASTRA_SITES_DIR . 'classes/class-astra-sites.php';
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Astra Free Sites
|
4 |
* Plugin URI: http://www.wpastra.com/pro/
|
5 |
+
* Description: Import free sites build with Astra theme.
|
6 |
+
* Version: 1.0.5
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
14 |
/**
|
15 |
* Set constants.
|
16 |
*/
|
17 |
+
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
18 |
+
define( 'ASTRA_SITES_VER', '1.0.5' );
|
19 |
+
}
|
20 |
+
|
21 |
+
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
22 |
+
define( 'ASTRA_SITES_FILE', __FILE__ );
|
23 |
+
}
|
24 |
+
|
25 |
+
if ( ! defined( 'ASTRA_SITES_BASE' ) ) {
|
26 |
+
define( 'ASTRA_SITES_BASE', plugin_basename( ASTRA_SITES_FILE ) );
|
27 |
+
}
|
28 |
+
|
29 |
+
if ( ! defined( 'ASTRA_SITES_DIR' ) ) {
|
30 |
+
define( 'ASTRA_SITES_DIR', plugin_dir_path( ASTRA_SITES_FILE ) );
|
31 |
+
}
|
32 |
+
|
33 |
+
if ( ! defined( 'ASTRA_SITES_URI' ) ) {
|
34 |
+
define( 'ASTRA_SITES_URI', plugins_url( '/', ASTRA_SITES_FILE ) );
|
35 |
+
}
|
36 |
+
|
37 |
+
if ( ! function_exists( 'astra_sites_setup' ) ) :
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Astra Sites Setup
|
41 |
+
*
|
42 |
+
* @since 1.0.5
|
43 |
+
*/
|
44 |
+
function astra_sites_setup() {
|
45 |
+
require_once ASTRA_SITES_DIR . 'classes/class-astra-sites.php';
|
46 |
+
}
|
47 |
+
|
48 |
+
add_action( 'plugins_loaded', 'astra_sites_setup' );
|
49 |
+
|
50 |
+
endif;
|
51 |
|
|
languages/astra-sites.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Astra Sites package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Astra Sites 1.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
-
"POT-Creation-Date: 2017-08-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -40,63 +40,63 @@ msgstr ""
|
|
40 |
msgid "Search Sites..."
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: admin/view-astra-sites.php:
|
44 |
msgid "Details & Preview"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: admin/view-astra-sites.php:
|
48 |
msgid "Preview"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: admin/view-astra-sites.php:
|
52 |
msgid "Close"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: admin/view-astra-sites.php:
|
56 |
msgid "Previous"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: admin/view-astra-sites.php:
|
60 |
msgid "Next"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: admin/view-astra-sites.php:
|
64 |
msgid "Install Plugins"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: admin/view-astra-sites.php:
|
68 |
msgid "Read more"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: admin/view-astra-sites.php:
|
72 |
msgid "Required Plugins"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: admin/view-astra-sites.php:
|
76 |
msgid "Collapse"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: admin/view-astra-sites.php:
|
80 |
#. translators: %1$s & %2$s are a Demo API URL
|
81 |
msgid ""
|
82 |
"<p> It seems the demo data server, <i><a href=\"%1$s\">%2$s</a></i> is "
|
83 |
"unreachable from your site.</p>"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: admin/view-astra-sites.php:
|
87 |
msgid ""
|
88 |
"<p class=\"left-margin\"> 1. Sometimes, simple page reload fixes any "
|
89 |
"temporary issues. No kidding!</p>"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: admin/view-astra-sites.php:
|
93 |
msgid ""
|
94 |
"<p class=\"left-margin\"> 2. If that does not work, you will need to talk "
|
95 |
"to your server administrator and check if demo server is being blocked by "
|
96 |
"the firewall!</p>"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: admin/view-astra-sites.php:
|
100 |
#. translators: %1$s is a support link
|
101 |
msgid ""
|
102 |
"<p>If that does not help, please open up a <a href=\"%1$s\" "
|
@@ -115,47 +115,47 @@ msgstr ""
|
|
115 |
msgid "See Library"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: classes/class-astra-sites.php:
|
119 |
msgid "Purchase"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: classes/class-astra-sites.php:
|
123 |
msgid "Error!"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: classes/class-astra-sites.php:
|
127 |
msgid "Error! Read Possibilities."
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: classes/class-astra-sites.php:
|
131 |
msgid "Done! View Site"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: classes/class-astra-sites.php:
|
135 |
msgid "Activating"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: classes/class-astra-sites.php:
|
139 |
msgid "Active"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: classes/class-astra-sites.php:
|
143 |
msgid "Import This Site"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: classes/class-astra-sites.php:
|
147 |
msgid "Hide"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: classes/class-astra-sites.php:
|
151 |
msgid "There was a problem receiving a response from server."
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: classes/class-astra-sites.php:
|
155 |
msgid "No Demos found, Try a different search."
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: classes/class-astra-sites.php:
|
159 |
msgid ""
|
160 |
"Executing Demo Import will make your site similar as ours. Please bear in "
|
161 |
"mind -\n"
|
@@ -169,11 +169,11 @@ msgid ""
|
|
169 |
"placeholders."
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: classes/class-astra-sites.php:
|
173 |
msgid "No plugin specified"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: classes/class-astra-sites.php:
|
177 |
msgid "Plugin Successfully Activated"
|
178 |
msgstr ""
|
179 |
|
2 |
# This file is distributed under the same license as the Astra Sites package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Astra Sites 1.0.5\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
7 |
+
"POT-Creation-Date: 2017-08-29 12:27:58+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
40 |
msgid "Search Sites..."
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: admin/view-astra-sites.php:87
|
44 |
msgid "Details & Preview"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: admin/view-astra-sites.php:93 admin/view-astra-sites.php:161
|
48 |
msgid "Preview"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: admin/view-astra-sites.php:119
|
52 |
msgid "Close"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: admin/view-astra-sites.php:120
|
56 |
msgid "Previous"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: admin/view-astra-sites.php:121
|
60 |
msgid "Next"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: admin/view-astra-sites.php:122 admin/view-astra-sites.php:150
|
64 |
msgid "Install Plugins"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: admin/view-astra-sites.php:138 classes/class-astra-sites.php:217
|
68 |
msgid "Read more"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: admin/view-astra-sites.php:141
|
72 |
msgid "Required Plugins"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: admin/view-astra-sites.php:156
|
76 |
msgid "Collapse"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: admin/view-astra-sites.php:171
|
80 |
#. translators: %1$s & %2$s are a Demo API URL
|
81 |
msgid ""
|
82 |
"<p> It seems the demo data server, <i><a href=\"%1$s\">%2$s</a></i> is "
|
83 |
"unreachable from your site.</p>"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: admin/view-astra-sites.php:173
|
87 |
msgid ""
|
88 |
"<p class=\"left-margin\"> 1. Sometimes, simple page reload fixes any "
|
89 |
"temporary issues. No kidding!</p>"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: admin/view-astra-sites.php:175
|
93 |
msgid ""
|
94 |
"<p class=\"left-margin\"> 2. If that does not work, you will need to talk "
|
95 |
"to your server administrator and check if demo server is being blocked by "
|
96 |
"the firewall!</p>"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin/view-astra-sites.php:178
|
100 |
#. translators: %1$s is a support link
|
101 |
msgid ""
|
102 |
"<p>If that does not help, please open up a <a href=\"%1$s\" "
|
115 |
msgid "See Library"
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: classes/class-astra-sites.php:205
|
119 |
msgid "Purchase"
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: classes/class-astra-sites.php:210
|
123 |
msgid "Error!"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: classes/class-astra-sites.php:211
|
127 |
msgid "Error! Read Possibilities."
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: classes/class-astra-sites.php:213
|
131 |
msgid "Done! View Site"
|
132 |
msgstr ""
|
133 |
|
134 |
+
#: classes/class-astra-sites.php:214
|
135 |
msgid "Activating"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: classes/class-astra-sites.php:215
|
139 |
msgid "Active"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: classes/class-astra-sites.php:216
|
143 |
msgid "Import This Site"
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: classes/class-astra-sites.php:218
|
147 |
msgid "Hide"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: classes/class-astra-sites.php:219
|
151 |
msgid "There was a problem receiving a response from server."
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: classes/class-astra-sites.php:220
|
155 |
msgid "No Demos found, Try a different search."
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: classes/class-astra-sites.php:221
|
159 |
msgid ""
|
160 |
"Executing Demo Import will make your site similar as ours. Please bear in "
|
161 |
"mind -\n"
|
169 |
"placeholders."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: classes/class-astra-sites.php:257
|
173 |
msgid "No plugin specified"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: classes/class-astra-sites.php:282
|
177 |
msgid "Plugin Successfully Activated"
|
178 |
msgstr ""
|
179 |
|
readme.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
=== Astra Sites ===
|
2 |
Contributors: brainstormforce
|
3 |
Donate link: https://wpastra.com/pro/
|
4 |
Tags: demo, theme demos, one click import
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.8.1
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Import Astra
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -37,7 +37,7 @@ https://sites.wpastra.com/law-free/
|
|
37 |
|
38 |
1. Upload the plugin files to the `/wp-content/plugins/astra-sites` directory, or install the plugin through the WordPress plugins screen directly.
|
39 |
1. Activate the plugin through the 'Plugins' screen in WordPress
|
40 |
-
1. Use the Appearance->Astra->
|
41 |
|
42 |
== Screenshots ==
|
43 |
1. Select the demo you want to import.
|
@@ -46,6 +46,11 @@ https://sites.wpastra.com/law-free/
|
|
46 |
|
47 |
== Changelog ==
|
48 |
|
|
|
|
|
|
|
|
|
|
|
49 |
v1.0.4 - 21-Aug-2017
|
50 |
* New: Added filter `astra_sites_api_params` for adding extra params in api call.
|
51 |
* New: Added filter `astra_sites_api_args` for adding extra arguments in api call.
|
1 |
+
=== Astra Free Sites ===
|
2 |
Contributors: brainstormforce
|
3 |
Donate link: https://wpastra.com/pro/
|
4 |
Tags: demo, theme demos, one click import
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.8.1
|
7 |
+
Stable tag: 1.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Import Astra Free Sites with just one click.
|
12 |
|
13 |
== Description ==
|
14 |
|
37 |
|
38 |
1. Upload the plugin files to the `/wp-content/plugins/astra-sites` directory, or install the plugin through the WordPress plugins screen directly.
|
39 |
1. Activate the plugin through the 'Plugins' screen in WordPress
|
40 |
+
1. Use the Appearance->Astra->Astra Free Sites to select the page to be displayed as header and footer.
|
41 |
|
42 |
== Screenshots ==
|
43 |
1. Select the demo you want to import.
|
46 |
|
47 |
== Changelog ==
|
48 |
|
49 |
+
v1.0.5 - 29-Aug-2017
|
50 |
+
* New: Added filter `astra_sites_api_args` for adding extra arguments in api call.
|
51 |
+
* Enhancement: Plugin name updated from `Astra Sites` with `Astra Free Sites`.
|
52 |
+
* Fix: PHP error while ignoring users.
|
53 |
+
|
54 |
v1.0.4 - 21-Aug-2017
|
55 |
* New: Added filter `astra_sites_api_params` for adding extra params in api call.
|
56 |
* New: Added filter `astra_sites_api_args` for adding extra arguments in api call.
|