Shortcodes and extra features for Phlox theme - Version 2.8.1

Version Description

Download this release

Release Info

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

Code changes from version 2.8.0 to 2.8.1

README.txt CHANGED
@@ -7,7 +7,7 @@ Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, fram
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.7.2
10
- Stable tag: 2.8.0
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
  Tested up to: 5.7.2
10
+ Stable tag: 2.8.1
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.8.0 (2021-06)
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.8.1 (2021-07)
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!
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.8.0
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.8.1
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -909,6 +909,12 @@ class Auxin_Demo_Importer {
909
 
910
  }
911
 
 
 
 
 
 
 
912
  $add_these_terms[] = intval($term_obj['term_id']);
913
  }
914
 
909
 
910
  }
911
 
912
+ if ( $tax == 'product_type' && $key == 'variable' ) {
913
+ $classname = WC_Product_Factory::get_product_classname( $post_id, 'variable' );
914
+ $product = new $classname( $post_id );
915
+ $product->save();
916
+ }
917
+
918
  $add_these_terms[] = intval($term_obj['term_id']);
919
  }
920
 
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.8.0' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.8.1' );
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: 2021-06-29 06:15:52+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -1978,7 +1978,7 @@ msgid "Importing Media"
1978
  msgstr ""
1979
 
1980
  #: includes/classes/class-auxin-demo-importer.php:293
1981
- #: includes/classes/class-auxin-demo-importer.php:1263
1982
  msgid "Importing Users"
1983
  msgstr ""
1984
 
@@ -2009,11 +2009,11 @@ msgstr ""
2009
  msgid "Importing Sliders"
2010
  msgstr ""
2011
 
2012
- #: includes/classes/class-auxin-demo-importer.php:1326
2013
  msgid "Preparing Site ..."
2014
  msgstr ""
2015
 
2016
- #: includes/classes/class-auxin-demo-importer.php:1345
2017
  msgid "All steps are successful"
2018
  msgstr ""
2019
 
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: 2021-07-03 12:20:21+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
1978
  msgstr ""
1979
 
1980
  #: includes/classes/class-auxin-demo-importer.php:293
1981
+ #: includes/classes/class-auxin-demo-importer.php:1269
1982
  msgid "Importing Users"
1983
  msgstr ""
1984
 
2009
  msgid "Importing Sliders"
2010
  msgstr ""
2011
 
2012
+ #: includes/classes/class-auxin-demo-importer.php:1332
2013
  msgid "Preparing Site ..."
2014
  msgstr ""
2015
 
2016
+ #: includes/classes/class-auxin-demo-importer.php:1351
2017
  msgid "All steps are successful"
2018
  msgstr ""
2019
 
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2021}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.8.0\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2021-06-29 06:15:52+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -1854,7 +1854,7 @@ msgid "Importing Media"
1854
  msgstr ""
1855
 
1856
  #: includes/classes/class-auxin-demo-importer.php:293
1857
- #: includes/classes/class-auxin-demo-importer.php:1263
1858
  msgid "Importing Users"
1859
  msgstr ""
1860
 
@@ -1884,11 +1884,11 @@ msgstr ""
1884
  msgid "Importing Sliders"
1885
  msgstr ""
1886
 
1887
- #: includes/classes/class-auxin-demo-importer.php:1326
1888
  msgid "Preparing Site ..."
1889
  msgstr ""
1890
 
1891
- #: includes/classes/class-auxin-demo-importer.php:1345
1892
  msgid "All steps are successful"
1893
  msgstr ""
1894
 
1
  # Averta Copyright (c) {2021}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.8.1\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2021-07-03 12:20:21+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1854
  msgstr ""
1855
 
1856
  #: includes/classes/class-auxin-demo-importer.php:293
1857
+ #: includes/classes/class-auxin-demo-importer.php:1269
1858
  msgid "Importing Users"
1859
  msgstr ""
1860
 
1884
  msgid "Importing Sliders"
1885
  msgstr ""
1886
 
1887
+ #: includes/classes/class-auxin-demo-importer.php:1332
1888
  msgid "Preparing Site ..."
1889
  msgstr ""
1890
 
1891
+ #: includes/classes/class-auxin-demo-importer.php:1351
1892
  msgid "All steps are successful"
1893
  msgstr ""
1894
 
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.8.0 (2021-06)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.8.1 (2021-07)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
public/assets/js/scripts.js CHANGED
@@ -45,6 +45,8 @@
45
  } else {
46
  $('.aux-hidden-blocks').append( response.data );
47
  }
 
 
48
  }
49
  });
50
 
@@ -129,6 +131,8 @@
129
  $cartBoxEl.trigger('AuxCartUpdated');
130
  $( document.body ).trigger( 'added_to_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton, response.data.items ] );
131
  }
 
 
132
  }, 150);
133
  } else {
134
  $('.aux-hidden-blocks').append( response.data );
@@ -145,6 +149,10 @@
145
  var $cartBoxEl = $('.aux-cart-wrapper');
146
  var hasAnimation = $cartBoxEl.hasClass('aux-basket-animation') ? true : false;
147
 
 
 
 
 
148
  $.ajax({
149
  type: 'POST',
150
  dataType: 'json',
45
  } else {
46
  $('.aux-hidden-blocks').append( response.data );
47
  }
48
+ // check to be sure offcanvas cart style is always visible in mobile
49
+ $('#offcart .aux-cart-wrapper .aux-card-dropdown').removeClass('aux-phone-off');
50
  }
51
  });
52
 
131
  $cartBoxEl.trigger('AuxCartUpdated');
132
  $( document.body ).trigger( 'added_to_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton, response.data.items ] );
133
  }
134
+ // check to be sure offcanvas cart style is always visible in mobile
135
+ $('#offcart .aux-cart-wrapper .aux-card-dropdown').removeClass('aux-phone-off');
136
  }, 150);
137
  } else {
138
  $('.aux-hidden-blocks').append( response.data );
149
  var $cartBoxEl = $('.aux-cart-wrapper');
150
  var hasAnimation = $cartBoxEl.hasClass('aux-basket-animation') ? true : false;
151
 
152
+ if ( typeof auxin_cart_options === 'undefined' ) {
153
+ auxin_cart_options = '';
154
+ }
155
+
156
  $.ajax({
157
  type: 'POST',
158
  dataType: 'json',