Shortcodes and extra features for Phlox theme - Version 2.7.11

Version Description

Download this release

Release Info

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

Code changes from version 2.7.10 to 2.7.11

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.0
10
- Stable tag: 2.7.10
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.0
10
+ Stable tag: 2.7.11
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.7.10 (2021-03)
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.7.11 (2021-04)
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.7.10
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.7.11
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -1794,7 +1794,11 @@ class Auxin_Demo_Importer {
1794
  $image_size = getimagesize( $file );
1795
 
1796
  if ( ! is_wp_error( $attach_id ) ) {
1797
- wp_update_attachment_metadata( $attach_id, array( 'file' => $file, 'width' => $image_size[0], 'height' => $image_size[1], 'image_meta' => $image_meta ) );
 
 
 
 
1798
  }
1799
 
1800
  //Add auxin meta flag on attachment
@@ -1970,7 +1974,7 @@ class Auxin_Demo_Importer {
1970
  preg_match_all( '/"custom_css":".+?(?<!\\ )"/', $meta, $custom_css, PREG_SET_ORDER );
1971
  if ( ! empty( $custom_css ) ) {
1972
  foreach ( $custom_css as $key => $css ) {
1973
- preg_match_all( '/[\w\\\/\-\.\:]+?([\w\-]+?)\\\/wp-content/', $css[0], $matches, PREG_SET_ORDER );
1974
  if ( ! empty( $matches ) ) {
1975
  $new_css = $css[0];
1976
  foreach( $matches[0] as $key => $url ) {
1794
  $image_size = getimagesize( $file );
1795
 
1796
  if ( ! is_wp_error( $attach_id ) ) {
1797
+
1798
+ $width = isset( $image_size[0] ) ? $image_size[0] : '';
1799
+ $height = isset( $image_size[1] ) ? $image_size[1] : '';
1800
+
1801
+ wp_update_attachment_metadata( $attach_id, array( 'file' => $file, 'width' => $width, 'height' => $height, 'image_meta' => $image_meta ) );
1802
  }
1803
 
1804
  //Add auxin meta flag on attachment
1974
  preg_match_all( '/"custom_css":".+?(?<!\\ )"/', $meta, $custom_css, PREG_SET_ORDER );
1975
  if ( ! empty( $custom_css ) ) {
1976
  foreach ( $custom_css as $key => $css ) {
1977
+ preg_match_all( '#[\w\\\/\-\.\:]+?([\w\-]+?)\\\/wp-content#', $css[0], $matches, PREG_SET_ORDER );
1978
  if ( ! empty( $matches ) ) {
1979
  $new_css = $css[0];
1980
  foreach( $matches[0] as $key => $url ) {
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.7.10' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.7.11' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/class-auxin-elementor-core-elements.php CHANGED
@@ -192,6 +192,9 @@ final class Elements {
192
 
193
  // Flush CSS cache on auxin theme or plugin update
194
  add_action( 'auxin_updated' , [ $this, 'clear_cache' ] );
 
 
 
195
  }
196
 
197
  /**
@@ -794,6 +797,10 @@ final class Elements {
794
  // \Elementor\Plugin::instance()->files_manager->clear_cache();
795
  }
796
 
 
 
 
 
797
  }
798
 
799
  Elements::instance();
192
 
193
  // Flush CSS cache on auxin theme or plugin update
194
  add_action( 'auxin_updated' , [ $this, 'clear_cache' ] );
195
+
196
+ // Add additional fonts to elementor fonts
197
+ add_filter( 'elementor/fonts/additional_fonts', [ $this, 'additional_fonts' ], 1, 1 );
198
  }
199
 
200
  /**
797
  // \Elementor\Plugin::instance()->files_manager->clear_cache();
798
  }
799
 
800
+ public function additional_fonts( $fonts ) {
801
+ $fonts['Space Grotesk'] = 'googlefonts';
802
+ return $fonts;
803
+ }
804
  }
805
 
806
  Elements::instance();
includes/elementor/widgets/recent-posts-grid-carousel.php CHANGED
@@ -1957,6 +1957,10 @@ class RecentPostsGridCarousel extends Widget_Base {
1957
  $settings = $this->get_settings_for_display();
1958
  $settings['post_media_size'] = $settings['post_media_size'] == 'auto' ? '' : $settings['post_media_size'];
1959
 
 
 
 
 
1960
  $args = array(
1961
  // Display section
1962
  'show_media' => $settings['show_media'],
1957
  $settings = $this->get_settings_for_display();
1958
  $settings['post_media_size'] = $settings['post_media_size'] == 'auto' ? '' : $settings['post_media_size'];
1959
 
1960
+ if ( ! in_array( $settings['post_media_size'], auxin_get_available_image_sizes() ) ) {
1961
+ $settings['post_media_size'] = '';
1962
+ }
1963
+
1964
  $args = array(
1965
  // Display section
1966
  'show_media' => $settings['show_media'],
includes/elements/socials-list.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Social List
4
- *
5
  *
6
  * @package Auxin
7
  * @license LICENSE.txt
@@ -100,7 +100,7 @@ function auxin_get_social_master_array( $master_array ) {
100
 
101
  add_filter( 'auxin_master_array_shortcodes', 'auxin_get_social_master_array', 10, 1 );
102
 
103
-
104
  // This is the widget call back in fact the front end out put of this widget comes from this function
105
  function auxin_widget_socials_list_callback( $atts, $shortcode_content = null ){
106
 
@@ -136,3 +136,283 @@ function auxin_widget_socials_list_callback( $atts, $shortcode_content = null ){
136
 
137
  return ob_get_clean();
138
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <?php
2
  /**
3
  * Social List
4
+ * TODO: deprecate this widget
5
  *
6
  * @package Auxin
7
  * @license LICENSE.txt
100
 
101
  add_filter( 'auxin_master_array_shortcodes', 'auxin_get_social_master_array', 10, 1 );
102
 
103
+ // TODO: deprecate this widget
104
  // This is the widget call back in fact the front end out put of this widget comes from this function
105
  function auxin_widget_socials_list_callback( $atts, $shortcode_content = null ){
106
 
136
 
137
  return ob_get_clean();
138
  }
139
+
140
+ /**
141
+ * * New Social List Widget
142
+ *
143
+ *
144
+ * @package Auxin
145
+ * @license LICENSE.txt
146
+ * @author averta
147
+ * @link http://phlox.pro/
148
+ * @copyright (c) 2010-2021 averta
149
+ */
150
+ function auxin_get_social_widget_master_array( $master_array ) {
151
+
152
+ $master_array['aux_socials_list_2'] = array(
153
+ 'name' => __("Socials", 'auxin-elements' ),
154
+ 'auxin_output_callback' => 'auxin_widget_socials_list_callback_fun',
155
+ 'base' => 'aux_socials_list_2',
156
+ 'description' => __('It shows the website socials icons.', 'auxin-elements'),
157
+ 'class' => 'aux-widget-socials',
158
+ 'show_settings_on_create' => true,
159
+ 'weight' => 1,
160
+ 'is_widget' => true,
161
+ 'is_shortcode' => false,
162
+ 'is_so' => false,
163
+ 'is_vc' => false,
164
+ 'category' => THEME_NAME,
165
+ 'group' => '',
166
+ 'admin_enqueue_js' => '',
167
+ 'admin_enqueue_css' => '',
168
+ 'front_enqueue_js' => '',
169
+ 'front_enqueue_css' => '',
170
+ 'icon' => 'aux-element aux-pb-icons-socials',
171
+ 'custom_markup' => '',
172
+ 'js_view' => '',
173
+ 'html_template' => '',
174
+ 'deprecated' => '',
175
+ 'content_element' => '',
176
+ 'as_parent' => '',
177
+ 'as_child' => '',
178
+ 'params' => array(
179
+ array(
180
+ 'heading' => __('Title','auxin-elements'),
181
+ 'description' => __('Socials title, leave it empty if you don`t need title.', 'auxin-elements'),
182
+ 'param_name' => 'title',
183
+ 'type' => 'textfield',
184
+ 'value' => '',
185
+ 'def_value' => '',
186
+ 'holder' => 'textfield',
187
+ 'class' => 'id',
188
+ 'admin_label' => false,
189
+ 'dependency' => '',
190
+ 'weight' => '',
191
+ 'group' => '',
192
+ 'edit_field_class' => ''
193
+ ),
194
+ array(
195
+ 'heading' => __('Size of social icons','auxin-elements'),
196
+ 'description' => '',
197
+ 'param_name' => 'size',
198
+ 'type' => 'dropdown',
199
+ 'def_value' => 'medium',
200
+ 'value' => array(
201
+ 'small' => __('Small' , 'auxin-elements'),
202
+ 'medium' => __('Medium' , 'auxin-elements'),
203
+ 'large' => __('Large' , 'auxin-elements'),
204
+ 'extra-large' => __('Extra large' , 'auxin-elements')
205
+ ),
206
+ 'holder' => '',
207
+ 'class' => 'size',
208
+ 'admin_label' => false,
209
+ 'dependency' => '',
210
+ 'weight' => '',
211
+ 'group' => '',
212
+ 'edit_field_class' => ''
213
+ ),
214
+ array(
215
+ 'heading' => __('Directon of socials list','auxin-elements'),
216
+ 'description' => '',
217
+ 'param_name' => 'direction',
218
+ 'type' => 'dropdown',
219
+ 'def_value' => 'horizontal',
220
+ 'value' => array(
221
+ 'horizontal' => __('Horizontal' , 'auxin-elements'),
222
+ 'vertical' => __('Vertical' , 'auxin-elements')
223
+ ),
224
+ 'holder' => '',
225
+ 'class' => 'direction',
226
+ 'admin_label' => false,
227
+ 'dependency' => '',
228
+ 'weight' => '',
229
+ 'group' => '',
230
+ 'edit_field_class' => ''
231
+ ),
232
+ array(
233
+ 'heading' => __('Twitter Address' ,'auxin-elements' ),
234
+ 'param_name' => 'social_twitter',
235
+ 'type' => 'textfield',
236
+ 'value' => '',
237
+ 'holder' => '',
238
+ 'class' => '',
239
+ 'admin_label' => false,
240
+ 'weight' => '',
241
+ 'group' => __( 'Socials', 'auxin-elements' ),
242
+ 'edit_field_class' => ''
243
+ ),
244
+ array(
245
+ 'heading' => __('Linkedin Address','auxin-elements' ),
246
+ 'param_name' => 'social_linkedin',
247
+ 'type' => 'textfield',
248
+ 'value' => '',
249
+ 'holder' => '',
250
+ 'class' => '',
251
+ 'admin_label' => false,
252
+ 'weight' => '',
253
+ 'group' => __( 'Socials', 'auxin-elements' ),
254
+ 'edit_field_class' => ''
255
+ ),
256
+ array(
257
+ 'heading' => __('Facebook Address','auxin-elements' ),
258
+ 'param_name' => 'social_facebook',
259
+ 'type' => 'textfield',
260
+ 'value' => '',
261
+ 'holder' => '',
262
+ 'class' => '',
263
+ 'admin_label' => false,
264
+ 'weight' => '',
265
+ 'group' => __( 'Socials', 'auxin-elements' ),
266
+ 'edit_field_class' => ''
267
+ ),
268
+ array(
269
+ 'heading' => __('Flickr Address','auxin-elements' ),
270
+ 'param_name' => 'social_flickr',
271
+ 'type' => 'textfield',
272
+ 'value' => '',
273
+ 'holder' => '',
274
+ 'class' => '',
275
+ 'admin_label' => false,
276
+ 'weight' => '',
277
+ 'group' => __( 'Socials', 'auxin-elements' ),
278
+ 'edit_field_class' => ''
279
+ ),
280
+ array(
281
+ 'heading' => __('Dribbble Address','auxin-elements' ),
282
+ 'param_name' => 'social_dribbble',
283
+ 'type' => 'textfield',
284
+ 'value' => '',
285
+ 'holder' => '',
286
+ 'class' => '',
287
+ 'admin_label' => false,
288
+ 'weight' => '',
289
+ 'group' => __( 'Socials', 'auxin-elements' ),
290
+ 'edit_field_class' => ''
291
+ ),
292
+ array(
293
+ 'heading' => __('Pinterest Address','auxin-elements' ),
294
+ 'param_name' => 'social_pinterest',
295
+ 'type' => 'textfield',
296
+ 'value' => '',
297
+ 'holder' => '',
298
+ 'class' => '',
299
+ 'admin_label' => false,
300
+ 'weight' => '',
301
+ 'group' => __( 'Socials', 'auxin-elements' ),
302
+ 'edit_field_class' => ''
303
+ ),
304
+ array(
305
+ 'heading' => __('Youtube Address','auxin-elements' ),
306
+ 'param_name' => 'social_youtube',
307
+ 'type' => 'textfield',
308
+ 'value' => '',
309
+ 'holder' => '',
310
+ 'class' => '',
311
+ 'admin_label' => false,
312
+ 'weight' => '',
313
+ 'group' => __( 'Socials', 'auxin-elements' ),
314
+ 'edit_field_class' => ''
315
+ ),
316
+ array(
317
+ 'heading' => __('Instagram Address','auxin-elements' ),
318
+ 'param_name' => 'social_instagram',
319
+ 'type' => 'textfield',
320
+ 'value' => '',
321
+ 'holder' => '',
322
+ 'class' => '',
323
+ 'admin_label' => false,
324
+ 'weight' => '',
325
+ 'group' => __( 'Socials', 'auxin-elements' ),
326
+ 'edit_field_class' => ''
327
+ ),
328
+ array(
329
+ 'heading' => __('Telegram Address','auxin-elements' ),
330
+ 'param_name' => 'social_telegram',
331
+ 'type' => 'textfield',
332
+ 'value' => '',
333
+ 'holder' => '',
334
+ 'class' => '',
335
+ 'admin_label' => false,
336
+ 'weight' => '',
337
+ 'group' => __( 'Socials', 'auxin-elements' ),
338
+ 'edit_field_class' => ''
339
+ ),
340
+ array(
341
+ 'heading' => __('VK Address','auxin-elements' ),
342
+ 'param_name' => 'social_vk',
343
+ 'type' => 'textfield',
344
+ 'value' => '',
345
+ 'holder' => '',
346
+ 'class' => '',
347
+ 'admin_label' => false,
348
+ 'weight' => '',
349
+ 'group' => __( 'Socials', 'auxin-elements' ),
350
+ 'edit_field_class' => ''
351
+ )
352
+
353
+ )
354
+ );
355
+
356
+ return $master_array;
357
+ }
358
+
359
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_social_widget_master_array', 10, 1 );
360
+
361
+ // This is the widget call back in fact the front end out put of this widget comes from this function
362
+ function auxin_widget_socials_list_callback_fun( $atts, $shortcode_content = null ){
363
+
364
+ // Defining default attributes
365
+ $default_atts = array(
366
+ 'title' => '',
367
+ 'direction' => 'horizontal',
368
+ 'size' => 'medium',
369
+ 'extra_classes' => '',
370
+ 'custom_el_id' => '',
371
+ 'base_class' => 'aux-widget-socials',
372
+ 'social_facebook' => '',
373
+ 'social_twitter' => '',
374
+ 'social_dribbble' => '',
375
+ 'social_youtube' => '',
376
+ 'social_flickr' => '',
377
+ 'social_linkedin' => '',
378
+ 'social_pinterest' => '',
379
+ 'social_instagram' => '',
380
+ 'social_vk' => '',
381
+ 'social_telegram' => '',
382
+ );
383
+
384
+
385
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
386
+ extract( $result['parsed_atts'] );
387
+
388
+ ob_start();
389
+
390
+ // widget header ------------------------------
391
+ echo $result['widget_header'];
392
+ echo $result['widget_title'];
393
+
394
+ $social_lists = array(
395
+ 'facebook' => $social_facebook,
396
+ 'twitter' => $social_twitter,
397
+ 'dribbble' => $social_dribbble,
398
+ 'youtube' => $social_youtube,
399
+ 'flickr' => $social_flickr,
400
+ 'linkedin' => $social_linkedin,
401
+ 'pinterest' => $social_pinterest,
402
+ 'instagram' => $social_instagram,
403
+ 'vk' => $social_vk,
404
+ 'telegram' => $social_telegram,
405
+ );
406
+
407
+ // widget output -----------------------
408
+ echo auxin_the_socials(array(
409
+ 'direction' => $direction,
410
+ 'size' => $size,
411
+ 'social_list' => $social_lists
412
+ ));
413
+
414
+ // widget footer ------------------------------
415
+ echo $result['widget_footer'];
416
+
417
+ return ob_get_clean();
418
+ }
includes/elements/video.php CHANGED
@@ -255,6 +255,8 @@ function auxin_widget_video_callback( $atts, $shortcode_content = null ){
255
 
256
  if( ! empty( $src ) ){
257
 
 
 
258
  echo wp_video_shortcode(
259
  array(
260
  'src' => $src,
255
 
256
  if( ! empty( $src ) ){
257
 
258
+ $poster = auxin_aq_resize( $poster, $width, $height, true, 100, true, false );
259
+
260
  echo wp_video_shortcode(
261
  array(
262
  'src' => $src,
includes/general-functions.php CHANGED
@@ -2510,8 +2510,9 @@ function auxin_get_available_image_sizes() {
2510
 
2511
  $image_sizes = get_intermediate_image_sizes();
2512
  $auto_size = array( 'auto' => 'auto' );
 
2513
 
2514
- return array_merge( $image_sizes, $auto_size );
2515
 
2516
  }
2517
 
2510
 
2511
  $image_sizes = get_intermediate_image_sizes();
2512
  $auto_size = array( 'auto' => 'auto' );
2513
+ $image_sizes = array_merge( $image_sizes, $auto_size );
2514
 
2515
+ return array_combine( $image_sizes, $image_sizes);
2516
 
2517
  }
2518
 
includes/general-hooks.php CHANGED
@@ -3663,3 +3663,20 @@ function auxels_add_svg_upload_permission( $mimes ){
3663
  return $mimes;
3664
  }
3665
  add_filter( 'upload_mimes', 'auxels_add_svg_upload_permission' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3663
  return $mimes;
3664
  }
3665
  add_filter( 'upload_mimes', 'auxels_add_svg_upload_permission' );
3666
+
3667
+
3668
+ /**
3669
+ * Add classes to wc product items
3670
+ *
3671
+ * @param array $classes
3672
+ * @return array $classes
3673
+ */
3674
+ function auxels_add_product_item_classes( $classes ) {
3675
+
3676
+ if( !auxin_is_true( auxin_get_option( 'product_archive_show_view_cart_link', false ) ) ) {
3677
+ $classes[] = 'aux-remove-view-cart';
3678
+ }
3679
+
3680
+ return $classes;
3681
+ }
3682
+ add_filter( 'woocommerce_post_class', 'auxels_add_product_item_classes', 1, 1 );
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-03-15 09:44:48+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -1410,9 +1410,9 @@ msgstr "تراز المان خط زمانی را مشخص می کند."
1410
  #: includes/elementor/widgets/staff.php:787
1411
  #: includes/elementor/widgets/text.php:1036 includes/elements/button.php:66
1412
  #: includes/elements/divider.php:90 includes/elements/socials-list.php:63
1413
- #: includes/elements/staff.php:463 includes/elements/text.php:469
1414
- #: includes/elements/text.php:677 includes/general-hooks.php:689
1415
- #: includes/general-hooks.php:1094
1416
  msgid "Small"
1417
  msgstr "کوچک"
1418
 
@@ -1425,10 +1425,11 @@ msgstr "کوچک"
1425
  #: includes/elementor/widgets/text.php:1035
1426
  #: includes/elements/before-after.php:104 includes/elements/button.php:65
1427
  #: includes/elements/divider.php:89 includes/elements/instagram-feed.php:98
1428
- #: includes/elements/socials-list.php:64 includes/elements/staff.php:111
1429
- #: includes/elements/staff.php:464 includes/elements/text.php:430
1430
- #: includes/elements/text.php:470 includes/elements/text.php:676
1431
- #: includes/general-hooks.php:688 includes/general-hooks.php:1093
 
1432
  msgid "Medium"
1433
  msgstr "متوسط"
1434
 
@@ -1440,10 +1441,10 @@ msgstr "متوسط"
1440
  #: includes/elementor/widgets/text.php:1034
1441
  #: includes/elements/before-after.php:105 includes/elements/button.php:64
1442
  #: includes/elements/divider.php:88 includes/elements/socials-list.php:65
1443
- #: includes/elements/staff.php:110 includes/elements/staff.php:465
1444
- #: includes/elements/text.php:429 includes/elements/text.php:471
1445
- #: includes/elements/text.php:675 includes/general-hooks.php:687
1446
- #: includes/general-hooks.php:1092
1447
  msgid "Large"
1448
  msgstr "بزرگ"
1449
 
@@ -2722,7 +2723,7 @@ msgid "Demo has been successfully uninstalled."
2722
  msgstr ""
2723
 
2724
  #: includes/classes/class-auxin-welcome.php:1288
2725
- #: public/includes/frontend-ajax.php:154 public/includes/frontend-ajax.php:210
2726
  msgid "An Error Occurred!"
2727
  msgstr ""
2728
 
@@ -3008,51 +3009,51 @@ msgstr "افزودن بخش"
3008
  msgid "Select Audio"
3009
  msgstr "انتخاب شکاف آکاردئون"
3010
 
3011
- #: includes/elementor/class-auxin-elementor-core-elements.php:401
3012
  msgid "Element class \"%s\" not found."
3013
  msgstr ""
3014
 
3015
- #: includes/elementor/class-auxin-elementor-core-elements.php:497
3016
  msgid "Module class \"%s\" not found."
3017
  msgstr ""
3018
 
3019
- #: includes/elementor/class-auxin-elementor-core-elements.php:570
3020
  msgid "%s - General"
3021
  msgstr ""
3022
 
3023
- #: includes/elementor/class-auxin-elementor-core-elements.php:578
3024
  msgid "%s - Featured"
3025
  msgstr ""
3026
 
3027
- #: includes/elementor/class-auxin-elementor-core-elements.php:586
3028
  #, fuzzy
3029
  msgid "%s - Posts"
3030
  msgstr "نوشته ها"
3031
 
3032
- #: includes/elementor/class-auxin-elementor-core-elements.php:594
3033
  msgid "%s - Portfolio"
3034
  msgstr ""
3035
 
3036
  #. translators: 1: Plugin name 2: PHP 3: Required PHP version
3037
- #: includes/elementor/class-auxin-elementor-core-elements.php:668
3038
- #: includes/elementor/class-auxin-elementor-core-elements.php:692
3039
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
3040
  msgstr ""
3041
 
3042
- #: includes/elementor/class-auxin-elementor-core-elements.php:670
3043
  msgid "Elementor"
3044
  msgstr ""
3045
 
3046
- #: includes/elementor/class-auxin-elementor-core-elements.php:694
3047
  #: includes/elements/code.php:82
3048
  msgid "PHP"
3049
  msgstr ""
3050
 
3051
- #: includes/elementor/class-auxin-elementor-core-elements.php:751
3052
  msgid "Phlox Icons - Set 1"
3053
  msgstr ""
3054
 
3055
- #: includes/elementor/class-auxin-elementor-core-elements.php:773
3056
  msgid "Phlox Icons - Set 2"
3057
  msgstr ""
3058
 
@@ -3762,9 +3763,10 @@ msgstr "بخش"
3762
  #: includes/elements/recent-products.php:131
3763
  #: includes/elements/sample-element.php:51
3764
  #: includes/elements/sample-element.php:65 includes/elements/search.php:41
3765
- #: includes/elements/socials-list.php:42 includes/elements/tab-widget.php:43
3766
- #: includes/elements/tabs.php:43 includes/elements/text.php:43
3767
- #: includes/elements/touch-slider.php:43 includes/elements/video.php:38
 
3768
  msgid "Title"
3769
  msgstr "عنوان"
3770
 
@@ -6178,14 +6180,16 @@ msgstr "بخش"
6178
  #: includes/elementor/widgets/custom-list.php:386
6179
  #: includes/elementor/widgets/staff.php:770
6180
  #: includes/elementor/widgets/theme-elements/menu.php:161
6181
- #: includes/elements/socials-list.php:84 includes/elements/staff.php:486
 
6182
  msgid "Vertical"
6183
  msgstr "عمودی"
6184
 
6185
  #: includes/elementor/widgets/custom-list.php:387
6186
  #: includes/elementor/widgets/staff.php:771
6187
  #: includes/elementor/widgets/theme-elements/menu.php:160
6188
- #: includes/elements/socials-list.php:83 includes/elements/staff.php:487
 
6189
  msgid "Horizontal"
6190
  msgstr "افقی"
6191
 
@@ -8587,12 +8591,14 @@ msgstr "شکلک های شبکه های اجتماعی"
8587
  msgid "Enable Socials"
8588
  msgstr "[فلوکس] شبکه های اجتماعی"
8589
 
8590
- #: includes/elementor/widgets/staff.php:286 includes/elements/staff.php:329
 
8591
  #, fuzzy
8592
  msgid "Twitter Address"
8593
  msgstr "آدرس"
8594
 
8595
- #: includes/elementor/widgets/staff.php:302 includes/elements/staff.php:361
 
8596
  #, fuzzy
8597
  msgid "Facebook Address"
8598
  msgstr "آدرس جعبه تماس"
@@ -8602,7 +8608,8 @@ msgstr "آدرس جعبه تماس"
8602
  msgid "Google Plus Address"
8603
  msgstr "کد آنالیز گوگل"
8604
 
8605
- #: includes/elementor/widgets/staff.php:334 includes/elements/staff.php:393
 
8606
  #, fuzzy
8607
  msgid "Flickr Address"
8608
  msgstr "آدرس"
@@ -8611,7 +8618,8 @@ msgstr "آدرس"
8611
  msgid "Delicious Address"
8612
  msgstr ""
8613
 
8614
- #: includes/elementor/widgets/staff.php:366 includes/elements/staff.php:425
 
8615
  msgid "Pinterest Address"
8616
  msgstr ""
8617
 
@@ -8621,11 +8629,13 @@ msgid "GitHub Address"
8621
  msgstr "آدرس"
8622
 
8623
  #: includes/elementor/widgets/staff.php:398
 
8624
  #, fuzzy
8625
  msgid "Instagram Address"
8626
  msgstr "شناسه کاربر اینستاگرام"
8627
 
8628
  #: includes/elementor/widgets/staff.php:414
 
8629
  #, fuzzy
8630
  msgid "Dribbble Address"
8631
  msgstr "آدرس"
@@ -8651,7 +8661,17 @@ msgid "Subtitle"
8651
  msgstr "زیرعنوان"
8652
 
8653
  #: includes/elementor/widgets/staff.php:699
8654
- #: includes/elements/socials-list.php:15 includes/elements/staff.php:325
 
 
 
 
 
 
 
 
 
 
8655
  #: includes/elements/staff.php:341 includes/elements/staff.php:357
8656
  #: includes/elements/staff.php:373 includes/elements/staff.php:389
8657
  #: includes/elements/staff.php:405 includes/elements/staff.php:421
@@ -11375,23 +11395,50 @@ msgstr ""
11375
  "شکلک های شبکه های اجتماعی را نشان می دهد که می توانید در شخصی ساز آن ها را "
11376
  "تنظیم کنید."
11377
 
11378
- #: includes/elements/socials-list.php:43
11379
  msgid "Socials title, leave it empty if you don`t need title."
11380
  msgstr ""
11381
  "عنوان شبکه های اجتماعی، اگر به عنوان نیازی ندارید این بخش را خالی بگذارید."
11382
 
11383
- #: includes/elements/socials-list.php:57
11384
  msgid "Size of social icons"
11385
  msgstr "اندازه شکلک های شبکه های اجتماعی"
11386
 
11387
- #: includes/elements/socials-list.php:66
11388
  msgid "Extra large"
11389
  msgstr "خیلی بزرگ"
11390
 
11391
- #: includes/elements/socials-list.php:77
11392
  msgid "Directon of socials list"
11393
  msgstr "جهت لیست شبکه های اجتماعی"
11394
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11395
  #: includes/elements/staff.php:16
11396
  msgid "Staff "
11397
  msgstr ""
@@ -11470,11 +11517,6 @@ msgstr "شمای رنگ متن"
11470
  msgid "Inherit"
11471
  msgstr "ارث بری"
11472
 
11473
- #: includes/elements/staff.php:345
11474
- #, fuzzy
11475
- msgid "Linkedin Address"
11476
- msgstr "آدرس"
11477
-
11478
  #: includes/elements/tab-widget.php:18 includes/elements/tabs.php:18
11479
  msgid "It adds tabs element."
11480
  msgstr "یک المان زبانه اضافه می کند."
@@ -12695,36 +12737,36 @@ msgstr "اصلا"
12695
  msgid "No data received."
12696
  msgstr ""
12697
 
12698
- #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:179
12699
  #, fuzzy
12700
  msgid "Verification failed!"
12701
  msgstr "احراز هویت با خطا مواجه شد!"
12702
 
12703
- #: public/includes/frontend-ajax.php:147
12704
  msgid "Your cart is currently empty."
12705
  msgstr ""
12706
 
12707
- #: public/includes/frontend-ajax.php:148
12708
  msgid "Item has been removed from your shopping cart."
12709
  msgstr ""
12710
 
12711
- #: public/includes/frontend-ajax.php:199
12712
  msgid "View cart"
12713
  msgstr ""
12714
 
12715
- #: public/includes/frontend-ajax.php:199
12716
  msgid "has been added to your cart."
12717
  msgstr ""
12718
 
12719
- #: public/includes/frontend-ajax.php:204
12720
  msgid "Sorry, this product cannot be purchased."
12721
  msgstr ""
12722
 
12723
- #: public/includes/frontend-ajax.php:260
12724
  msgid "From %s"
12725
  msgstr ""
12726
 
12727
- #: public/includes/frontend-ajax.php:261
12728
  msgid "Nothing found in %s"
12729
  msgstr ""
12730
 
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-04-17 10:02:01+00:00\n"
6
  "PO-Revision-Date: 2016-11-09 12:50+0330\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
1410
  #: includes/elementor/widgets/staff.php:787
1411
  #: includes/elementor/widgets/text.php:1036 includes/elements/button.php:66
1412
  #: includes/elements/divider.php:90 includes/elements/socials-list.php:63
1413
+ #: includes/elements/socials-list.php:201 includes/elements/staff.php:463
1414
+ #: includes/elements/text.php:469 includes/elements/text.php:677
1415
+ #: includes/general-hooks.php:689 includes/general-hooks.php:1094
1416
  msgid "Small"
1417
  msgstr "کوچک"
1418
 
1425
  #: includes/elementor/widgets/text.php:1035
1426
  #: includes/elements/before-after.php:104 includes/elements/button.php:65
1427
  #: includes/elements/divider.php:89 includes/elements/instagram-feed.php:98
1428
+ #: includes/elements/socials-list.php:64 includes/elements/socials-list.php:202
1429
+ #: includes/elements/staff.php:111 includes/elements/staff.php:464
1430
+ #: includes/elements/text.php:430 includes/elements/text.php:470
1431
+ #: includes/elements/text.php:676 includes/general-hooks.php:688
1432
+ #: includes/general-hooks.php:1093
1433
  msgid "Medium"
1434
  msgstr "متوسط"
1435
 
1441
  #: includes/elementor/widgets/text.php:1034
1442
  #: includes/elements/before-after.php:105 includes/elements/button.php:64
1443
  #: includes/elements/divider.php:88 includes/elements/socials-list.php:65
1444
+ #: includes/elements/socials-list.php:203 includes/elements/staff.php:110
1445
+ #: includes/elements/staff.php:465 includes/elements/text.php:429
1446
+ #: includes/elements/text.php:471 includes/elements/text.php:675
1447
+ #: includes/general-hooks.php:687 includes/general-hooks.php:1092
1448
  msgid "Large"
1449
  msgstr "بزرگ"
1450
 
2723
  msgstr ""
2724
 
2725
  #: includes/classes/class-auxin-welcome.php:1288
2726
+ #: public/includes/frontend-ajax.php:173 public/includes/frontend-ajax.php:236
2727
  msgid "An Error Occurred!"
2728
  msgstr ""
2729
 
3009
  msgid "Select Audio"
3010
  msgstr "انتخاب شکاف آکاردئون"
3011
 
3012
+ #: includes/elementor/class-auxin-elementor-core-elements.php:404
3013
  msgid "Element class \"%s\" not found."
3014
  msgstr ""
3015
 
3016
+ #: includes/elementor/class-auxin-elementor-core-elements.php:500
3017
  msgid "Module class \"%s\" not found."
3018
  msgstr ""
3019
 
3020
+ #: includes/elementor/class-auxin-elementor-core-elements.php:573
3021
  msgid "%s - General"
3022
  msgstr ""
3023
 
3024
+ #: includes/elementor/class-auxin-elementor-core-elements.php:581
3025
  msgid "%s - Featured"
3026
  msgstr ""
3027
 
3028
+ #: includes/elementor/class-auxin-elementor-core-elements.php:589
3029
  #, fuzzy
3030
  msgid "%s - Posts"
3031
  msgstr "نوشته ها"
3032
 
3033
+ #: includes/elementor/class-auxin-elementor-core-elements.php:597
3034
  msgid "%s - Portfolio"
3035
  msgstr ""
3036
 
3037
  #. translators: 1: Plugin name 2: PHP 3: Required PHP version
3038
+ #: includes/elementor/class-auxin-elementor-core-elements.php:671
3039
+ #: includes/elementor/class-auxin-elementor-core-elements.php:695
3040
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
3041
  msgstr ""
3042
 
3043
+ #: includes/elementor/class-auxin-elementor-core-elements.php:673
3044
  msgid "Elementor"
3045
  msgstr ""
3046
 
3047
+ #: includes/elementor/class-auxin-elementor-core-elements.php:697
3048
  #: includes/elements/code.php:82
3049
  msgid "PHP"
3050
  msgstr ""
3051
 
3052
+ #: includes/elementor/class-auxin-elementor-core-elements.php:754
3053
  msgid "Phlox Icons - Set 1"
3054
  msgstr ""
3055
 
3056
+ #: includes/elementor/class-auxin-elementor-core-elements.php:776
3057
  msgid "Phlox Icons - Set 2"
3058
  msgstr ""
3059
 
3763
  #: includes/elements/recent-products.php:131
3764
  #: includes/elements/sample-element.php:51
3765
  #: includes/elements/sample-element.php:65 includes/elements/search.php:41
3766
+ #: includes/elements/socials-list.php:42 includes/elements/socials-list.php:180
3767
+ #: includes/elements/tab-widget.php:43 includes/elements/tabs.php:43
3768
+ #: includes/elements/text.php:43 includes/elements/touch-slider.php:43
3769
+ #: includes/elements/video.php:38
3770
  msgid "Title"
3771
  msgstr "عنوان"
3772
 
6180
  #: includes/elementor/widgets/custom-list.php:386
6181
  #: includes/elementor/widgets/staff.php:770
6182
  #: includes/elementor/widgets/theme-elements/menu.php:161
6183
+ #: includes/elements/socials-list.php:84 includes/elements/socials-list.php:222
6184
+ #: includes/elements/staff.php:486
6185
  msgid "Vertical"
6186
  msgstr "عمودی"
6187
 
6188
  #: includes/elementor/widgets/custom-list.php:387
6189
  #: includes/elementor/widgets/staff.php:771
6190
  #: includes/elementor/widgets/theme-elements/menu.php:160
6191
+ #: includes/elements/socials-list.php:83 includes/elements/socials-list.php:221
6192
+ #: includes/elements/staff.php:487
6193
  msgid "Horizontal"
6194
  msgstr "افقی"
6195
 
8591
  msgid "Enable Socials"
8592
  msgstr "[فلوکس] شبکه های اجتماعی"
8593
 
8594
+ #: includes/elementor/widgets/staff.php:286
8595
+ #: includes/elements/socials-list.php:233 includes/elements/staff.php:329
8596
  #, fuzzy
8597
  msgid "Twitter Address"
8598
  msgstr "آدرس"
8599
 
8600
+ #: includes/elementor/widgets/staff.php:302
8601
+ #: includes/elements/socials-list.php:257 includes/elements/staff.php:361
8602
  #, fuzzy
8603
  msgid "Facebook Address"
8604
  msgstr "آدرس جعبه تماس"
8608
  msgid "Google Plus Address"
8609
  msgstr "کد آنالیز گوگل"
8610
 
8611
+ #: includes/elementor/widgets/staff.php:334
8612
+ #: includes/elements/socials-list.php:269 includes/elements/staff.php:393
8613
  #, fuzzy
8614
  msgid "Flickr Address"
8615
  msgstr "آدرس"
8618
  msgid "Delicious Address"
8619
  msgstr ""
8620
 
8621
+ #: includes/elementor/widgets/staff.php:366
8622
+ #: includes/elements/socials-list.php:293 includes/elements/staff.php:425
8623
  msgid "Pinterest Address"
8624
  msgstr ""
8625
 
8629
  msgstr "آدرس"
8630
 
8631
  #: includes/elementor/widgets/staff.php:398
8632
+ #: includes/elements/socials-list.php:317
8633
  #, fuzzy
8634
  msgid "Instagram Address"
8635
  msgstr "شناسه کاربر اینستاگرام"
8636
 
8637
  #: includes/elementor/widgets/staff.php:414
8638
+ #: includes/elements/socials-list.php:281
8639
  #, fuzzy
8640
  msgid "Dribbble Address"
8641
  msgstr "آدرس"
8661
  msgstr "زیرعنوان"
8662
 
8663
  #: includes/elementor/widgets/staff.php:699
8664
+ #: includes/elements/socials-list.php:15 includes/elements/socials-list.php:153
8665
+ #: includes/elements/socials-list.php:241
8666
+ #: includes/elements/socials-list.php:253
8667
+ #: includes/elements/socials-list.php:265
8668
+ #: includes/elements/socials-list.php:277
8669
+ #: includes/elements/socials-list.php:289
8670
+ #: includes/elements/socials-list.php:301
8671
+ #: includes/elements/socials-list.php:313
8672
+ #: includes/elements/socials-list.php:325
8673
+ #: includes/elements/socials-list.php:337
8674
+ #: includes/elements/socials-list.php:349 includes/elements/staff.php:325
8675
  #: includes/elements/staff.php:341 includes/elements/staff.php:357
8676
  #: includes/elements/staff.php:373 includes/elements/staff.php:389
8677
  #: includes/elements/staff.php:405 includes/elements/staff.php:421
11395
  "شکلک های شبکه های اجتماعی را نشان می دهد که می توانید در شخصی ساز آن ها را "
11396
  "تنظیم کنید."
11397
 
11398
+ #: includes/elements/socials-list.php:43 includes/elements/socials-list.php:181
11399
  msgid "Socials title, leave it empty if you don`t need title."
11400
  msgstr ""
11401
  "عنوان شبکه های اجتماعی، اگر به عنوان نیازی ندارید این بخش را خالی بگذارید."
11402
 
11403
+ #: includes/elements/socials-list.php:57 includes/elements/socials-list.php:195
11404
  msgid "Size of social icons"
11405
  msgstr "اندازه شکلک های شبکه های اجتماعی"
11406
 
11407
+ #: includes/elements/socials-list.php:66 includes/elements/socials-list.php:204
11408
  msgid "Extra large"
11409
  msgstr "خیلی بزرگ"
11410
 
11411
+ #: includes/elements/socials-list.php:77 includes/elements/socials-list.php:215
11412
  msgid "Directon of socials list"
11413
  msgstr "جهت لیست شبکه های اجتماعی"
11414
 
11415
+ #: includes/elements/socials-list.php:156
11416
+ #, fuzzy
11417
+ msgid "It shows the website socials icons."
11418
+ msgstr ""
11419
+ "شکلک های شبکه های اجتماعی را نشان می دهد که می توانید در شخصی ساز آن ها را "
11420
+ "تنظیم کنید."
11421
+
11422
+ #: includes/elements/socials-list.php:245 includes/elements/staff.php:345
11423
+ #, fuzzy
11424
+ msgid "Linkedin Address"
11425
+ msgstr "آدرس"
11426
+
11427
+ #: includes/elements/socials-list.php:305
11428
+ #, fuzzy
11429
+ msgid "Youtube Address"
11430
+ msgstr "آدرس"
11431
+
11432
+ #: includes/elements/socials-list.php:329
11433
+ #, fuzzy
11434
+ msgid "Telegram Address"
11435
+ msgstr "آدرس"
11436
+
11437
+ #: includes/elements/socials-list.php:341
11438
+ #, fuzzy
11439
+ msgid "VK Address"
11440
+ msgstr "آدرس"
11441
+
11442
  #: includes/elements/staff.php:16
11443
  msgid "Staff "
11444
  msgstr ""
11517
  msgid "Inherit"
11518
  msgstr "ارث بری"
11519
 
 
 
 
 
 
11520
  #: includes/elements/tab-widget.php:18 includes/elements/tabs.php:18
11521
  msgid "It adds tabs element."
11522
  msgstr "یک المان زبانه اضافه می کند."
12737
  msgid "No data received."
12738
  msgstr ""
12739
 
12740
+ #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:198
12741
  #, fuzzy
12742
  msgid "Verification failed!"
12743
  msgstr "احراز هویت با خطا مواجه شد!"
12744
 
12745
+ #: public/includes/frontend-ajax.php:166
12746
  msgid "Your cart is currently empty."
12747
  msgstr ""
12748
 
12749
+ #: public/includes/frontend-ajax.php:167
12750
  msgid "Item has been removed from your shopping cart."
12751
  msgstr ""
12752
 
12753
+ #: public/includes/frontend-ajax.php:225
12754
  msgid "View cart"
12755
  msgstr ""
12756
 
12757
+ #: public/includes/frontend-ajax.php:225
12758
  msgid "has been added to your cart."
12759
  msgstr ""
12760
 
12761
+ #: public/includes/frontend-ajax.php:230
12762
  msgid "Sorry, this product cannot be purchased."
12763
  msgstr ""
12764
 
12765
+ #: public/includes/frontend-ajax.php:315
12766
  msgid "From %s"
12767
  msgstr ""
12768
 
12769
+ #: public/includes/frontend-ajax.php:316
12770
  msgid "Nothing found in %s"
12771
  msgstr ""
12772
 
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.7.10\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2021-03-15 09:44:48+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -1311,9 +1311,9 @@ msgstr ""
1311
  #: includes/elementor/widgets/staff.php:787
1312
  #: includes/elementor/widgets/text.php:1036 includes/elements/button.php:66
1313
  #: includes/elements/divider.php:90 includes/elements/socials-list.php:63
1314
- #: includes/elements/staff.php:463 includes/elements/text.php:469
1315
- #: includes/elements/text.php:677 includes/general-hooks.php:689
1316
- #: includes/general-hooks.php:1094
1317
  msgid "Small"
1318
  msgstr ""
1319
 
@@ -1326,10 +1326,11 @@ msgstr ""
1326
  #: includes/elementor/widgets/text.php:1035
1327
  #: includes/elements/before-after.php:104 includes/elements/button.php:65
1328
  #: includes/elements/divider.php:89 includes/elements/instagram-feed.php:98
1329
- #: includes/elements/socials-list.php:64 includes/elements/staff.php:111
1330
- #: includes/elements/staff.php:464 includes/elements/text.php:430
1331
- #: includes/elements/text.php:470 includes/elements/text.php:676
1332
- #: includes/general-hooks.php:688 includes/general-hooks.php:1093
 
1333
  msgid "Medium"
1334
  msgstr ""
1335
 
@@ -1341,10 +1342,10 @@ msgstr ""
1341
  #: includes/elementor/widgets/text.php:1034
1342
  #: includes/elements/before-after.php:105 includes/elements/button.php:64
1343
  #: includes/elements/divider.php:88 includes/elements/socials-list.php:65
1344
- #: includes/elements/staff.php:110 includes/elements/staff.php:465
1345
- #: includes/elements/text.php:429 includes/elements/text.php:471
1346
- #: includes/elements/text.php:675 includes/general-hooks.php:687
1347
- #: includes/general-hooks.php:1092
1348
  msgid "Large"
1349
  msgstr ""
1350
 
@@ -2554,7 +2555,7 @@ msgid "Demo has been successfully uninstalled."
2554
  msgstr ""
2555
 
2556
  #: includes/classes/class-auxin-welcome.php:1288
2557
- #: public/includes/frontend-ajax.php:154 public/includes/frontend-ajax.php:210
2558
  msgid "An Error Occurred!"
2559
  msgstr ""
2560
 
@@ -2820,50 +2821,50 @@ msgstr ""
2820
  msgid "Select Audio"
2821
  msgstr ""
2822
 
2823
- #: includes/elementor/class-auxin-elementor-core-elements.php:401
2824
  msgid "Element class \"%s\" not found."
2825
  msgstr ""
2826
 
2827
- #: includes/elementor/class-auxin-elementor-core-elements.php:497
2828
  msgid "Module class \"%s\" not found."
2829
  msgstr ""
2830
 
2831
- #: includes/elementor/class-auxin-elementor-core-elements.php:570
2832
  msgid "%s - General"
2833
  msgstr ""
2834
 
2835
- #: includes/elementor/class-auxin-elementor-core-elements.php:578
2836
  msgid "%s - Featured"
2837
  msgstr ""
2838
 
2839
- #: includes/elementor/class-auxin-elementor-core-elements.php:586
2840
  msgid "%s - Posts"
2841
  msgstr ""
2842
 
2843
- #: includes/elementor/class-auxin-elementor-core-elements.php:594
2844
  msgid "%s - Portfolio"
2845
  msgstr ""
2846
 
2847
- #: includes/elementor/class-auxin-elementor-core-elements.php:668
2848
- #: includes/elementor/class-auxin-elementor-core-elements.php:692
2849
  #. translators: 1: Plugin name 2: PHP 3: Required PHP version
2850
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
2851
  msgstr ""
2852
 
2853
- #: includes/elementor/class-auxin-elementor-core-elements.php:670
2854
  msgid "Elementor"
2855
  msgstr ""
2856
 
2857
- #: includes/elementor/class-auxin-elementor-core-elements.php:694
2858
  #: includes/elements/code.php:82
2859
  msgid "PHP"
2860
  msgstr ""
2861
 
2862
- #: includes/elementor/class-auxin-elementor-core-elements.php:751
2863
  msgid "Phlox Icons - Set 1"
2864
  msgstr ""
2865
 
2866
- #: includes/elementor/class-auxin-elementor-core-elements.php:773
2867
  msgid "Phlox Icons - Set 2"
2868
  msgstr ""
2869
 
@@ -3527,9 +3528,10 @@ msgstr ""
3527
  #: includes/elements/recent-products.php:131
3528
  #: includes/elements/sample-element.php:51
3529
  #: includes/elements/sample-element.php:65 includes/elements/search.php:41
3530
- #: includes/elements/socials-list.php:42 includes/elements/tab-widget.php:43
3531
- #: includes/elements/tabs.php:43 includes/elements/text.php:43
3532
- #: includes/elements/touch-slider.php:43 includes/elements/video.php:38
 
3533
  msgid "Title"
3534
  msgstr ""
3535
 
@@ -5839,14 +5841,16 @@ msgstr ""
5839
  #: includes/elementor/widgets/custom-list.php:386
5840
  #: includes/elementor/widgets/staff.php:770
5841
  #: includes/elementor/widgets/theme-elements/menu.php:161
5842
- #: includes/elements/socials-list.php:84 includes/elements/staff.php:486
 
5843
  msgid "Vertical"
5844
  msgstr ""
5845
 
5846
  #: includes/elementor/widgets/custom-list.php:387
5847
  #: includes/elementor/widgets/staff.php:771
5848
  #: includes/elementor/widgets/theme-elements/menu.php:160
5849
- #: includes/elements/socials-list.php:83 includes/elements/staff.php:487
 
5850
  msgid "Horizontal"
5851
  msgstr ""
5852
 
@@ -8101,11 +8105,13 @@ msgstr ""
8101
  msgid "Enable Socials"
8102
  msgstr ""
8103
 
8104
- #: includes/elementor/widgets/staff.php:286 includes/elements/staff.php:329
 
8105
  msgid "Twitter Address"
8106
  msgstr ""
8107
 
8108
- #: includes/elementor/widgets/staff.php:302 includes/elements/staff.php:361
 
8109
  msgid "Facebook Address"
8110
  msgstr ""
8111
 
@@ -8113,7 +8119,8 @@ msgstr ""
8113
  msgid "Google Plus Address"
8114
  msgstr ""
8115
 
8116
- #: includes/elementor/widgets/staff.php:334 includes/elements/staff.php:393
 
8117
  msgid "Flickr Address"
8118
  msgstr ""
8119
 
@@ -8121,7 +8128,8 @@ msgstr ""
8121
  msgid "Delicious Address"
8122
  msgstr ""
8123
 
8124
- #: includes/elementor/widgets/staff.php:366 includes/elements/staff.php:425
 
8125
  msgid "Pinterest Address"
8126
  msgstr ""
8127
 
@@ -8130,10 +8138,12 @@ msgid "GitHub Address"
8130
  msgstr ""
8131
 
8132
  #: includes/elementor/widgets/staff.php:398
 
8133
  msgid "Instagram Address"
8134
  msgstr ""
8135
 
8136
  #: includes/elementor/widgets/staff.php:414
 
8137
  msgid "Dribbble Address"
8138
  msgstr ""
8139
 
@@ -8156,7 +8166,17 @@ msgid "Subtitle"
8156
  msgstr ""
8157
 
8158
  #: includes/elementor/widgets/staff.php:699
8159
- #: includes/elements/socials-list.php:15 includes/elements/staff.php:325
 
 
 
 
 
 
 
 
 
 
8160
  #: includes/elements/staff.php:341 includes/elements/staff.php:357
8161
  #: includes/elements/staff.php:373 includes/elements/staff.php:389
8162
  #: includes/elements/staff.php:405 includes/elements/staff.php:421
@@ -10686,22 +10706,42 @@ msgid ""
10686
  "customizer."
10687
  msgstr ""
10688
 
10689
- #: includes/elements/socials-list.php:43
10690
  msgid "Socials title, leave it empty if you don`t need title."
10691
  msgstr ""
10692
 
10693
- #: includes/elements/socials-list.php:57
10694
  msgid "Size of social icons"
10695
  msgstr ""
10696
 
10697
- #: includes/elements/socials-list.php:66
10698
  msgid "Extra large"
10699
  msgstr ""
10700
 
10701
- #: includes/elements/socials-list.php:77
10702
  msgid "Directon of socials list"
10703
  msgstr ""
10704
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10705
  #: includes/elements/staff.php:16
10706
  msgid "Staff "
10707
  msgstr ""
@@ -10773,10 +10813,6 @@ msgstr ""
10773
  msgid "Inherit"
10774
  msgstr ""
10775
 
10776
- #: includes/elements/staff.php:345
10777
- msgid "Linkedin Address"
10778
- msgstr ""
10779
-
10780
  #: includes/elements/tab-widget.php:18 includes/elements/tabs.php:18
10781
  msgid "It adds tabs element."
10782
  msgstr ""
@@ -11895,35 +11931,35 @@ msgstr ""
11895
  msgid "No data received."
11896
  msgstr ""
11897
 
11898
- #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:179
11899
  msgid "Verification failed!"
11900
  msgstr ""
11901
 
11902
- #: public/includes/frontend-ajax.php:147
11903
  msgid "Your cart is currently empty."
11904
  msgstr ""
11905
 
11906
- #: public/includes/frontend-ajax.php:148
11907
  msgid "Item has been removed from your shopping cart."
11908
  msgstr ""
11909
 
11910
- #: public/includes/frontend-ajax.php:199
11911
  msgid "View cart"
11912
  msgstr ""
11913
 
11914
- #: public/includes/frontend-ajax.php:199
11915
  msgid "has been added to your cart."
11916
  msgstr ""
11917
 
11918
- #: public/includes/frontend-ajax.php:204
11919
  msgid "Sorry, this product cannot be purchased."
11920
  msgstr ""
11921
 
11922
- #: public/includes/frontend-ajax.php:260
11923
  msgid "From %s"
11924
  msgstr ""
11925
 
11926
- #: public/includes/frontend-ajax.php:261
11927
  msgid "Nothing found in %s"
11928
  msgstr ""
11929
 
1
  # Averta Copyright (c) {2021}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.7.11\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2021-04-17 10:02:01+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
1311
  #: includes/elementor/widgets/staff.php:787
1312
  #: includes/elementor/widgets/text.php:1036 includes/elements/button.php:66
1313
  #: includes/elements/divider.php:90 includes/elements/socials-list.php:63
1314
+ #: includes/elements/socials-list.php:201 includes/elements/staff.php:463
1315
+ #: includes/elements/text.php:469 includes/elements/text.php:677
1316
+ #: includes/general-hooks.php:689 includes/general-hooks.php:1094
1317
  msgid "Small"
1318
  msgstr ""
1319
 
1326
  #: includes/elementor/widgets/text.php:1035
1327
  #: includes/elements/before-after.php:104 includes/elements/button.php:65
1328
  #: includes/elements/divider.php:89 includes/elements/instagram-feed.php:98
1329
+ #: includes/elements/socials-list.php:64 includes/elements/socials-list.php:202
1330
+ #: includes/elements/staff.php:111 includes/elements/staff.php:464
1331
+ #: includes/elements/text.php:430 includes/elements/text.php:470
1332
+ #: includes/elements/text.php:676 includes/general-hooks.php:688
1333
+ #: includes/general-hooks.php:1093
1334
  msgid "Medium"
1335
  msgstr ""
1336
 
1342
  #: includes/elementor/widgets/text.php:1034
1343
  #: includes/elements/before-after.php:105 includes/elements/button.php:64
1344
  #: includes/elements/divider.php:88 includes/elements/socials-list.php:65
1345
+ #: includes/elements/socials-list.php:203 includes/elements/staff.php:110
1346
+ #: includes/elements/staff.php:465 includes/elements/text.php:429
1347
+ #: includes/elements/text.php:471 includes/elements/text.php:675
1348
+ #: includes/general-hooks.php:687 includes/general-hooks.php:1092
1349
  msgid "Large"
1350
  msgstr ""
1351
 
2555
  msgstr ""
2556
 
2557
  #: includes/classes/class-auxin-welcome.php:1288
2558
+ #: public/includes/frontend-ajax.php:173 public/includes/frontend-ajax.php:236
2559
  msgid "An Error Occurred!"
2560
  msgstr ""
2561
 
2821
  msgid "Select Audio"
2822
  msgstr ""
2823
 
2824
+ #: includes/elementor/class-auxin-elementor-core-elements.php:404
2825
  msgid "Element class \"%s\" not found."
2826
  msgstr ""
2827
 
2828
+ #: includes/elementor/class-auxin-elementor-core-elements.php:500
2829
  msgid "Module class \"%s\" not found."
2830
  msgstr ""
2831
 
2832
+ #: includes/elementor/class-auxin-elementor-core-elements.php:573
2833
  msgid "%s - General"
2834
  msgstr ""
2835
 
2836
+ #: includes/elementor/class-auxin-elementor-core-elements.php:581
2837
  msgid "%s - Featured"
2838
  msgstr ""
2839
 
2840
+ #: includes/elementor/class-auxin-elementor-core-elements.php:589
2841
  msgid "%s - Posts"
2842
  msgstr ""
2843
 
2844
+ #: includes/elementor/class-auxin-elementor-core-elements.php:597
2845
  msgid "%s - Portfolio"
2846
  msgstr ""
2847
 
2848
+ #: includes/elementor/class-auxin-elementor-core-elements.php:671
2849
+ #: includes/elementor/class-auxin-elementor-core-elements.php:695
2850
  #. translators: 1: Plugin name 2: PHP 3: Required PHP version
2851
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
2852
  msgstr ""
2853
 
2854
+ #: includes/elementor/class-auxin-elementor-core-elements.php:673
2855
  msgid "Elementor"
2856
  msgstr ""
2857
 
2858
+ #: includes/elementor/class-auxin-elementor-core-elements.php:697
2859
  #: includes/elements/code.php:82
2860
  msgid "PHP"
2861
  msgstr ""
2862
 
2863
+ #: includes/elementor/class-auxin-elementor-core-elements.php:754
2864
  msgid "Phlox Icons - Set 1"
2865
  msgstr ""
2866
 
2867
+ #: includes/elementor/class-auxin-elementor-core-elements.php:776
2868
  msgid "Phlox Icons - Set 2"
2869
  msgstr ""
2870
 
3528
  #: includes/elements/recent-products.php:131
3529
  #: includes/elements/sample-element.php:51
3530
  #: includes/elements/sample-element.php:65 includes/elements/search.php:41
3531
+ #: includes/elements/socials-list.php:42 includes/elements/socials-list.php:180
3532
+ #: includes/elements/tab-widget.php:43 includes/elements/tabs.php:43
3533
+ #: includes/elements/text.php:43 includes/elements/touch-slider.php:43
3534
+ #: includes/elements/video.php:38
3535
  msgid "Title"
3536
  msgstr ""
3537
 
5841
  #: includes/elementor/widgets/custom-list.php:386
5842
  #: includes/elementor/widgets/staff.php:770
5843
  #: includes/elementor/widgets/theme-elements/menu.php:161
5844
+ #: includes/elements/socials-list.php:84 includes/elements/socials-list.php:222
5845
+ #: includes/elements/staff.php:486
5846
  msgid "Vertical"
5847
  msgstr ""
5848
 
5849
  #: includes/elementor/widgets/custom-list.php:387
5850
  #: includes/elementor/widgets/staff.php:771
5851
  #: includes/elementor/widgets/theme-elements/menu.php:160
5852
+ #: includes/elements/socials-list.php:83 includes/elements/socials-list.php:221
5853
+ #: includes/elements/staff.php:487
5854
  msgid "Horizontal"
5855
  msgstr ""
5856
 
8105
  msgid "Enable Socials"
8106
  msgstr ""
8107
 
8108
+ #: includes/elementor/widgets/staff.php:286
8109
+ #: includes/elements/socials-list.php:233 includes/elements/staff.php:329
8110
  msgid "Twitter Address"
8111
  msgstr ""
8112
 
8113
+ #: includes/elementor/widgets/staff.php:302
8114
+ #: includes/elements/socials-list.php:257 includes/elements/staff.php:361
8115
  msgid "Facebook Address"
8116
  msgstr ""
8117
 
8119
  msgid "Google Plus Address"
8120
  msgstr ""
8121
 
8122
+ #: includes/elementor/widgets/staff.php:334
8123
+ #: includes/elements/socials-list.php:269 includes/elements/staff.php:393
8124
  msgid "Flickr Address"
8125
  msgstr ""
8126
 
8128
  msgid "Delicious Address"
8129
  msgstr ""
8130
 
8131
+ #: includes/elementor/widgets/staff.php:366
8132
+ #: includes/elements/socials-list.php:293 includes/elements/staff.php:425
8133
  msgid "Pinterest Address"
8134
  msgstr ""
8135
 
8138
  msgstr ""
8139
 
8140
  #: includes/elementor/widgets/staff.php:398
8141
+ #: includes/elements/socials-list.php:317
8142
  msgid "Instagram Address"
8143
  msgstr ""
8144
 
8145
  #: includes/elementor/widgets/staff.php:414
8146
+ #: includes/elements/socials-list.php:281
8147
  msgid "Dribbble Address"
8148
  msgstr ""
8149
 
8166
  msgstr ""
8167
 
8168
  #: includes/elementor/widgets/staff.php:699
8169
+ #: includes/elements/socials-list.php:15 includes/elements/socials-list.php:153
8170
+ #: includes/elements/socials-list.php:241
8171
+ #: includes/elements/socials-list.php:253
8172
+ #: includes/elements/socials-list.php:265
8173
+ #: includes/elements/socials-list.php:277
8174
+ #: includes/elements/socials-list.php:289
8175
+ #: includes/elements/socials-list.php:301
8176
+ #: includes/elements/socials-list.php:313
8177
+ #: includes/elements/socials-list.php:325
8178
+ #: includes/elements/socials-list.php:337
8179
+ #: includes/elements/socials-list.php:349 includes/elements/staff.php:325
8180
  #: includes/elements/staff.php:341 includes/elements/staff.php:357
8181
  #: includes/elements/staff.php:373 includes/elements/staff.php:389
8182
  #: includes/elements/staff.php:405 includes/elements/staff.php:421
10706
  "customizer."
10707
  msgstr ""
10708
 
10709
+ #: includes/elements/socials-list.php:43 includes/elements/socials-list.php:181
10710
  msgid "Socials title, leave it empty if you don`t need title."
10711
  msgstr ""
10712
 
10713
+ #: includes/elements/socials-list.php:57 includes/elements/socials-list.php:195
10714
  msgid "Size of social icons"
10715
  msgstr ""
10716
 
10717
+ #: includes/elements/socials-list.php:66 includes/elements/socials-list.php:204
10718
  msgid "Extra large"
10719
  msgstr ""
10720
 
10721
+ #: includes/elements/socials-list.php:77 includes/elements/socials-list.php:215
10722
  msgid "Directon of socials list"
10723
  msgstr ""
10724
 
10725
+ #: includes/elements/socials-list.php:156
10726
+ msgid "It shows the website socials icons."
10727
+ msgstr ""
10728
+
10729
+ #: includes/elements/socials-list.php:245 includes/elements/staff.php:345
10730
+ msgid "Linkedin Address"
10731
+ msgstr ""
10732
+
10733
+ #: includes/elements/socials-list.php:305
10734
+ msgid "Youtube Address"
10735
+ msgstr ""
10736
+
10737
+ #: includes/elements/socials-list.php:329
10738
+ msgid "Telegram Address"
10739
+ msgstr ""
10740
+
10741
+ #: includes/elements/socials-list.php:341
10742
+ msgid "VK Address"
10743
+ msgstr ""
10744
+
10745
  #: includes/elements/staff.php:16
10746
  msgid "Staff "
10747
  msgstr ""
10813
  msgid "Inherit"
10814
  msgstr ""
10815
 
 
 
 
 
10816
  #: includes/elements/tab-widget.php:18 includes/elements/tabs.php:18
10817
  msgid "It adds tabs element."
10818
  msgstr ""
11931
  msgid "No data received."
11932
  msgstr ""
11933
 
11934
+ #: public/includes/frontend-ajax.php:136 public/includes/frontend-ajax.php:198
11935
  msgid "Verification failed!"
11936
  msgstr ""
11937
 
11938
+ #: public/includes/frontend-ajax.php:166
11939
  msgid "Your cart is currently empty."
11940
  msgstr ""
11941
 
11942
+ #: public/includes/frontend-ajax.php:167
11943
  msgid "Item has been removed from your shopping cart."
11944
  msgstr ""
11945
 
11946
+ #: public/includes/frontend-ajax.php:225
11947
  msgid "View cart"
11948
  msgstr ""
11949
 
11950
+ #: public/includes/frontend-ajax.php:225
11951
  msgid "has been added to your cart."
11952
  msgstr ""
11953
 
11954
+ #: public/includes/frontend-ajax.php:230
11955
  msgid "Sorry, this product cannot be purchased."
11956
  msgstr ""
11957
 
11958
+ #: public/includes/frontend-ajax.php:315
11959
  msgid "From %s"
11960
  msgstr ""
11961
 
11962
+ #: public/includes/frontend-ajax.php:316
11963
  msgid "Nothing found in %s"
11964
  msgstr ""
11965
 
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.7.10 (2021-03)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.7.11 (2021-04)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
public/assets/js/scripts.js CHANGED
@@ -3,7 +3,8 @@
3
  // Remove cart content
4
  $(document).on( 'click', '.aux-remove-cart-content', function(e) {
5
  e.preventDefault();
6
-
 
7
  var product_id = $(this).data("product_id");
8
  var cart_item_key= $(this).data("cart_item_key");
9
  var verify_nonce = $(this).data("verify_nonce");
@@ -39,6 +40,8 @@
39
  $(this).find('.woocommerce-Price-amount').html(response.data.total);
40
  });
41
  $cartBoxEl.removeClass('aux-cart-remove-in-progress');
 
 
42
  } else {
43
  $('.aux-hidden-blocks').append( response.data );
44
  }
@@ -51,12 +54,16 @@
51
  var AuxinAjaxAddToCart = function() {
52
  // Add Content to Cart
53
  $(document).on( 'click', '.aux-ajax-add-to-cart', function(e) {
 
54
  var productType = $(this).data("product-type");
55
 
56
  if ( productType !== 'simple' ) {
57
  return;
58
  }
59
 
 
 
 
60
  if ( typeof auxin_cart_options === 'undefined' ) {
61
  auxin_cart_options = '';
62
  }
@@ -75,6 +82,21 @@
75
  quantity = $(this).parents('.aux-shop-quicklook-modal').find('.quantity input').val();
76
  }
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  $.ajax({
79
  type: 'POST',
80
  dataType: 'json',
@@ -99,15 +121,55 @@
99
  $cartBoxEl.find('.aux-card-dropdown').html( response.data.items );
100
  $cartBoxEl.find('.aux-shopping-basket').html( response.data.total );
101
  $cartBoxEl.trigger('AuxCartUpdated');
 
102
  // });
103
  } else {
104
  $cartBoxEl.find('.aux-card-dropdown').html( response.data.items );
105
  $cartBoxEl.find('.aux-shopping-basket').html( response.data.total );
106
  $cartBoxEl.trigger('AuxCartUpdated');
 
107
  }
108
  }, 150);
 
 
 
 
 
109
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
 
 
 
 
 
 
 
 
 
 
 
 
111
  } else {
112
  $('.aux-hidden-blocks').append( response.data );
113
  }
3
  // Remove cart content
4
  $(document).on( 'click', '.aux-remove-cart-content', function(e) {
5
  e.preventDefault();
6
+
7
+ var $thisbutton = $(this);
8
  var product_id = $(this).data("product_id");
9
  var cart_item_key= $(this).data("cart_item_key");
10
  var verify_nonce = $(this).data("verify_nonce");
40
  $(this).find('.woocommerce-Price-amount').html(response.data.total);
41
  });
42
  $cartBoxEl.removeClass('aux-cart-remove-in-progress');
43
+
44
+ $( document.body ).trigger( 'removed_from_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton, response.data.items ] );
45
  } else {
46
  $('.aux-hidden-blocks').append( response.data );
47
  }
54
  var AuxinAjaxAddToCart = function() {
55
  // Add Content to Cart
56
  $(document).on( 'click', '.aux-ajax-add-to-cart', function(e) {
57
+ var $thisbutton = $(this);
58
  var productType = $(this).data("product-type");
59
 
60
  if ( productType !== 'simple' ) {
61
  return;
62
  }
63
 
64
+ $thisbutton.removeClass( 'added' );
65
+ $thisbutton.addClass( 'loading' );
66
+
67
  if ( typeof auxin_cart_options === 'undefined' ) {
68
  auxin_cart_options = '';
69
  }
82
  quantity = $(this).parents('.aux-shop-quicklook-modal').find('.quantity input').val();
83
  }
84
 
85
+ var data = {};
86
+
87
+ $.each( $thisbutton.data(), function( key, value ) {
88
+ data[ key ] = value;
89
+ });
90
+
91
+ // Fetch data attributes in $thisbutton. Give preference to data-attributes because they can be directly modified by javascript
92
+ // while `.data` are jquery specific memory stores.
93
+ $.each( $thisbutton[0].dataset, function( key, value ) {
94
+ data[ key ] = value;
95
+ });
96
+
97
+ // Trigger event.
98
+ $( document.body ).trigger( 'adding_to_cart', [ $thisbutton, data ] );
99
+
100
  $.ajax({
101
  type: 'POST',
102
  dataType: 'json',
121
  $cartBoxEl.find('.aux-card-dropdown').html( response.data.items );
122
  $cartBoxEl.find('.aux-shopping-basket').html( response.data.total );
123
  $cartBoxEl.trigger('AuxCartUpdated');
124
+ $( document.body ).trigger( 'added_to_cart', [ response.data.fragments, response.data.cart_hash, $thisbutton ] );
125
  // });
126
  } else {
127
  $cartBoxEl.find('.aux-card-dropdown').html( response.data.items );
128
  $cartBoxEl.find('.aux-shopping-basket').html( response.data.total );
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 );
135
+ }
136
+
137
+ }
138
 
139
+ });
140
+
141
+ });
142
+
143
+ $(document.body).on( 'wc_fragments_refreshed', function(){
144
+
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',
151
+ url: auxin.ajax_url,
152
+ data: {
153
+ action : "auxels_get_refreshed_fragments",
154
+ args : auxin_cart_options,
155
+ },
156
+ success: function( response ){
157
+ // Remove old notification
158
+ $(".woocommerce-message, .woocommerce-error").remove();
159
+ // Start Notifications
160
+ if( response.success ) {
161
 
162
+ setTimeout( function(){
163
+ if ( hasAnimation ) {
164
+ $cartBoxEl.find('.aux-card-dropdown').html( response.data.items );
165
+ $cartBoxEl.find('.aux-shopping-basket').html( response.data.total );
166
+ $cartBoxEl.trigger('AuxCartUpdated');
167
+ } else {
168
+ $cartBoxEl.find('.aux-card-dropdown').html( response.data.items );
169
+ $cartBoxEl.find('.aux-shopping-basket').html( response.data.total );
170
+ $cartBoxEl.trigger('AuxCartUpdated');
171
+ }
172
+ }, 150);
173
  } else {
174
  $('.aux-hidden-blocks').append( response.data );
175
  }
public/includes/frontend-ajax.php CHANGED
@@ -130,7 +130,7 @@ function auxels_remove_product_from_cart() {
130
 
131
  $nonce = $_POST['verify_nonce'];
132
  $id = $_POST['product_id'];
133
- $cart_item_key = $_POST['cart_item_key'];
134
 
135
  if( ! isset( $_POST['product_id'] ) || ! wp_verify_nonce( $nonce, 'remove_cart-' . $id ) ){
136
  wp_send_json_error( sprintf( '<div class="aux-woocommerce-ajax-notification woocommerce-error">%s</div>', __('Verification failed!', 'auxin-elements') ) );
@@ -140,8 +140,27 @@ function auxels_remove_product_from_cart() {
140
  $cart->remove_cart_item( $cart_item_key );
141
 
142
  $cart->calculate_totals();
 
 
 
 
 
 
 
 
 
 
 
143
 
144
  $response = array(
 
 
 
 
 
 
 
 
145
  'total' => $woocommerce->cart->get_cart_subtotal(),
146
  'count' => $cart->cart_contents_count,
147
  'empty' => sprintf( '<div class="aux-card-box">%s</div>', __( 'Your cart is currently empty.', 'auxin-elements' ) ),
@@ -194,6 +213,13 @@ function auxels_add_product_to_cart() {
194
  $total = auxin_get_cart_basket( $args, $count );
195
 
196
  $data = array(
 
 
 
 
 
 
 
197
  'items' => $items,
198
  'total' => $total,
199
  'notif' => sprintf( '<div class="aux-woocommerce-ajax-notification woocommerce-message"><a href="%s" class="button wc-forward">%s</a> "%s" %s</div>', esc_url( wc_get_cart_url() ) , __( 'View cart', 'auxin-elements' ), get_the_title( $product_id ) , __('has been added to your cart.', 'auxin-elements') )
@@ -214,7 +240,36 @@ function auxels_add_product_to_cart() {
214
  add_action( 'wp_ajax_auxels_add_to_cart', 'auxels_add_product_to_cart' );
215
  add_action( 'wp_ajax_nopriv_auxels_add_to_cart', 'auxels_add_product_to_cart' );
216
 
217
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
 
219
  /**
220
  * Ajax Search Handler
130
 
131
  $nonce = $_POST['verify_nonce'];
132
  $id = $_POST['product_id'];
133
+ $cart_item_key = $_POST['cart_item_key'];
134
 
135
  if( ! isset( $_POST['product_id'] ) || ! wp_verify_nonce( $nonce, 'remove_cart-' . $id ) ){
136
  wp_send_json_error( sprintf( '<div class="aux-woocommerce-ajax-notification woocommerce-error">%s</div>', __('Verification failed!', 'auxin-elements') ) );
140
  $cart->remove_cart_item( $cart_item_key );
141
 
142
  $cart->calculate_totals();
143
+
144
+ $args = isset( $_POST['args'] ) ? $_POST['args'] : array(
145
+ 'title' => '',
146
+ 'css_class' => '',
147
+ 'dropdown_class' => '',
148
+ 'color_class' => 'aux-black',
149
+ 'action_on' => 'click',
150
+ 'cart_url' => '#',
151
+ 'dropdown_skin' => '',
152
+ );
153
+ $items = auxin_get_cart_items( $args );
154
 
155
  $response = array(
156
+ 'fragments' => apply_filters(
157
+ 'woocommerce_add_to_cart_fragments',
158
+ array(
159
+ '.aux-cart-wrapper .aux-card-dropdown' => '<div class="aux-card-dropdown aux-phone-off">' . $items . '</div>' ,
160
+ )
161
+ ),
162
+ 'cart_hash' => WC()->cart->get_cart_hash(),
163
+ 'items' => $items,
164
  'total' => $woocommerce->cart->get_cart_subtotal(),
165
  'count' => $cart->cart_contents_count,
166
  'empty' => sprintf( '<div class="aux-card-box">%s</div>', __( 'Your cart is currently empty.', 'auxin-elements' ) ),
213
  $total = auxin_get_cart_basket( $args, $count );
214
 
215
  $data = array(
216
+ 'fragments' => apply_filters(
217
+ 'woocommerce_add_to_cart_fragments',
218
+ array(
219
+ '.aux-cart-wrapper .aux-card-dropdown' => '<div class="aux-card-dropdown aux-phone-off">' . $items . '</div>' ,
220
+ )
221
+ ),
222
+ 'cart_hash' => WC()->cart->get_cart_hash(),
223
  'items' => $items,
224
  'total' => $total,
225
  'notif' => sprintf( '<div class="aux-woocommerce-ajax-notification woocommerce-message"><a href="%s" class="button wc-forward">%s</a> "%s" %s</div>', esc_url( wc_get_cart_url() ) , __( 'View cart', 'auxin-elements' ), get_the_title( $product_id ) , __('has been added to your cart.', 'auxin-elements') )
240
  add_action( 'wp_ajax_auxels_add_to_cart', 'auxels_add_product_to_cart' );
241
  add_action( 'wp_ajax_nopriv_auxels_add_to_cart', 'auxels_add_product_to_cart' );
242
 
243
+ /**
244
+ * Get refreshed cart fragments
245
+ */
246
+ function auxels_get_refreshed_fragments() {
247
+ global $woocommerce;
248
+
249
+ $args = isset( $_POST['args'] ) ? $_POST['args'] : array(
250
+ 'title' => '',
251
+ 'css_class' => '',
252
+ 'dropdown_class' => '',
253
+ 'color_class' => 'aux-black',
254
+ 'action_on' => 'click',
255
+ 'cart_url' => '#',
256
+ 'dropdown_skin' => '',
257
+ );
258
+ $items = auxin_get_cart_items( $args );
259
+ $count = $woocommerce->cart->cart_contents_count;
260
+ $total = auxin_get_cart_basket( $args, $count );
261
+
262
+ $data = array(
263
+ 'cart_hash' => WC()->cart->get_cart_hash(),
264
+ 'items' => $items,
265
+ 'total' => $total,
266
+ );
267
+
268
+ // Send json success
269
+ wp_send_json_success( $data );
270
+ }
271
+ add_action( 'wp_ajax_auxels_get_refreshed_fragments', 'auxels_get_refreshed_fragments' );
272
+ add_action( 'wp_ajax_nopriv_auxels_get_refreshed_fragments', 'auxels_get_refreshed_fragments' );
273
 
274
  /**
275
  * Ajax Search Handler