Version Description
Download this release
Release Info
Developer | Nikschavan |
Plugin | Astra Starter Sites |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- astra-sites.php +2 -2
- inc/assets/css/admin.css +15 -2
- inc/classes/class-astra-sites-importer.php +1 -1
- inc/includes/admin-page.php +3 -1
- languages/astra-sites.pot +25 -25
- readme.txt +4 -1
astra-sites.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Astra Starter Sites – Elementor, Beaver Builder & Gutenberg Templates
|
4 |
* Plugin URI: http://www.wpastra.com/pro/
|
5 |
* Description: Import free sites build with Astra theme.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
@@ -19,7 +19,7 @@ if ( ! defined( 'ASTRA_SITES_NAME' ) ) {
|
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
-
define( 'ASTRA_SITES_VER', '1.3.
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
3 |
* Plugin Name: Astra Starter Sites – Elementor, Beaver Builder & Gutenberg Templates
|
4 |
* Plugin URI: http://www.wpastra.com/pro/
|
5 |
* Description: Import free sites build with Astra theme.
|
6 |
+
* Version: 1.3.1
|
7 |
* Author: Brainstorm Force
|
8 |
* Author URI: http://www.brainstormforce.com
|
9 |
* Text Domain: astra-sites
|
19 |
}
|
20 |
|
21 |
if ( ! defined( 'ASTRA_SITES_VER' ) ) {
|
22 |
+
define( 'ASTRA_SITES_VER', '1.3.1' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
|
inc/assets/css/admin.css
CHANGED
@@ -585,7 +585,7 @@ body.loading-content .select-page-builder {
|
|
585 |
}
|
586 |
|
587 |
.theme-browser .theme .site-preview > .theme-screenshot {
|
588 |
-
transition: all
|
589 |
background-position: center top;
|
590 |
background-size: cover;
|
591 |
background-repeat: no-repeat;
|
@@ -635,4 +635,17 @@ body.loading-content .select-page-builder {
|
|
635 |
#astra-sites-menu-page .wp-full-overlay-main:before {
|
636 |
content: '';
|
637 |
display: none;
|
638 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
}
|
586 |
|
587 |
.theme-browser .theme .site-preview > .theme-screenshot {
|
588 |
+
transition: all ease-in-out 3s;
|
589 |
background-position: center top;
|
590 |
background-size: cover;
|
591 |
background-repeat: no-repeat;
|
635 |
#astra-sites-menu-page .wp-full-overlay-main:before {
|
636 |
content: '';
|
637 |
display: none;
|
638 |
+
}
|
639 |
+
|
640 |
+
.theme-screenshot-wrap {
|
641 |
+
overflow: hidden;
|
642 |
+
max-height: 300px;
|
643 |
+
margin: 15px 0;
|
644 |
+
border: 1px solid #ccc;
|
645 |
+
}
|
646 |
+
|
647 |
+
.astra-sites-preview .install-theme-info .theme-screenshot {
|
648 |
+
width: 100%;
|
649 |
+
border: none;
|
650 |
+
margin: 0;
|
651 |
+
}
|
inc/classes/class-astra-sites-importer.php
CHANGED
@@ -212,7 +212,7 @@ if ( ! class_exists( 'Astra_Sites_Importer' ) ) :
|
|
212 |
if ( ! empty( $customizer_data ) ) {
|
213 |
|
214 |
// Set meta for tracking the post.
|
215 |
-
Astra_Sites_Image_Importer::log( 'Customizer Data ' .
|
216 |
update_option( '_astra_sites_old_customizer_data', $customizer_data );
|
217 |
|
218 |
Astra_Customizer_Import::instance()->import( $customizer_data );
|
212 |
if ( ! empty( $customizer_data ) ) {
|
213 |
|
214 |
// Set meta for tracking the post.
|
215 |
+
Astra_Sites_Image_Importer::log( 'Customizer Data ' . $customizer_data );
|
216 |
update_option( '_astra_sites_old_customizer_data', $customizer_data );
|
217 |
|
218 |
Astra_Customizer_Import::instance()->import( $customizer_data );
|
inc/includes/admin-page.php
CHANGED
@@ -150,7 +150,9 @@ defined( 'ABSPATH' ) or exit;
|
|
150 |
<h3 class="theme-name">{{{data.demo_name}}}</h3>
|
151 |
|
152 |
<# if ( data.screenshot.length ) { #>
|
153 |
-
<
|
|
|
|
|
154 |
<# } #>
|
155 |
|
156 |
<div class="theme-details">
|
150 |
<h3 class="theme-name">{{{data.demo_name}}}</h3>
|
151 |
|
152 |
<# if ( data.screenshot.length ) { #>
|
153 |
+
<div class="theme-screenshot-wrap">
|
154 |
+
<img class="theme-screenshot" src="{{{data.screenshot}}}" alt="">
|
155 |
+
</div>
|
156 |
<# } #>
|
157 |
|
158 |
<div class="theme-details">
|
languages/astra-sites.pot
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Astra Starter Sites – Elementor, Beaver Builder & "
|
6 |
-
"Gutenberg Templates 1.3.
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
8 |
-
"POT-Creation-Date: 2019-03-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -224,7 +224,7 @@ msgstr ""
|
|
224 |
msgid "Importing.."
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: inc/classes/class-astra-sites.php:288 inc/includes/admin-page.php:
|
228 |
msgid "Read more"
|
229 |
msgstr ""
|
230 |
|
@@ -236,7 +236,7 @@ msgstr ""
|
|
236 |
msgid "There was a problem receiving a response from server."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: inc/classes/class-astra-sites.php:291 inc/includes/admin-page.php:
|
240 |
msgid "No Demos found, Try a different search."
|
241 |
msgstr ""
|
242 |
|
@@ -623,19 +623,19 @@ msgid "Previous"
|
|
623 |
msgstr ""
|
624 |
|
625 |
#: inc/includes/admin-page.php:142 inc/includes/admin-page.php:143
|
626 |
-
#: inc/includes/admin-page.php:
|
627 |
msgid "Import Site"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: inc/includes/admin-page.php:
|
631 |
msgid "Plugins Used in This Starter Site"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#: inc/includes/admin-page.php:
|
635 |
msgid "These plugins will be installed when you import this site."
|
636 |
msgstr ""
|
637 |
|
638 |
-
#: inc/includes/admin-page.php:
|
639 |
msgid ""
|
640 |
"Customizer is what gives a design to the website; and selecting this option "
|
641 |
"replaces your current design with a new one. <br/>Backup of current "
|
@@ -643,67 +643,67 @@ msgid ""
|
|
643 |
"just in case if you want to restore it later."
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: inc/includes/admin-page.php:
|
647 |
msgid ""
|
648 |
"Selecting this option will import dummy pages, posts, images and menus. If "
|
649 |
"you do not want to import dummy content, please uncheck this option."
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: inc/includes/admin-page.php:
|
653 |
msgid ""
|
654 |
"WARNING: Selecting this option will delete data from your current website. "
|
655 |
"Choose this option only if this is intended."
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: inc/includes/admin-page.php:
|
659 |
msgid "Advanced Options"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: inc/includes/admin-page.php:
|
663 |
msgid "Required Plugins"
|
664 |
msgstr ""
|
665 |
|
666 |
-
#: inc/includes/admin-page.php:
|
667 |
msgid "Collapse"
|
668 |
msgstr ""
|
669 |
|
670 |
-
#: inc/includes/admin-page.php:
|
671 |
msgid "Enter desktop preview mode"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: inc/includes/admin-page.php:
|
675 |
msgid "Enter tablet preview mode"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: inc/includes/admin-page.php:
|
679 |
msgid "Enter mobile preview mode"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: inc/includes/admin-page.php:
|
683 |
msgid "Preview"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: inc/includes/admin-page.php:
|
687 |
#. translators: %1$s & %2$s are a Demo API URL
|
688 |
msgid ""
|
689 |
"<p> It seems the demo data server, <i><a href=\"%1$s\">%2$s</a></i> is "
|
690 |
"unreachable from your site.</p>"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: inc/includes/admin-page.php:
|
694 |
msgid ""
|
695 |
"<p class=\"left-margin\"> 1. Sometimes, simple page reload fixes any "
|
696 |
"temporary issues. No kidding!</p>"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: inc/includes/admin-page.php:
|
700 |
msgid ""
|
701 |
"<p class=\"left-margin\"> 2. If that does not work, you will need to talk "
|
702 |
"to your server administrator and check if demo server is being blocked by "
|
703 |
"the firewall!</p>"
|
704 |
msgstr ""
|
705 |
|
706 |
-
#: inc/includes/admin-page.php:
|
707 |
#. translators: %1$s is a support link
|
708 |
msgid ""
|
709 |
"<p>If that does not help, please open up a <a href=\"%1$s\" "
|
@@ -711,24 +711,24 @@ msgid ""
|
|
711 |
"for you.</p>"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: inc/includes/admin-page.php:
|
715 |
msgid "Under Maintenance.."
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: inc/includes/admin-page.php:
|
719 |
msgid ""
|
720 |
"If you are seeing this message, most likely our servers are under routine "
|
721 |
"maintenance and we will be back shortly. "
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: inc/includes/admin-page.php:
|
725 |
msgid ""
|
726 |
"In rare case, it is possible your website is having trouble connecting with "
|
727 |
"ours. If you need help, please feel free to get in touch with us from our "
|
728 |
"website."
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: inc/includes/admin-page.php:
|
732 |
#. translators: %1$s External Link
|
733 |
msgid ""
|
734 |
"Don't see a site that you would like to import?<br><a target=\"_blank\" "
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Astra Starter Sites – Elementor, Beaver Builder & "
|
6 |
+
"Gutenberg Templates 1.3.1\n"
|
7 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
|
8 |
+
"POT-Creation-Date: 2019-03-28 07:55:18+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
224 |
msgid "Importing.."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: inc/classes/class-astra-sites.php:288 inc/includes/admin-page.php:161
|
228 |
msgid "Read more"
|
229 |
msgstr ""
|
230 |
|
236 |
msgid "There was a problem receiving a response from server."
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: inc/classes/class-astra-sites.php:291 inc/includes/admin-page.php:374
|
240 |
msgid "No Demos found, Try a different search."
|
241 |
msgstr ""
|
242 |
|
623 |
msgstr ""
|
624 |
|
625 |
#: inc/includes/admin-page.php:142 inc/includes/admin-page.php:143
|
626 |
+
#: inc/includes/admin-page.php:223 inc/includes/admin-page.php:231
|
627 |
msgid "Import Site"
|
628 |
msgstr ""
|
629 |
|
630 |
+
#: inc/includes/admin-page.php:165
|
631 |
msgid "Plugins Used in This Starter Site"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: inc/includes/admin-page.php:167
|
635 |
msgid "These plugins will be installed when you import this site."
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: inc/includes/admin-page.php:179
|
639 |
msgid ""
|
640 |
"Customizer is what gives a design to the website; and selecting this option "
|
641 |
"replaces your current design with a new one. <br/>Backup of current "
|
643 |
"just in case if you want to restore it later."
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: inc/includes/admin-page.php:188
|
647 |
msgid ""
|
648 |
"Selecting this option will import dummy pages, posts, images and menus. If "
|
649 |
"you do not want to import dummy content, please uncheck this option."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: inc/includes/admin-page.php:204
|
653 |
msgid ""
|
654 |
"WARNING: Selecting this option will delete data from your current website. "
|
655 |
"Choose this option only if this is intended."
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: inc/includes/admin-page.php:209
|
659 |
msgid "Advanced Options"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: inc/includes/admin-page.php:214
|
663 |
msgid "Required Plugins"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: inc/includes/admin-page.php:237
|
667 |
msgid "Collapse"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: inc/includes/admin-page.php:243
|
671 |
msgid "Enter desktop preview mode"
|
672 |
msgstr ""
|
673 |
|
674 |
+
#: inc/includes/admin-page.php:246
|
675 |
msgid "Enter tablet preview mode"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: inc/includes/admin-page.php:249
|
679 |
msgid "Enter mobile preview mode"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: inc/includes/admin-page.php:257 inc/includes/admin-page.php:366
|
683 |
msgid "Preview"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: inc/includes/admin-page.php:272
|
687 |
#. translators: %1$s & %2$s are a Demo API URL
|
688 |
msgid ""
|
689 |
"<p> It seems the demo data server, <i><a href=\"%1$s\">%2$s</a></i> is "
|
690 |
"unreachable from your site.</p>"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: inc/includes/admin-page.php:274
|
694 |
msgid ""
|
695 |
"<p class=\"left-margin\"> 1. Sometimes, simple page reload fixes any "
|
696 |
"temporary issues. No kidding!</p>"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: inc/includes/admin-page.php:276
|
700 |
msgid ""
|
701 |
"<p class=\"left-margin\"> 2. If that does not work, you will need to talk "
|
702 |
"to your server administrator and check if demo server is being blocked by "
|
703 |
"the firewall!</p>"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: inc/includes/admin-page.php:279
|
707 |
#. translators: %1$s is a support link
|
708 |
msgid ""
|
709 |
"<p>If that does not help, please open up a <a href=\"%1$s\" "
|
711 |
"for you.</p>"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: inc/includes/admin-page.php:291
|
715 |
msgid "Under Maintenance.."
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: inc/includes/admin-page.php:292
|
719 |
msgid ""
|
720 |
"If you are seeing this message, most likely our servers are under routine "
|
721 |
"maintenance and we will be back shortly. "
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: inc/includes/admin-page.php:293
|
725 |
msgid ""
|
726 |
"In rare case, it is possible your website is having trouble connecting with "
|
727 |
"ours. If you need help, please feel free to get in touch with us from our "
|
728 |
"website."
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: inc/includes/admin-page.php:378 inc/includes/admin-page.php:396
|
732 |
#. translators: %1$s External Link
|
733 |
msgid ""
|
734 |
"Don't see a site that you would like to import?<br><a target=\"_blank\" "
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Elementor,Beaver Builder,Templates,Gutenberg,Astra Starter Sites
|
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.1
|
8 |
-
Stable tag: 1.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -117,6 +117,9 @@ We are open to suggestions and would love to work on topics that our users are l
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
120 |
v1.3.0 - 26-March-2019
|
121 |
- New: Improve the user experience by removing unnecessary steps required in importing a site. Now an Astra site can be imported with just one click.
|
122 |
- New: Display page builder selection only once on the first load of Astra Sites.
|
5 |
Requires at least: 4.4
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.1
|
8 |
+
Stable tag: 1.3.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
v1.3.1 - 28-March-2019
|
121 |
+
- Improvement: Set the max height for the website image from the website preview window.
|
122 |
+
|
123 |
v1.3.0 - 26-March-2019
|
124 |
- New: Improve the user experience by removing unnecessary steps required in importing a site. Now an Astra site can be imported with just one click.
|
125 |
- New: Display page builder selection only once on the first load of Astra Sites.
|