Shortcodes and extra features for Phlox theme - Version 2.5.19

Version Description

Download this release

Release Info

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

Code changes from version 2.5.17 to 2.5.19

README.txt CHANGED
@@ -6,8 +6,8 @@ License URI: http://www.gnu.org/licenses/gpl.html
6
  Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, framework, widget, fullwidth, masonry, timeline, parallax
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
- Tested up to: 5.4.0
10
- Stable tag: 2.5.17
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
6
  Tags: phlox, gallery, elementor, siteorigin, auxin, averta, auxin-elements, framework, widget, fullwidth, masonry, timeline, parallax
7
  Requires PHP: 5.4
8
  Requires at least: 4.6
9
+ Tested up to: 5.4.1
10
+ Stable tag: 2.5.19
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.5.17 (2020-05)
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.5.19 (2020-05)
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
@@ -153,7 +153,7 @@ function auxin_ajax_filter_get_content() {
153
  }
154
 
155
  $post->cart = apply_filters( 'woocommerce_loop_add_to_cart_link',
156
- sprintf( '<a rel="nofollow" href="%s" data-quantity="1" data-product_id="%s" data-product_sku="%s" data-verify_nonce="%s" class="%s"><i class="aux-ico auxicon-handbag"></i> %s</a>',
157
  esc_url( $product->add_to_cart_url() ),
158
  esc_attr( $product->get_id() ),
159
  esc_attr( $product->get_sku() ),
153
  }
154
 
155
  $post->cart = apply_filters( 'woocommerce_loop_add_to_cart_link',
156
+ sprintf( '<a rel="nofollow" href="%s" data-quantity="1" data-product_id="%s" data-product_sku="%s" data-verify_nonce="%s" class="%s"><i class="aux-ico auxicon-handbag"></i><span>%s</span></a>',
157
  esc_url( $product->add_to_cart_url() ),
158
  esc_attr( $product->get_id() ),
159
  esc_attr( $product->get_sku() ),
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.5.17
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.5.19
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -1049,6 +1049,18 @@ class Auxin_Demo_Importer {
1049
  }
1050
 
1051
  update_post_meta( get_the_ID(), '_elementor_data', wp_slash( $elementor_data ) );
 
 
 
 
 
 
 
 
 
 
 
 
1052
  }
1053
  }
1054
  wp_reset_postdata();
@@ -1804,6 +1816,14 @@ class Auxin_Demo_Importer {
1804
  }
1805
  }
1806
 
 
 
 
 
 
 
 
 
1807
  return $meta;
1808
  }
1809
 
1049
  }
1050
 
1051
  update_post_meta( get_the_ID(), '_elementor_data', wp_slash( $elementor_data ) );
1052
+
1053
+ $page_header_use_legacy = get_post_meta( get_the_ID(), 'page_header_use_legacy', true );
1054
+ if ( $page_header_use_legacy == 'no' ) {
1055
+ update_post_meta( get_the_ID(), 'page_elementor_header_edit_template', auxin_get_transient( "aux-elementor-library-{$old_id}-changs-to" ) );
1056
+ update_post_meta( get_the_ID(), 'page_elementor_header_template', auxin_get_transient( "aux-elementor-library-{$old_id}-changs-to" ) );
1057
+ }
1058
+
1059
+ $page_footer_use_legacy = get_post_meta( get_the_ID(), 'page_footer_use_legacy', true );
1060
+ if ( $page_footer_use_legacy == 'no' ) {
1061
+ update_post_meta( get_the_ID(), 'page_elementor_footer_edit_template', auxin_get_transient( "aux-elementor-library-{$old_id}-changs-to" ) );
1062
+ update_post_meta( get_the_ID(), 'page_elementor_footer_template', auxin_get_transient( "aux-elementor-library-{$old_id}-changs-to" ) );
1063
+ }
1064
  }
1065
  }
1066
  wp_reset_postdata();
1816
  }
1817
  }
1818
 
1819
+ // change all site urls to imported url
1820
+ preg_match_all( '#https:\\\/\\\/demo.phlox.pro\\\/.*?\\\/#', $meta, $urls, PREG_SET_ORDER );
1821
+ if ( ! empty( $urls ) ) {
1822
+ foreach( $urls as $key => $url ) {
1823
+ $meta = str_replace( $url[0], $site_url, $meta );
1824
+ }
1825
+ }
1826
+
1827
  return $meta;
1828
  }
1829
 
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.5.17' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.5.19' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/widgets/theme-elements/logo.php CHANGED
@@ -405,7 +405,46 @@ class Logo extends Widget_Base {
405
  ),
406
  'selector' => '{{WRAPPER}} .aux-has-logo img',
407
  )
408
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
 
410
  $this->end_controls_section();
411
 
405
  ),
406
  'selector' => '{{WRAPPER}} .aux-has-logo img',
407
  )
408
+ );
409
+
410
+ $this->add_control(
411
+ 'image_sticky_scale',
412
+ array(
413
+ 'label' => __( 'Scale on sticky', 'auxin-elements' ),
414
+ 'type' => Controls_Manager::SWITCHER,
415
+ 'label_on' => __( 'On', 'auxin-elements' ),
416
+ 'label_off' => __( 'Off', 'auxin-elements' ),
417
+ 'return_value' => 'yes',
418
+ 'default' => 'off',
419
+ )
420
+ );
421
+
422
+ $this->add_responsive_control(
423
+ 'sticky_scale',
424
+ array(
425
+ 'label' => __('Scale','auxin-elements' ),
426
+ 'type' => Controls_Manager::SLIDER,
427
+ 'size_units' => array('px'),
428
+ 'range' => array(
429
+ 'px' => array(
430
+ 'min' => 0,
431
+ 'max' => 1,
432
+ 'step' => 0.05
433
+ )
434
+ ),
435
+ 'default' => array(
436
+ 'unit' => 'px',
437
+ 'size' => 0.85,
438
+ ),
439
+ 'condition' => array(
440
+ 'image_sticky_scale' => 'yes',
441
+ ),
442
+ 'selectors' => array(
443
+ '.aux-sticky {{WRAPPER}} .aux-logo-anchor' => 'transition: transform 300ms ease-out; transform-origin: left; transform: scale({{SIZE}});'
444
+ )
445
+
446
+ )
447
+ );
448
 
449
  $this->end_controls_section();
450
 
includes/index.php CHANGED
@@ -9,8 +9,8 @@ include_once( 'general-hooks.php' );
9
  include_once( 'general-shortcodes.php' );
10
 
11
  Auxin_WhiteLabel::get_instance();
12
- Auxin_SVG_Support::get_instance();
13
  Auxin_Widget_Shortcode_Map::get_instance();
 
14
  Auxin_Import::get_instance();
15
  if ( wp_doing_ajax() ) {
16
  Auxels_Envato_Elements::get_instance();
9
  include_once( 'general-shortcodes.php' );
10
 
11
  Auxin_WhiteLabel::get_instance();
 
12
  Auxin_Widget_Shortcode_Map::get_instance();
13
+
14
  Auxin_Import::get_instance();
15
  if ( wp_doing_ajax() ) {
16
  Auxels_Envato_Elements::get_instance();
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.5.17\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2020-05-18 12:53:33+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -1910,7 +1910,7 @@ msgid "Importing Media"
1910
  msgstr ""
1911
 
1912
  #: includes/classes/class-auxin-demo-importer.php:281
1913
- #: includes/classes/class-auxin-demo-importer.php:1108
1914
  msgid "Importing Users"
1915
  msgstr ""
1916
 
@@ -1940,11 +1940,11 @@ msgstr ""
1940
  msgid "Importing Sliders"
1941
  msgstr ""
1942
 
1943
- #: includes/classes/class-auxin-demo-importer.php:1171
1944
  msgid "Preparing Site ..."
1945
  msgstr ""
1946
 
1947
- #: includes/classes/class-auxin-demo-importer.php:1186
1948
  msgid "All steps are successful"
1949
  msgstr ""
1950
 
@@ -2143,7 +2143,7 @@ msgstr ""
2143
  #: includes/elementor/widgets/heading-modern.php:309
2144
  #: includes/elementor/widgets/heading-modern.php:316
2145
  #: includes/elementor/widgets/heading-modern.php:962
2146
- #: includes/elementor/widgets/theme-elements/logo.php:507
2147
  #: includes/elements/custom-list.php:138
2148
  msgid "Description"
2149
  msgstr ""
@@ -2989,8 +2989,8 @@ msgstr ""
2989
  #: includes/elementor/widgets/mailchimp.php:709
2990
  #: includes/elementor/widgets/svg.php:222
2991
  #: includes/elementor/widgets/theme-elements/logo.php:257
2992
- #: includes/elementor/widgets/theme-elements/logo.php:476
2993
- #: includes/elementor/widgets/theme-elements/logo.php:568
2994
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:410
2995
  msgid "Max Width"
2996
  msgstr ""
@@ -3366,7 +3366,7 @@ msgstr ""
3366
  #: includes/elementor/widgets/tabs.php:373
3367
  #: includes/elementor/widgets/text.php:232
3368
  #: includes/elementor/widgets/text.php:640
3369
- #: includes/elementor/widgets/theme-elements/logo.php:415
3370
  #: includes/elementor/widgets/theme-elements/site-title.php:94
3371
  #: includes/elementor/widgets/touch-slider.php:332
3372
  #: includes/elements/about-widget.php:43
@@ -4121,8 +4121,8 @@ msgstr ""
4121
  #: includes/elementor/widgets/tabs.php:480
4122
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:240
4123
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:373
4124
- #: includes/elementor/widgets/theme-elements/logo.php:454
4125
- #: includes/elementor/widgets/theme-elements/logo.php:546
4126
  #: includes/elementor/widgets/theme-elements/menu.php:524
4127
  #: includes/elementor/widgets/theme-elements/menu.php:963
4128
  #: includes/elementor/widgets/theme-elements/menu.php:1321
@@ -4489,8 +4489,8 @@ msgstr ""
4489
  #: includes/elementor/widgets/theme-elements/copyright.php:182
4490
  #: includes/elementor/widgets/theme-elements/copyright.php:219
4491
  #: includes/elementor/widgets/theme-elements/current-time.php:172
4492
- #: includes/elementor/widgets/theme-elements/logo.php:423
4493
- #: includes/elementor/widgets/theme-elements/logo.php:515
4494
  #: includes/elementor/widgets/theme-elements/menu.php:360
4495
  #: includes/elementor/widgets/theme-elements/menu.php:437
4496
  #: includes/elementor/widgets/theme-elements/menu.php:550
@@ -4661,6 +4661,7 @@ msgstr ""
4661
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:128
4662
  #: includes/elementor/widgets/theme-elements/copyright.php:115
4663
  #: includes/elementor/widgets/theme-elements/copyright.php:128
 
4664
  #: includes/elementor/widgets/theme-elements/menu.php:175
4665
  #: includes/elementor/widgets/theme-elements/menu.php:190
4666
  #: includes/elementor/widgets/theme-elements/modern-search.php:157
@@ -4806,6 +4807,7 @@ msgstr ""
4806
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:129
4807
  #: includes/elementor/widgets/theme-elements/copyright.php:116
4808
  #: includes/elementor/widgets/theme-elements/copyright.php:129
 
4809
  #: includes/elementor/widgets/theme-elements/menu.php:176
4810
  #: includes/elementor/widgets/theme-elements/menu.php:191
4811
  #: includes/elementor/widgets/theme-elements/modern-search.php:158
@@ -5222,8 +5224,8 @@ msgstr ""
5222
  #: includes/elementor/widgets/text.php:1223
5223
  #: includes/elementor/widgets/text.php:1261
5224
  #: includes/elementor/widgets/theme-elements/current-time.php:184
5225
- #: includes/elementor/widgets/theme-elements/logo.php:468
5226
- #: includes/elementor/widgets/theme-elements/logo.php:560
5227
  #: includes/elementor/widgets/theme-elements/site-title.php:348
5228
  #: includes/elementor/widgets/theme-elements/site-title.php:414
5229
  #: includes/elementor/widgets/theme-elements/site-title.php:480
@@ -5316,8 +5318,8 @@ msgstr ""
5316
  #: includes/elementor/widgets/carousel-navigation.php:416
5317
  #: includes/elementor/widgets/custom-list.php:785
5318
  #: includes/elementor/widgets/custom-list.php:841
5319
- #: includes/elementor/widgets/theme-elements/logo.php:434
5320
- #: includes/elementor/widgets/theme-elements/logo.php:526
5321
  #: includes/elementor/widgets/theme-elements/site-title.php:314
5322
  #: includes/elementor/widgets/theme-elements/site-title.php:380
5323
  #: includes/elementor/widgets/theme-elements/site-title.php:446
@@ -8409,6 +8411,14 @@ msgstr ""
8409
  msgid "Opacity"
8410
  msgstr ""
8411
 
 
 
 
 
 
 
 
 
8412
  #: includes/elementor/widgets/theme-elements/menu.php:53
8413
  msgid "Navigation Menu"
8414
  msgstr ""
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.5.19\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2020-05-21 08:16:11+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1910
  msgstr ""
1911
 
1912
  #: includes/classes/class-auxin-demo-importer.php:281
1913
+ #: includes/classes/class-auxin-demo-importer.php:1120
1914
  msgid "Importing Users"
1915
  msgstr ""
1916
 
1940
  msgid "Importing Sliders"
1941
  msgstr ""
1942
 
1943
+ #: includes/classes/class-auxin-demo-importer.php:1183
1944
  msgid "Preparing Site ..."
1945
  msgstr ""
1946
 
1947
+ #: includes/classes/class-auxin-demo-importer.php:1198
1948
  msgid "All steps are successful"
1949
  msgstr ""
1950
 
2143
  #: includes/elementor/widgets/heading-modern.php:309
2144
  #: includes/elementor/widgets/heading-modern.php:316
2145
  #: includes/elementor/widgets/heading-modern.php:962
2146
+ #: includes/elementor/widgets/theme-elements/logo.php:546
2147
  #: includes/elements/custom-list.php:138
2148
  msgid "Description"
2149
  msgstr ""
2989
  #: includes/elementor/widgets/mailchimp.php:709
2990
  #: includes/elementor/widgets/svg.php:222
2991
  #: includes/elementor/widgets/theme-elements/logo.php:257
2992
+ #: includes/elementor/widgets/theme-elements/logo.php:515
2993
+ #: includes/elementor/widgets/theme-elements/logo.php:607
2994
  #: includes/elementor/widgets/theme-elements/shopping-cart.php:410
2995
  msgid "Max Width"
2996
  msgstr ""
3366
  #: includes/elementor/widgets/tabs.php:373
3367
  #: includes/elementor/widgets/text.php:232
3368
  #: includes/elementor/widgets/text.php:640
3369
+ #: includes/elementor/widgets/theme-elements/logo.php:454
3370
  #: includes/elementor/widgets/theme-elements/site-title.php:94
3371
  #: includes/elementor/widgets/touch-slider.php:332
3372
  #: includes/elements/about-widget.php:43
4121
  #: includes/elementor/widgets/tabs.php:480
4122
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:240
4123
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:373
4124
+ #: includes/elementor/widgets/theme-elements/logo.php:493
4125
+ #: includes/elementor/widgets/theme-elements/logo.php:585
4126
  #: includes/elementor/widgets/theme-elements/menu.php:524
4127
  #: includes/elementor/widgets/theme-elements/menu.php:963
4128
  #: includes/elementor/widgets/theme-elements/menu.php:1321
4489
  #: includes/elementor/widgets/theme-elements/copyright.php:182
4490
  #: includes/elementor/widgets/theme-elements/copyright.php:219
4491
  #: includes/elementor/widgets/theme-elements/current-time.php:172
4492
+ #: includes/elementor/widgets/theme-elements/logo.php:462
4493
+ #: includes/elementor/widgets/theme-elements/logo.php:554
4494
  #: includes/elementor/widgets/theme-elements/menu.php:360
4495
  #: includes/elementor/widgets/theme-elements/menu.php:437
4496
  #: includes/elementor/widgets/theme-elements/menu.php:550
4661
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:128
4662
  #: includes/elementor/widgets/theme-elements/copyright.php:115
4663
  #: includes/elementor/widgets/theme-elements/copyright.php:128
4664
+ #: includes/elementor/widgets/theme-elements/logo.php:415
4665
  #: includes/elementor/widgets/theme-elements/menu.php:175
4666
  #: includes/elementor/widgets/theme-elements/menu.php:190
4667
  #: includes/elementor/widgets/theme-elements/modern-search.php:157
4807
  #: includes/elementor/widgets/theme-elements/breadcrumbs.php:129
4808
  #: includes/elementor/widgets/theme-elements/copyright.php:116
4809
  #: includes/elementor/widgets/theme-elements/copyright.php:129
4810
+ #: includes/elementor/widgets/theme-elements/logo.php:416
4811
  #: includes/elementor/widgets/theme-elements/menu.php:176
4812
  #: includes/elementor/widgets/theme-elements/menu.php:191
4813
  #: includes/elementor/widgets/theme-elements/modern-search.php:158
5224
  #: includes/elementor/widgets/text.php:1223
5225
  #: includes/elementor/widgets/text.php:1261
5226
  #: includes/elementor/widgets/theme-elements/current-time.php:184
5227
+ #: includes/elementor/widgets/theme-elements/logo.php:507
5228
+ #: includes/elementor/widgets/theme-elements/logo.php:599
5229
  #: includes/elementor/widgets/theme-elements/site-title.php:348
5230
  #: includes/elementor/widgets/theme-elements/site-title.php:414
5231
  #: includes/elementor/widgets/theme-elements/site-title.php:480
5318
  #: includes/elementor/widgets/carousel-navigation.php:416
5319
  #: includes/elementor/widgets/custom-list.php:785
5320
  #: includes/elementor/widgets/custom-list.php:841
5321
+ #: includes/elementor/widgets/theme-elements/logo.php:473
5322
+ #: includes/elementor/widgets/theme-elements/logo.php:565
5323
  #: includes/elementor/widgets/theme-elements/site-title.php:314
5324
  #: includes/elementor/widgets/theme-elements/site-title.php:380
5325
  #: includes/elementor/widgets/theme-elements/site-title.php:446
8411
  msgid "Opacity"
8412
  msgstr ""
8413
 
8414
+ #: includes/elementor/widgets/theme-elements/logo.php:413
8415
+ msgid "Scale on sticky"
8416
+ msgstr ""
8417
+
8418
+ #: includes/elementor/widgets/theme-elements/logo.php:425
8419
+ msgid "Scale"
8420
+ msgstr ""
8421
+
8422
  #: includes/elementor/widgets/theme-elements/menu.php:53
8423
  msgid "Navigation Menu"
8424
  msgstr ""
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.5.17 (2020-05)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.5.19 (2020-05)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */