Astra Starter Sites - Version 2.3.7

Version Description

Download this release

Release Info

Developer brainstormworg
Plugin Icon Astra Starter Sites
Version 2.3.7
Comparing to
See all releases

Code changes from version 2.3.6 to 2.3.7

admin/bsf-analytics/version.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "bsf-analytics-ver": "1.1.0"
3
  }
4
 
1
  {
2
+ "bsf-analytics-ver": "1.1.1"
3
  }
4
 
{inc/assets → assets}/css/astra-notices-rtl.css RENAMED
File without changes
{inc/assets → assets}/css/astra-notices.css RENAMED
File without changes
astra-sites.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Starter Templates
4
  * Plugin URI: https://wpastra.com/
5
  * Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
6
- * Version: 2.3.6
7
  * Author: Brainstorm Force
8
  * Author URI: https://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', '2.3.6' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
@@ -47,6 +47,9 @@ if ( ! function_exists( 'astra_sites_setup' ) ) :
47
  */
48
  function astra_sites_setup() {
49
  require_once ASTRA_SITES_DIR . 'inc/classes/class-astra-sites.php';
 
 
 
50
  }
51
 
52
  add_action( 'plugins_loaded', 'astra_sites_setup' );
3
  * Plugin Name: Starter Templates
4
  * Plugin URI: https://wpastra.com/
5
  * Description: Starter Templates is all in one solution for complete starter sites, single page templates, blocks & images. This plugin offers the premium library of ready templates & provides quick access to beautiful Pixabay images that can be imported in your website easily.
6
+ * Version: 2.3.7
7
  * Author: Brainstorm Force
8
  * Author URI: https://www.brainstormforce.com
9
  * Text Domain: astra-sites
19
  }
20
 
21
  if ( ! defined( 'ASTRA_SITES_VER' ) ) {
22
+ define( 'ASTRA_SITES_VER', '2.3.7' );
23
  }
24
 
25
  if ( ! defined( 'ASTRA_SITES_FILE' ) ) {
47
  */
48
  function astra_sites_setup() {
49
  require_once ASTRA_SITES_DIR . 'inc/classes/class-astra-sites.php';
50
+
51
+ // Admin.
52
+ require_once ASTRA_SITES_DIR . 'classes/class-astra-sites-admin.php';
53
  }
54
 
55
  add_action( 'plugins_loaded', 'astra_sites_setup' );
classes/class-astra-sites-admin.php ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Admin Notices
4
+ *
5
+ * @since 2.3.7
6
+ * @package Astra Sites
7
+ */
8
+
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
13
+ if ( ! class_exists( 'Astra_Sites_Admin' ) ) :
14
+
15
+ /**
16
+ * Admin
17
+ */
18
+ class Astra_Sites_Admin {
19
+
20
+ /**
21
+ * Instance of Astra_Sites_Admin
22
+ *
23
+ * @since 2.3.7
24
+ * @var (Object) Astra_Sites_Admin
25
+ */
26
+ private static $instance = null;
27
+
28
+ /**
29
+ * Instance of Astra_Sites_Admin.
30
+ *
31
+ * @since 2.3.7
32
+ *
33
+ * @return object Class object.
34
+ */
35
+ public static function get_instance() {
36
+ if ( ! isset( self::$instance ) ) {
37
+ self::$instance = new self();
38
+ }
39
+
40
+ return self::$instance;
41
+ }
42
+
43
+ /**
44
+ * Constructor.
45
+ *
46
+ * @since 2.3.7
47
+ */
48
+ private function __construct() {
49
+ add_action( 'admin_notices', array( $this, 'admin_notices' ) );
50
+ add_action( 'astra_notice_before_markup', array( $this, 'notice_assets' ) );
51
+ }
52
+
53
+ /**
54
+ * Admin Notices
55
+ *
56
+ * @since 2.3.7
57
+ * @return void
58
+ */
59
+ public function admin_notices() {
60
+
61
+ $image_path = esc_url( ASTRA_SITES_URI . 'inc/assets/images/logo.svg' );
62
+
63
+ Astra_Notices::add_notice(
64
+ array(
65
+ 'id' => 'astra-sites-5-start-notice',
66
+ 'type' => 'info',
67
+ 'class' => 'astra-sites-5-star',
68
+ 'show_if' => ( false === Astra_Sites_White_Label::get_instance()->is_white_labeled() ),
69
+ /* translators: %1$s white label plugin name and %2$s deactivation link */
70
+ 'message' => sprintf(
71
+ '<div class="notice-image" style="display: flex;">
72
+ <img src="%1$s" class="custom-logo" alt="Starter Templates" itemprop="logo" style="max-width: 90px;"></div>
73
+ <div class="notice-content">
74
+ <div class="notice-heading">
75
+ %2$s
76
+ </div>
77
+ %3$s<br />
78
+ <div class="astra-review-notice-container">
79
+ <a href="%4$s" class="astra-notice-close astra-review-notice button-primary" target="_blank">
80
+ %5$s
81
+ </a>
82
+ <span class="dashicons dashicons-calendar"></span>
83
+ <a href="#" data-repeat-notice-after="%6$s" class="astra-notice-close astra-review-notice">
84
+ %7$s
85
+ </a>
86
+ <span class="dashicons dashicons-smiley"></span>
87
+ <a href="#" class="astra-notice-close astra-review-notice">
88
+ %8$s
89
+ </a>
90
+ </div>
91
+ </div>',
92
+ $image_path,
93
+ __( 'Hello! Seems like you have used Starter Templates to build this website &mdash; Thanks a ton!', 'astra-sites' ),
94
+ __( 'Could you please do us a BIG favor and give it a 5-star rating on WordPress? This would boost our motivation and help other users make a comfortable decision while choosing the Starter Templates.', 'astra-sites' ),
95
+ 'https://wordpress.org/support/plugin/astra-sites/reviews/?filter=5#new-post',
96
+ __( 'Ok, you deserve it', 'astra-sites' ),
97
+ MONTH_IN_SECONDS,
98
+ __( 'Nope, maybe later', 'astra-sites' ),
99
+ __( 'I already did', 'astra-sites' )
100
+ ),
101
+ )
102
+ );
103
+ }
104
+
105
+ /**
106
+ * Enqueue Astra Notices CSS.
107
+ *
108
+ * @since 2.3.7
109
+ *
110
+ * @return void
111
+ */
112
+ public static function notice_assets() {
113
+ $file = is_rtl() ? 'astra-notices-rtl.css' : 'astra-notices.css';
114
+ wp_enqueue_style( 'astra-sites-notices', ASTRA_SITES_URI . 'assets/css/' . $file, array(), ASTRA_SITES_VER );
115
+ }
116
+ }
117
+
118
+ /**
119
+ * Kicking this off by calling 'get_instance()' method
120
+ */
121
+ Astra_Sites_Admin::get_instance();
122
+
123
+ endif;
inc/assets/css/admin-rtl.css CHANGED
@@ -9,7 +9,7 @@
9
  font-style: normal;
10
  }
11
 
12
- [class^="icon-"], [class*=" icon-"] {
13
  /* use !important to prevent issues with browser extensions that change fonts */
14
  font-family: 'icomoon' !important;
15
  speak: none;
@@ -24,22 +24,22 @@
24
  -moz-osx-font-smoothing: grayscale;
25
  }
26
 
27
- .icon-search:before {
28
  content: "\e900";
29
  }
30
- .icon-heart:before {
31
  content: "\e901";
32
  }
33
- .icon-refresh:before {
34
  content: "\e902";
35
  }
36
- .icon-chevron-left:before {
37
  content: "\e904";
38
  }
39
- .icon-file:before {
40
  content: "\e903";
41
  }
42
- .icon-layers:before {
43
  content: "\e905";
44
  }
45
 
@@ -397,7 +397,7 @@
397
  transition-duration: .05s;
398
  transition-timing-function: ease-in-out;
399
  }
400
- .theme-id-container .icon-star {
401
  padding: 0 0 0 15px;
402
  }
403
  .wrap .status {
@@ -1093,14 +1093,14 @@ body.loading-content .select-page-builder {
1093
  .astra-sites-show-favorite-button.active {
1094
  color: transparent;
1095
  }
1096
- .filter-links li > .astra-sites-show-favorite-button.current:hover .icon-heart,
1097
- .filter-links li > .astra-sites-show-favorite-button.current .icon-heart,
1098
- .filter-links li > .astra-sites-show-favorite-button:hover .icon-heart,
1099
- .astra-sites-show-favorite-button.active .icon-heart {
1100
  color: #c34444;
1101
  }
1102
 
1103
- .icon-heart {
1104
  color: #666;
1105
  }
1106
  .header-actions a:focus {
9
  font-style: normal;
10
  }
11
 
12
+ [class^="ast-icon-"], [class*=" ast-icon-"] {
13
  /* use !important to prevent issues with browser extensions that change fonts */
14
  font-family: 'icomoon' !important;
15
  speak: none;
24
  -moz-osx-font-smoothing: grayscale;
25
  }
26
 
27
+ .ast-icon-search:before {
28
  content: "\e900";
29
  }
30
+ .ast-icon-heart:before {
31
  content: "\e901";
32
  }
33
+ .ast-icon-refresh:before {
34
  content: "\e902";
35
  }
36
+ .ast-icon-chevron-left:before {
37
  content: "\e904";
38
  }
39
+ .ast-icon-file:before {
40
  content: "\e903";
41
  }
42
+ .ast-icon-layers:before {
43
  content: "\e905";
44
  }
45
 
397
  transition-duration: .05s;
398
  transition-timing-function: ease-in-out;
399
  }
400
+ .theme-id-container .ast-icon-star {
401
  padding: 0 0 0 15px;
402
  }
403
  .wrap .status {
1093
  .astra-sites-show-favorite-button.active {
1094
  color: transparent;
1095
  }
1096
+ .filter-links li > .astra-sites-show-favorite-button.current:hover .ast-icon-heart,
1097
+ .filter-links li > .astra-sites-show-favorite-button.current .ast-icon-heart,
1098
+ .filter-links li > .astra-sites-show-favorite-button:hover .ast-icon-heart,
1099
+ .astra-sites-show-favorite-button.active .ast-icon-heart {
1100
  color: #c34444;
1101
  }
1102
 
1103
+ .ast-icon-heart {
1104
  color: #666;
1105
  }
1106
  .header-actions a:focus {
inc/assets/css/admin.css CHANGED
@@ -9,7 +9,7 @@
9
  font-style: normal;
10
  }
11
 
12
- [class^="icon-"], [class*=" icon-"] {
13
  /* use !important to prevent issues with browser extensions that change fonts */
14
  font-family: 'icomoon' !important;
15
  speak: none;
@@ -24,22 +24,22 @@
24
  -moz-osx-font-smoothing: grayscale;
25
  }
26
 
27
- .icon-search:before {
28
  content: "\e900";
29
  }
30
- .icon-heart:before {
31
  content: "\e901";
32
  }
33
- .icon-refresh:before {
34
  content: "\e902";
35
  }
36
- .icon-chevron-left:before {
37
  content: "\e904";
38
  }
39
- .icon-file:before {
40
  content: "\e903";
41
  }
42
- .icon-layers:before {
43
  content: "\e905";
44
  }
45
 
@@ -397,7 +397,7 @@
397
  transition-duration: .05s;
398
  transition-timing-function: ease-in-out;
399
  }
400
- .theme-id-container .icon-star {
401
  padding: 0 15px 0 0;
402
  }
403
  .wrap .status {
@@ -1093,14 +1093,14 @@ body.loading-content .select-page-builder {
1093
  .astra-sites-show-favorite-button.active {
1094
  color: transparent;
1095
  }
1096
- .filter-links li > .astra-sites-show-favorite-button.current:hover .icon-heart,
1097
- .filter-links li > .astra-sites-show-favorite-button.current .icon-heart,
1098
- .filter-links li > .astra-sites-show-favorite-button:hover .icon-heart,
1099
- .astra-sites-show-favorite-button.active .icon-heart {
1100
  color: #c34444;
1101
  }
1102
 
1103
- .icon-heart {
1104
  color: #666;
1105
  }
1106
  .header-actions a:focus {
9
  font-style: normal;
10
  }
11
 
12
+ [class^="ast-icon-"], [class*=" ast-icon-"] {
13
  /* use !important to prevent issues with browser extensions that change fonts */
14
  font-family: 'icomoon' !important;
15
  speak: none;
24
  -moz-osx-font-smoothing: grayscale;
25
  }
26
 
27
+ .ast-icon-search:before {
28
  content: "\e900";
29
  }
30
+ .ast-icon-heart:before {
31
  content: "\e901";
32
  }
33
+ .ast-icon-refresh:before {
34
  content: "\e902";
35
  }
36
+ .ast-icon-chevron-left:before {
37
  content: "\e904";
38
  }
39
+ .ast-icon-file:before {
40
  content: "\e903";
41
  }
42
+ .ast-icon-layers:before {
43
  content: "\e905";
44
  }
45
 
397
  transition-duration: .05s;
398
  transition-timing-function: ease-in-out;
399
  }
400
+ .theme-id-container .ast-icon-star {
401
  padding: 0 15px 0 0;
402
  }
403
  .wrap .status {
1093
  .astra-sites-show-favorite-button.active {
1094
  color: transparent;
1095
  }
1096
+ .filter-links li > .astra-sites-show-favorite-button.current:hover .ast-icon-heart,
1097
+ .filter-links li > .astra-sites-show-favorite-button.current .ast-icon-heart,
1098
+ .filter-links li > .astra-sites-show-favorite-button:hover .ast-icon-heart,
1099
+ .astra-sites-show-favorite-button.active .ast-icon-heart {
1100
  color: #c34444;
1101
  }
1102
 
1103
+ .ast-icon-heart {
1104
  color: #666;
1105
  }
1106
  .header-actions a:focus {
inc/assets/css/elementor-admin-rtl.css CHANGED
@@ -892,7 +892,7 @@
892
  border-radius: 6px;
893
  position: relative;
894
  }
895
- #ast-sites-modal .icon-search {
896
  position: absolute;
897
  left: 0;
898
  top: 0;
892
  border-radius: 6px;
893
  position: relative;
894
  }
895
+ #ast-sites-modal .ast-icon-search {
896
  position: absolute;
897
  left: 0;
898
  top: 0;
inc/assets/css/elementor-admin.css CHANGED
@@ -892,7 +892,7 @@
892
  border-radius: 6px;
893
  position: relative;
894
  }
895
- #ast-sites-modal .icon-search {
896
  position: absolute;
897
  right: 0;
898
  top: 0;
892
  border-radius: 6px;
893
  position: relative;
894
  }
895
+ #ast-sites-modal .ast-icon-search {
896
  position: absolute;
897
  right: 0;
898
  top: 0;
inc/assets/css/images-rtl.css CHANGED
@@ -9,7 +9,7 @@
9
  font-style: normal;
10
  }
11
 
12
- [class^="icon-"], [class*=" icon-"] {
13
  font-family: 'icomoon' !important;
14
  speak: none;
15
  font-style: normal;
@@ -21,11 +21,11 @@
21
  -moz-osx-font-smoothing: grayscale;
22
  }
23
 
24
- .icon-chevron-left:before {
25
  content: "\e904";
26
  }
27
 
28
- .icon-search:before {
29
  content: "\e900";
30
  }
31
 
9
  font-style: normal;
10
  }
11
 
12
+ [class^="ast-icon-"], [class*=" ast-icon-"] {
13
  font-family: 'icomoon' !important;
14
  speak: none;
15
  font-style: normal;
21
  -moz-osx-font-smoothing: grayscale;
22
  }
23
 
24
+ .ast-icon-chevron-left:before {
25
  content: "\e904";
26
  }
27
 
28
+ .ast-icon-search:before {
29
  content: "\e900";
30
  }
31
 
inc/assets/css/images.css CHANGED
@@ -9,7 +9,7 @@
9
  font-style: normal;
10
  }
11
 
12
- [class^="icon-"], [class*=" icon-"] {
13
  font-family: 'icomoon' !important;
14
  speak: none;
15
  font-style: normal;
@@ -21,11 +21,11 @@
21
  -moz-osx-font-smoothing: grayscale;
22
  }
23
 
24
- .icon-chevron-left:before {
25
  content: "\e904";
26
  }
27
 
28
- .icon-search:before {
29
  content: "\e900";
30
  }
31
 
9
  font-style: normal;
10
  }
11
 
12
+ [class^="ast-icon-"], [class*=" ast-icon-"] {
13
  font-family: 'icomoon' !important;
14
  speak: none;
15
  font-style: normal;
21
  -moz-osx-font-smoothing: grayscale;
22
  }
23
 
24
+ .ast-icon-chevron-left:before {
25
  content: "\e904";
26
  }
27
 
28
+ .ast-icon-search:before {
29
  content: "\e900";
30
  }
31
 
inc/assets/js/dist/index.js CHANGED
@@ -193,7 +193,7 @@ AstraAttachmentsBrowser = Frame.extend({
193
  // this.views.add( this.attachmentsHeading );
194
  this.views.add(new wp.media.view.AstraContent());
195
  this.$el.find('.ast-image__search').wrapAll('<div class="ast-image__search-wrap">').parent().html();
196
- this.$el.find('.ast-image__search-wrap').append('<span class="icon-search search-icon"></span>');
197
  },
198
 
199
  photoUploadComplete: function photoUploadComplete(savedImage) {
193
  // this.views.add( this.attachmentsHeading );
194
  this.views.add(new wp.media.view.AstraContent());
195
  this.$el.find('.ast-image__search').wrapAll('<div class="ast-image__search-wrap">').parent().html();
196
+ this.$el.find('.ast-image__search-wrap').append('<span class="ast-icon-search search-icon"></span>');
197
  },
198
 
199
  photoUploadComplete: function photoUploadComplete(savedImage) {
inc/assets/js/src/frame.js CHANGED
@@ -32,7 +32,7 @@ AstraAttachmentsBrowser = Frame.extend({
32
  // this.views.add( this.attachmentsHeading );
33
  this.views.add( new wp.media.view.AstraContent );
34
  this.$el.find( '.ast-image__search' ).wrapAll( '<div class="ast-image__search-wrap">' ).parent().html();
35
- this.$el.find( '.ast-image__search-wrap' ).append( '<span class="icon-search search-icon"></span>' );
36
  },
37
 
38
  photoUploadComplete: function( savedImage ) {
32
  // this.views.add( this.attachmentsHeading );
33
  this.views.add( new wp.media.view.AstraContent );
34
  this.$el.find( '.ast-image__search' ).wrapAll( '<div class="ast-image__search-wrap">' ).parent().html();
35
+ this.$el.find( '.ast-image__search-wrap' ).append( '<span class="ast-icon-search search-icon"></span>' );
36
  },
37
 
38
  photoUploadComplete: function( savedImage ) {
inc/classes/class-astra-sites-page.php CHANGED
@@ -489,7 +489,7 @@ if ( ! class_exists( 'Astra_Sites_Page' ) ) {
489
  </div>
490
  </div>
491
 
492
- <div class="back-to-layout" title="Back to Layout"><i class="icon-chevron-left"></i></div>
493
  <div id="astra-sites-filters" class="hide-on-mobile">
494
  <?php $this->site_filters(); ?>
495
  </div>
@@ -499,12 +499,12 @@ if ( ! class_exists( 'Astra_Sites_Page' ) ) {
499
  <ul class="filter-links">
500
  <li>
501
  <a title="<?php esc_html_e( 'My Favorite', 'astra-sites' ); ?>" href="#" class="astra-sites-show-favorite-button">
502
- <i class="icon-heart"></i>
503
  </a>
504
  </li>
505
  <li>
506
  <a title="<?php esc_html_e( 'Sync Library', 'astra-sites' ); ?>" href="#" class="astra-sites-sync-library-button">
507
- <i class="icon-refresh"></i>
508
  </a>
509
  </li>
510
  </ul>
@@ -625,7 +625,7 @@ if ( ! class_exists( 'Astra_Sites_Page' ) ) {
625
  }
626
  ?>
627
  <input autocomplete="off" placeholder="<?php esc_html_e( 'Search...', 'astra-sites' ); ?>" type="search" aria-describedby="live-search-desc" id="wp-filter-search-input" class="wp-filter-search">
628
- <span class="icon-search search-icon"></span>
629
  <div class="astra-sites-autocomplete-result"></div>
630
  </div>
631
  </div>
489
  </div>
490
  </div>
491
 
492
+ <div class="back-to-layout" title="Back to Layout"><i class="ast-icon-chevron-left"></i></div>
493
  <div id="astra-sites-filters" class="hide-on-mobile">
494
  <?php $this->site_filters(); ?>
495
  </div>
499
  <ul class="filter-links">
500
  <li>
501
  <a title="<?php esc_html_e( 'My Favorite', 'astra-sites' ); ?>" href="#" class="astra-sites-show-favorite-button">
502
+ <i class="ast-icon-heart"></i>
503
  </a>
504
  </li>
505
  <li>
506
  <a title="<?php esc_html_e( 'Sync Library', 'astra-sites' ); ?>" href="#" class="astra-sites-sync-library-button">
507
+ <i class="ast-icon-refresh"></i>
508
  </a>
509
  </li>
510
  </ul>
625
  }
626
  ?>
627
  <input autocomplete="off" placeholder="<?php esc_html_e( 'Search...', 'astra-sites' ); ?>" type="search" aria-describedby="live-search-desc" id="wp-filter-search-input" class="wp-filter-search">
628
+ <span class="ast-icon-search search-icon"></span>
629
  <div class="astra-sites-autocomplete-result"></div>
630
  </div>
631
  </div>
inc/classes/class-astra-sites.php CHANGED
@@ -101,8 +101,7 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
101
 
102
  $this->includes();
103
 
104
- add_action( 'admin_notices', array( $this, 'admin_notices' ) );
105
- add_action( 'astra_notice_before_markup', array( $this, 'notice_assets' ) );
106
  add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
107
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue' ), 99 );
108
  add_action( 'wp_enqueue_scripts', array( $this, 'image_search_scripts' ) );
@@ -903,72 +902,6 @@ if ( ! class_exists( 'Astra_Sites' ) ) :
903
  load_plugin_textdomain( 'astra-sites' );
904
  }
905
 
906
- /**
907
- * Enqueue Astra Notices CSS.
908
- *
909
- * @since 2.3.6
910
- *
911
- * @return void
912
- */
913
- public static function notice_assets() {
914
- $file = is_rtl() ? 'astra-notices-rtl.css' : 'astra-notices.css';
915
- wp_enqueue_style( 'astra-sites-notices', ASTRA_SITES_URI . 'inc/assets/css/' . $file, array(), ASTRA_SITES_VER );
916
- }
917
-
918
- /**
919
- * Admin Notices
920
- *
921
- * @since 1.0.5
922
- * @return void
923
- */
924
- public function admin_notices() {
925
-
926
- $image_path = esc_url( ASTRA_SITES_URI . 'inc/assets/images/logo.svg' );
927
-
928
- Astra_Notices::add_notice(
929
- array(
930
- 'id' => 'astra-sites-5-start-notice',
931
- 'type' => 'info',
932
- 'class' => 'astra-sites-5-star',
933
- 'show_if' => ( false === Astra_Sites_White_Label::get_instance()->is_white_labeled() ),
934
- /* translators: %1$s white label plugin name and %2$s deactivation link */
935
- 'message' => sprintf(
936
- '<div class="notice-image" style="display: flex;">
937
- <img src="%1$s" class="custom-logo" alt="Starter Templates" itemprop="logo" style="max-width: 90px;"></div>
938
- <div class="notice-content">
939
- <div class="notice-heading">
940
- %2$s
941
- </div>
942
- %3$s<br />
943
- <div class="astra-review-notice-container">
944
- <a href="%4$s" class="astra-notice-close astra-review-notice button-primary" target="_blank">
945
- %5$s
946
- </a>
947
- <span class="dashicons dashicons-calendar"></span>
948
- <a href="#" data-repeat-notice-after="%6$s" class="astra-notice-close astra-review-notice">
949
- %7$s
950
- </a>
951
- <span class="dashicons dashicons-smiley"></span>
952
- <a href="#" class="astra-notice-close astra-review-notice">
953
- %8$s
954
- </a>
955
- </div>
956
- </div>',
957
- $image_path,
958
- __( 'Hello! Seems like you have used Starter Templates to build this website &mdash; Thanks a ton!', 'astra-sites' ),
959
- __( 'Could you please do us a BIG favor and give it a 5-star rating on WordPress? This would boost our motivation and help other users make a comfortable decision while choosing the Starter Templates.', 'astra-sites' ),
960
- 'https://wordpress.org/support/plugin/astra-sites/reviews/?filter=5#new-post',
961
- __( 'Ok, you deserve it', 'astra-sites' ),
962
- MONTH_IN_SECONDS,
963
- __( 'Nope, maybe later', 'astra-sites' ),
964
- __( 'I already did', 'astra-sites' )
965
- ),
966
- )
967
- );
968
-
969
- add_action( 'plugin_action_links_' . ASTRA_SITES_BASE, array( $this, 'action_links' ) );
970
- }
971
-
972
  /**
973
  * Show action links on the plugin screen.
974
  *
101
 
102
  $this->includes();
103
 
104
+ add_action( 'plugin_action_links_' . ASTRA_SITES_BASE, array( $this, 'action_links' ) );
 
105
  add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
106
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue' ), 99 );
107
  add_action( 'wp_enqueue_scripts', array( $this, 'image_search_scripts' ) );
902
  load_plugin_textdomain( 'astra-sites' );
903
  }
904
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
905
  /**
906
  * Show action links on the plugin screen.
907
  *
inc/includes/admin-page.php CHANGED
@@ -222,7 +222,7 @@ if ( ! defined( 'ABSPATH' ) ) {
222
  </div>
223
  <# if ( '' === type || 'site' === type ) { #>
224
  <div class="favorite-action-wrap" data-favorite="{{favorite_class}}" title="{{favorite_title}}">
225
- <i class="icon-heart"></i>
226
  </div>
227
  <# } #>
228
  </div>
@@ -311,7 +311,7 @@ if ( ! defined( 'ABSPATH' ) ) {
311
  </div>
312
  <# if ( '' === type || 'site' === type ) { #>
313
  <div class="favorite-action-wrap" data-favorite="{{favorite_class}}" title="{{favorite_title}}">
314
- <i class="icon-heart"></i>
315
  </div>
316
  <# } #>
317
  </div>
@@ -372,7 +372,7 @@ if ( ! defined( 'ABSPATH' ) ) {
372
  </div>
373
  <# if ( '' === type || 'site' === type ) { #>
374
  <div class="favorite-action-wrap" data-favorite="{{favorite_class}}" title="{{favorite_title}}">
375
- <i class="icon-heart"></i>
376
  </div>
377
  <# } #>
378
  </div>
222
  </div>
223
  <# if ( '' === type || 'site' === type ) { #>
224
  <div class="favorite-action-wrap" data-favorite="{{favorite_class}}" title="{{favorite_title}}">
225
+ <i class="ast-icon-heart"></i>
226
  </div>
227
  <# } #>
228
  </div>
311
  </div>
312
  <# if ( '' === type || 'site' === type ) { #>
313
  <div class="favorite-action-wrap" data-favorite="{{favorite_class}}" title="{{favorite_title}}">
314
+ <i class="ast-icon-heart"></i>
315
  </div>
316
  <# } #>
317
  </div>
372
  </div>
373
  <# if ( '' === type || 'site' === type ) { #>
374
  <div class="favorite-action-wrap" data-favorite="{{favorite_class}}" title="{{favorite_title}}">
375
+ <i class="ast-icon-heart"></i>
376
  </div>
377
  <# } #>
378
  </div>
inc/includes/image-templates.php CHANGED
@@ -116,7 +116,7 @@ if ( ! defined( 'ABSPATH' ) ) {
116
 
117
  <script type="text/template" id="tmpl-ast-image-go-back">
118
  <span class="ast-image__go-back">
119
- <i class="icon-chevron-left"></i>
120
  <span class="ast-image__go-back-text"><?php esc_html_e( 'Back to Images', 'astra-sites' ); ?></span>
121
  </span>
122
  </script>
116
 
117
  <script type="text/template" id="tmpl-ast-image-go-back">
118
  <span class="ast-image__go-back">
119
+ <i class="ast-icon-chevron-left"></i>
120
  <span class="ast-image__go-back-text"><?php esc_html_e( 'Back to Images', 'astra-sites' ); ?></span>
121
  </span>
122
  </script>
inc/includes/templates.php CHANGED
@@ -109,12 +109,12 @@ if ( ! defined( 'ABSPATH' ) ) {
109
  <?php
110
  }
111
  ?>
112
- <div class="back-to-layout" title="<?php esc_html_e( 'Back to Layout', 'astra-sites' ); ?>" data-step="1"><i class="icon-chevron-left"></i></div>
113
  </div>
114
  <div class="elementor-templates-modal__header__menu-area astra-sites-step-1-wrap ast-sites-modal__options">
115
  <div class="elementor-template-library-header-menu">
116
- <div class="elementor-template-library-menu-item elementor-active" data-template-source="remote" data-template-type="pages"><span class="icon-file"></span><?php esc_html_e( 'Pages', 'astra-sites' ); ?></div>
117
- <div class="elementor-template-library-menu-item" data-template-source="remote" data-template-type="blocks"><span class="icon-layers"></span><?php esc_html_e( 'Blocks', 'astra-sites' ); ?></div>
118
  </div>
119
  </div>
120
  <div class="elementor-templates-modal__header__items-area">
@@ -124,7 +124,7 @@ if ( ! defined( 'ABSPATH' ) ) {
124
  </div>
125
  <div class="astra-sites__sync-wrap">
126
  <div class="astra-sites-sync-library-button">
127
- <span class="icon-refresh" aria-hidden="true" title="<?php esc_html_e( 'Sync Library', 'astra-sites' ); ?>"></span>
128
  </div>
129
  </div>
130
  </div>
109
  <?php
110
  }
111
  ?>
112
+ <div class="back-to-layout" title="<?php esc_html_e( 'Back to Layout', 'astra-sites' ); ?>" data-step="1"><i class="ast-icon-chevron-left"></i></div>
113
  </div>
114
  <div class="elementor-templates-modal__header__menu-area astra-sites-step-1-wrap ast-sites-modal__options">
115
  <div class="elementor-template-library-header-menu">
116
+ <div class="elementor-template-library-menu-item elementor-active" data-template-source="remote" data-template-type="pages"><span class="ast-icon-file"></span><?php esc_html_e( 'Pages', 'astra-sites' ); ?></div>
117
+ <div class="elementor-template-library-menu-item" data-template-source="remote" data-template-type="blocks"><span class="ast-icon-layers"></span><?php esc_html_e( 'Blocks', 'astra-sites' ); ?></div>
118
  </div>
119
  </div>
120
  <div class="elementor-templates-modal__header__items-area">
124
  </div>
125
  <div class="astra-sites__sync-wrap">
126
  <div class="astra-sites-sync-library-button">
127
+ <span class="ast-icon-refresh" aria-hidden="true" title="<?php esc_html_e( 'Sync Library', 'astra-sites' ); ?>"></span>
128
  </div>
129
  </div>
130
  </div>
languages/astra-sites.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Starter Templates package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Starter Templates 2.3.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
  "POT-Creation-Date: 2020-08-27 10:35:32+00:00\n"
8
  "MIME-Version: 1.0\n"
2
  # This file is distributed under the same license as the Starter Templates package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Starter Templates 2.3.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/astra-sites\n"
7
  "POT-Creation-Date: 2020-08-27 10:35:32+00:00\n"
8
  "MIME-Version: 1.0\n"
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.5
8
- Stable tag: 2.3.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -140,6 +140,9 @@ We are open to suggestions and would love to work on topics that our users are l
140
 
141
  == Changelog ==
142
 
 
 
 
143
  v2.3.6 - 23-September-2020
144
  - Improvement: Added the Pixabay images support for new post, pages, and custom post type screen.
145
  - Improvement: Better handling of notices in the case of sync process.
5
  Requires at least: 4.4
6
  Requires PHP: 5.3
7
  Tested up to: 5.5
8
+ Stable tag: 2.3.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
140
 
141
  == Changelog ==
142
 
143
+ v2.3.7 - 28-September-2020
144
+ - Fix: Prefixed all Starter Templates Icon classes in order to avoid 3rd party conflicts.
145
+
146
  v2.3.6 - 23-September-2020
147
  - Improvement: Added the Pixabay images support for new post, pages, and custom post type screen.
148
  - Improvement: Better handling of notices in the case of sync process.