Shortcodes and extra features for Phlox theme - Version 2.10.7

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Shortcodes and extra features for Phlox theme
Version 2.10.7
Comparing to
See all releases

Code changes from version 2.10.5 to 2.10.7

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, auxin, averta, auxin-elements, framework, widge
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 6.0.2
10
- Stable tag: 2.10.5
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -154,6 +154,9 @@ Bugs can be reported in our [support forums](https://docs.phlox.pro).
154
 
155
  == Changelog ==
156
 
 
 
 
157
  = Version 2.10.5 / (11.10.2022) =
158
  - [Fix]: An issue with Google map element fixed.
159
  - [Improvement]: Some improvements applied to demo importer.
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 6.0.2
10
+ Stable tag: 2.10.7
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
154
 
155
  == Changelog ==
156
 
157
+ = Version 2.10.7 / (17.11.2022) =
158
+ - [Improvement]: Improvements applied to customizer options importer.
159
+
160
  = Version 2.10.5 / (11.10.2022) =
161
  - [Fix]: An issue with Google map element fixed.
162
  - [Improvement]: Some improvements applied to demo importer.
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.10.5 (2022-10)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
1
+ /*! Phlox Core Plugin - v2.10.7 (2022-11)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
admin/includes/admin-ajax.php CHANGED
@@ -369,7 +369,7 @@ function auxin_customizer_export(){
369
  wp_send_json_error( __( 'No data found!', 'auxin-elements' ) );
370
  }
371
 
372
- $b64_content = base64_encode( maybe_serialize( array(
373
  'theme_options' => $theme_options,
374
  'theme_mods' => $theme_mods
375
  ) ) );
@@ -406,7 +406,7 @@ function auxin_customizer_import(){
406
  WP_Filesystem();
407
  }
408
  $json_content = $wp_filesystem->get_contents( $_FILES['file']['tmp_name'] );
409
- $array_content = maybe_unserialize( base64_decode( $json_content ) );
410
 
411
  // Check array empty
412
  if ( empty( $array_content ) || ! is_array( $array_content ) ) {
369
  wp_send_json_error( __( 'No data found!', 'auxin-elements' ) );
370
  }
371
 
372
+ $b64_content = base64_encode( wp_json_encode( array(
373
  'theme_options' => $theme_options,
374
  'theme_mods' => $theme_mods
375
  ) ) );
406
  WP_Filesystem();
407
  }
408
  $json_content = $wp_filesystem->get_contents( $_FILES['file']['tmp_name'] );
409
+ $array_content = json_decode( base64_decode( $json_content ), true );
410
 
411
  // Check array empty
412
  if ( empty( $array_content ) || ! is_array( $array_content ) ) {
auxin-elements.php CHANGED
@@ -12,7 +12,7 @@
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
- * Version: 2.10.5
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
12
  * Plugin Name: Phlox Core Elements
13
  * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
  * Description: Exclusive and comprehensive plugin that extends the functionality of Phlox theme by adding new Elements, widgets and options.
15
+ * Version: 2.10.7
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.10.5' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.10.7' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
languages/auxin-elements-fa_IR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
- "POT-Creation-Date: 2022-10-11 08:19:12+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -2601,7 +2601,7 @@ msgid "Demo has been successfully uninstalled."
2601
  msgstr ""
2602
 
2603
  #: includes/classes/class-auxin-welcome.php:1408
2604
- #: public/includes/frontend-ajax.php:180 public/includes/frontend-ajax.php:243
2605
  msgid "An Error Occurred!"
2606
  msgstr ""
2607
 
@@ -12764,49 +12764,49 @@ msgstr ""
12764
  msgid "Authorization failed."
12765
  msgstr "احراز هویت با خطا مواجه شد."
12766
 
12767
- #: public/includes/frontend-ajax.php:102
12768
  #, fuzzy
12769
  msgid "Not a valid handler."
12770
  msgstr "اصلا"
12771
 
12772
- #: public/includes/frontend-ajax.php:108
12773
  msgid "No data received."
12774
  msgstr ""
12775
 
12776
- #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:205
12777
  #, fuzzy
12778
  msgid "Verification failed!"
12779
  msgstr "احراز هویت با خطا مواجه شد!"
12780
 
12781
- #: public/includes/frontend-ajax.php:158 public/includes/frontend-ajax.php:270
12782
  msgid "Cart is empty"
12783
  msgstr ""
12784
 
12785
- #: public/includes/frontend-ajax.php:173
12786
  msgid "Your cart is currently empty."
12787
  msgstr ""
12788
 
12789
- #: public/includes/frontend-ajax.php:174
12790
  msgid "Item has been removed from your shopping cart."
12791
  msgstr ""
12792
 
12793
- #: public/includes/frontend-ajax.php:232
12794
  msgid "View cart"
12795
  msgstr ""
12796
 
12797
- #: public/includes/frontend-ajax.php:232
12798
  msgid "has been added to your cart."
12799
  msgstr ""
12800
 
12801
- #: public/includes/frontend-ajax.php:237
12802
  msgid "Sorry, this product cannot be purchased."
12803
  msgstr ""
12804
 
12805
- #: public/includes/frontend-ajax.php:328
12806
  msgid "From %s"
12807
  msgstr ""
12808
 
12809
- #: public/includes/frontend-ajax.php:329
12810
  msgid "Nothing found in %s"
12811
  msgstr ""
12812
 
2
  msgstr ""
3
  "Project-Id-Version: Auxin Essential Elements\n"
4
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
5
+ "POT-Creation-Date: 2022-11-17 09:06:28+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
2601
  msgstr ""
2602
 
2603
  #: includes/classes/class-auxin-welcome.php:1408
2604
+ #: public/includes/frontend-ajax.php:187 public/includes/frontend-ajax.php:250
2605
  msgid "An Error Occurred!"
2606
  msgstr ""
2607
 
12764
  msgid "Authorization failed."
12765
  msgstr "احراز هویت با خطا مواجه شد."
12766
 
12767
+ #: public/includes/frontend-ajax.php:109
12768
  #, fuzzy
12769
  msgid "Not a valid handler."
12770
  msgstr "اصلا"
12771
 
12772
+ #: public/includes/frontend-ajax.php:115
12773
  msgid "No data received."
12774
  msgstr ""
12775
 
12776
+ #: public/includes/frontend-ajax.php:143 public/includes/frontend-ajax.php:212
12777
  #, fuzzy
12778
  msgid "Verification failed!"
12779
  msgstr "احراز هویت با خطا مواجه شد!"
12780
 
12781
+ #: public/includes/frontend-ajax.php:165 public/includes/frontend-ajax.php:277
12782
  msgid "Cart is empty"
12783
  msgstr ""
12784
 
12785
+ #: public/includes/frontend-ajax.php:180
12786
  msgid "Your cart is currently empty."
12787
  msgstr ""
12788
 
12789
+ #: public/includes/frontend-ajax.php:181
12790
  msgid "Item has been removed from your shopping cart."
12791
  msgstr ""
12792
 
12793
+ #: public/includes/frontend-ajax.php:239
12794
  msgid "View cart"
12795
  msgstr ""
12796
 
12797
+ #: public/includes/frontend-ajax.php:239
12798
  msgid "has been added to your cart."
12799
  msgstr ""
12800
 
12801
+ #: public/includes/frontend-ajax.php:244
12802
  msgid "Sorry, this product cannot be purchased."
12803
  msgstr ""
12804
 
12805
+ #: public/includes/frontend-ajax.php:335
12806
  msgid "From %s"
12807
  msgstr ""
12808
 
12809
+ #: public/includes/frontend-ajax.php:336
12810
  msgid "Nothing found in %s"
12811
  msgstr ""
12812
 
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.10.5\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2022-10-11 08:19:12+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -2449,7 +2449,7 @@ msgid "Demo has been successfully uninstalled."
2449
  msgstr ""
2450
 
2451
  #: includes/classes/class-auxin-welcome.php:1408
2452
- #: public/includes/frontend-ajax.php:180 public/includes/frontend-ajax.php:243
2453
  msgid "An Error Occurred!"
2454
  msgstr ""
2455
 
@@ -11944,47 +11944,47 @@ msgstr ""
11944
  msgid "Authorization failed."
11945
  msgstr ""
11946
 
11947
- #: public/includes/frontend-ajax.php:102
11948
  msgid "Not a valid handler."
11949
  msgstr ""
11950
 
11951
- #: public/includes/frontend-ajax.php:108
11952
  msgid "No data received."
11953
  msgstr ""
11954
 
11955
- #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:205
11956
  msgid "Verification failed!"
11957
  msgstr ""
11958
 
11959
- #: public/includes/frontend-ajax.php:158 public/includes/frontend-ajax.php:270
11960
  msgid "Cart is empty"
11961
  msgstr ""
11962
 
11963
- #: public/includes/frontend-ajax.php:173
11964
  msgid "Your cart is currently empty."
11965
  msgstr ""
11966
 
11967
- #: public/includes/frontend-ajax.php:174
11968
  msgid "Item has been removed from your shopping cart."
11969
  msgstr ""
11970
 
11971
- #: public/includes/frontend-ajax.php:232
11972
  msgid "View cart"
11973
  msgstr ""
11974
 
11975
- #: public/includes/frontend-ajax.php:232
11976
  msgid "has been added to your cart."
11977
  msgstr ""
11978
 
11979
- #: public/includes/frontend-ajax.php:237
11980
  msgid "Sorry, this product cannot be purchased."
11981
  msgstr ""
11982
 
11983
- #: public/includes/frontend-ajax.php:328
11984
  msgid "From %s"
11985
  msgstr ""
11986
 
11987
- #: public/includes/frontend-ajax.php:329
11988
  msgid "Nothing found in %s"
11989
  msgstr ""
11990
 
1
  # Averta Copyright (c) {2022}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.10.7\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2022-11-17 09:06:28+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
2449
  msgstr ""
2450
 
2451
  #: includes/classes/class-auxin-welcome.php:1408
2452
+ #: public/includes/frontend-ajax.php:187 public/includes/frontend-ajax.php:250
2453
  msgid "An Error Occurred!"
2454
  msgstr ""
2455
 
11944
  msgid "Authorization failed."
11945
  msgstr ""
11946
 
11947
+ #: public/includes/frontend-ajax.php:109
11948
  msgid "Not a valid handler."
11949
  msgstr ""
11950
 
11951
+ #: public/includes/frontend-ajax.php:115
11952
  msgid "No data received."
11953
  msgstr ""
11954
 
11955
+ #: public/includes/frontend-ajax.php:143 public/includes/frontend-ajax.php:212
11956
  msgid "Verification failed!"
11957
  msgstr ""
11958
 
11959
+ #: public/includes/frontend-ajax.php:165 public/includes/frontend-ajax.php:277
11960
  msgid "Cart is empty"
11961
  msgstr ""
11962
 
11963
+ #: public/includes/frontend-ajax.php:180
11964
  msgid "Your cart is currently empty."
11965
  msgstr ""
11966
 
11967
+ #: public/includes/frontend-ajax.php:181
11968
  msgid "Item has been removed from your shopping cart."
11969
  msgstr ""
11970
 
11971
+ #: public/includes/frontend-ajax.php:239
11972
  msgid "View cart"
11973
  msgstr ""
11974
 
11975
+ #: public/includes/frontend-ajax.php:239
11976
  msgid "has been added to your cart."
11977
  msgstr ""
11978
 
11979
+ #: public/includes/frontend-ajax.php:244
11980
  msgid "Sorry, this product cannot be purchased."
11981
  msgstr ""
11982
 
11983
+ #: public/includes/frontend-ajax.php:335
11984
  msgid "From %s"
11985
  msgstr ""
11986
 
11987
+ #: public/includes/frontend-ajax.php:336
11988
  msgid "Nothing found in %s"
11989
  msgstr ""
11990
 
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.10.5 (2022-10)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.10.7 (2022-11)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
public/includes/frontend-ajax.php CHANGED
@@ -77,6 +77,13 @@ function auxels_ajax_handler_element_load_more(){
77
  $element_markup = auxin_widget_recent_news_callback( $ajax_args );
78
  break;
79
 
 
 
 
 
 
 
 
80
  case 'aux_recent_news_big_grid':
81
  require_once( AUXNEW_INC_DIR . '/elements/recent-news-big-grid.php' );
82
 
77
  $element_markup = auxin_widget_recent_news_callback( $ajax_args );
78
  break;
79
 
80
+ case 'aux_recent_news_grid':
81
+ require_once( AUXNEW_INC_DIR . '/elements/recent-news-grid.php' );
82
+
83
+ // Get the element markup
84
+ $element_markup = auxin_widget_recent_news_grid_callback( $ajax_args );
85
+ break;
86
+
87
  case 'aux_recent_news_big_grid':
88
  require_once( AUXNEW_INC_DIR . '/elements/recent-news-big-grid.php' );
89