Shortcodes and extra features for Phlox theme - Version 2.9.5

Version Description

Download this release

Release Info

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

Code changes from version 2.9.4 to 2.9.5

Files changed (91) hide show
  1. README.txt +9 -4
  2. admin/assets/js/elementor/context-menu.js +87 -0
  3. admin/assets/js/plugins.js +1 -1
  4. admin/includes/classes/class-auxels-system-check.php +1 -2
  5. admin/includes/classes/class-auxin-upgrader-prepare.php +44 -0
  6. auxin-elements.php +2 -2
  7. includes/classes/class-auxin-demo-importer.php +98 -4
  8. includes/classes/class-auxin-welcome.php +1 -0
  9. includes/define.php +1 -1
  10. includes/elementor/class-auxin-elementor-core-elements.php +19 -0
  11. includes/elementor/modules/documents/footer.php +2 -2
  12. includes/elementor/modules/documents/header.php +2 -2
  13. includes/elementor/modules/dynamic-tags/archive-meta.php +1 -1
  14. includes/elementor/modules/dynamic-tags/archive-title.php +1 -1
  15. includes/elementor/modules/dynamic-tags/archive-url.php +1 -1
  16. includes/elementor/modules/dynamic-tags/author-info.php +1 -1
  17. includes/elementor/modules/dynamic-tags/author-meta.php +1 -1
  18. includes/elementor/modules/dynamic-tags/author-url.php +1 -1
  19. includes/elementor/modules/dynamic-tags/comments-number.php +1 -1
  20. includes/elementor/modules/dynamic-tags/contact-url.php +1 -1
  21. includes/elementor/modules/dynamic-tags/current-date-time.php +1 -1
  22. includes/elementor/modules/dynamic-tags/featured-colors.php +1 -1
  23. includes/elementor/modules/dynamic-tags/featured-image-data.php +1 -1
  24. includes/elementor/modules/dynamic-tags/login-url.php +1 -1
  25. includes/elementor/modules/dynamic-tags/page-title.php +1 -1
  26. includes/elementor/modules/dynamic-tags/pages-url.php +1 -1
  27. includes/elementor/modules/dynamic-tags/post-custom-field.php +1 -1
  28. includes/elementor/modules/dynamic-tags/post-date.php +1 -1
  29. includes/elementor/modules/dynamic-tags/post-featured-image.php +1 -1
  30. includes/elementor/modules/dynamic-tags/post-terms.php +1 -1
  31. includes/elementor/modules/dynamic-tags/post-time.php +1 -1
  32. includes/elementor/modules/dynamic-tags/posts-url.php +1 -1
  33. includes/elementor/modules/dynamic-tags/request-parameter.php +1 -1
  34. includes/elementor/modules/dynamic-tags/shortcode.php +1 -1
  35. includes/elementor/modules/dynamic-tags/taxonomies-url.php +1 -1
  36. includes/elementor/modules/dynamic-tags/user-info.php +1 -1
  37. includes/elementor/modules/theme-builder/theme-page-document.php +2 -2
  38. includes/elementor/widgets/accordion.php +1 -1
  39. includes/elementor/widgets/audio.php +1 -1
  40. includes/elementor/widgets/before-after.php +1 -1
  41. includes/elementor/widgets/button.php +1 -1
  42. includes/elementor/widgets/carousel-navigation.php +1 -1
  43. includes/elementor/widgets/contact-box.php +1 -1
  44. includes/elementor/widgets/contact-form.php +1 -1
  45. includes/elementor/widgets/custom-list.php +1 -1
  46. includes/elementor/widgets/divider.php +1 -1
  47. includes/elementor/widgets/gallery.php +1 -1
  48. includes/elementor/widgets/gmap.php +1 -1
  49. includes/elementor/widgets/heading-modern.php +1 -1
  50. includes/elementor/widgets/icon.php +1 -1
  51. includes/elementor/widgets/image.php +1 -1
  52. includes/elementor/widgets/mailchimp.php +1 -1
  53. includes/elementor/widgets/modern-button.php +15 -1
  54. includes/elementor/widgets/products-grid.php +1 -1
  55. includes/elementor/widgets/quote.php +1 -1
  56. includes/elementor/widgets/recent-comments.php +1 -1
  57. includes/elementor/widgets/recent-posts-grid-carousel.php +15 -1
  58. includes/elementor/widgets/recent-posts-land-style.php +16 -1
  59. includes/elementor/widgets/recent-posts-masonry.php +15 -1
  60. includes/elementor/widgets/recent-posts-tiles-carousel.php +1 -1
  61. includes/elementor/widgets/recent-posts-tiles.php +1 -1
  62. includes/elementor/widgets/recent-posts-timeline.php +1 -1
  63. includes/elementor/widgets/recent-products.php +15 -30
  64. includes/elementor/widgets/responsive-table.php +1 -1
  65. includes/elementor/widgets/search.php +1 -1
  66. includes/elementor/widgets/staff.php +1 -1
  67. includes/elementor/widgets/svg.php +1 -1
  68. includes/elementor/widgets/tabs.php +1 -1
  69. includes/elementor/widgets/testimonial.php +1 -1
  70. includes/elementor/widgets/text.php +2 -2
  71. includes/elementor/widgets/theme-elements/breadcrumbs.php +1 -1
  72. includes/elementor/widgets/theme-elements/copyright.php +1 -1
  73. includes/elementor/widgets/theme-elements/current-time.php +1 -1
  74. includes/elementor/widgets/theme-elements/logo.php +1 -1
  75. includes/elementor/widgets/theme-elements/menu.php +1 -1
  76. includes/elementor/widgets/theme-elements/modern-search.php +1 -1
  77. includes/elementor/widgets/theme-elements/search.php +1 -1
  78. includes/elementor/widgets/theme-elements/select.php +826 -0
  79. includes/elementor/widgets/theme-elements/shopping-cart.php +1 -1
  80. includes/elementor/widgets/theme-elements/site-title.php +1 -1
  81. includes/elementor/widgets/touch-slider.php +1 -1
  82. includes/elementor/widgets/video.php +1 -1
  83. includes/elements/recent-posts-grid-carousel.php +1 -0
  84. includes/elements/recent-posts-land-style.php +1 -0
  85. includes/elements/recent-posts-masonry.php +1 -0
  86. includes/elements/recent-products.php +56 -3
  87. includes/general-functions.php +2 -1
  88. languages/auxin-elements-fa_IR.po +848 -680
  89. languages/auxin-elements.pot +831 -675
  90. public/assets/js/plugins.js +1 -1
  91. public/assets/js/scripts.js +69 -0
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.8.2
10
- Stable tag: 2.9.4
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
@@ -155,6 +155,10 @@ Bugs can be reported in our [support forums](https://docs.phlox.pro).
155
 
156
  == Changelog ==
157
 
 
 
 
 
158
  = Version 2.9.4 / (23.01.2022) =
159
  - [Fix]: An issue while creating a translation with Polylang plugin fixed.
160
 
@@ -452,5 +456,6 @@ Bugs can be reported in our [support forums](https://docs.phlox.pro).
452
 
453
  == Upgrade Notice ==
454
 
455
- = 2.8.0 =
456
- - [New]: Integrating "Ti Wishlist plugin" for better wishlist features in shops.
 
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.9.3
10
+ Stable tag: 2.9.5
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl.html
13
 
155
 
156
  == Changelog ==
157
 
158
+ = Version 2.9.5 / (24.04.2022) =
159
+ - [New]: Copy animation button added to Elementor context menu to copy and paste animations across elements.
160
+ - [Fix]: Deprecated notices of new version of Elementor fixed.
161
+
162
  = Version 2.9.4 / (23.01.2022) =
163
  - [Fix]: An issue while creating a translation with Polylang plugin fixed.
164
 
456
 
457
  == Upgrade Notice ==
458
 
459
+ = 2.9.5 =
460
+ - [New]: Copy animation button added to Elementor context menu to copy and paste animations across elements.
461
+ - [Fix]: Deprecated notices of new version of Elementor fixed.
admin/assets/js/elementor/context-menu.js ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (() => {
2
+ window.addEventListener("elementor/init", () => {
3
+ // for adding items to widget context menu use this below line
4
+ elementor.hooks.addFilter(
5
+ "elements/widget/contextMenuGroups",
6
+ (groups, view) => {
7
+
8
+ // Insert Entrance Animation group as third third group
9
+ groups.splice(2, 0, {
10
+ name: "entranceAnimationGroup",
11
+ actions: [
12
+ {
13
+ name: "copyEntranceAnimation",
14
+ title: "Copy Entrance Animation",
15
+ callback: () => {
16
+ const exportedSettings = {};
17
+
18
+ [
19
+ "aux_animation_name",
20
+ "aux_fade_in_custom_x",
21
+ "aux_fade_in_custom_y",
22
+ "aux_scale_custom",
23
+ "aux_rotate_custom_deg",
24
+ "aux_rotate_custom_origin",
25
+ "aux_animation_duration",
26
+ "aux_animation_delay",
27
+ "aux_animation_easing",
28
+ "aux_animation_count",
29
+ ].forEach((id) => {
30
+ exportedSettings[id] =
31
+ view.model.getSetting(id);
32
+ });
33
+
34
+ localStorage.setItem(
35
+ "auxElementorEntranceAnimationSettings",
36
+ JSON.stringify(exportedSettings)
37
+ );
38
+ },
39
+ },
40
+ {
41
+ name: "pasteEntranceAnimation",
42
+ title: "Paste Entrance Animation",
43
+ isEnabled: () =>
44
+ !!localStorage.getItem(
45
+ "auxElementorEntranceAnimationSettings"
46
+ ),
47
+ callback: () => {
48
+ const settings = JSON.parse(
49
+ localStorage.getItem(
50
+ "auxElementorEntranceAnimationSettings"
51
+ )
52
+ );
53
+
54
+ Object.keys(settings).forEach((setting) => {
55
+ view.model.setSetting(
56
+ setting,
57
+ settings[setting]
58
+ );
59
+ });
60
+
61
+ view.model.renderRemoteServer();
62
+ },
63
+ },
64
+ ],
65
+ });
66
+
67
+ return groups;
68
+ }
69
+ );
70
+
71
+ // for adding items to section context menu use this below line
72
+ elementor.hooks.addFilter(
73
+ "elements/section/contextMenuGroups",
74
+ (groups, view) => {
75
+ return groups;
76
+ }
77
+ );
78
+
79
+ // for adding items to column context menu use this below line
80
+ elementor.hooks.addFilter(
81
+ "elements/column/contextMenuGroups",
82
+ (groups, view) => {
83
+ return groups;
84
+ }
85
+ );
86
+ });
87
+ })();
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.9.4 (2022-01)
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.9.5 (2022-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!
admin/includes/classes/class-auxels-system-check.php CHANGED
@@ -119,8 +119,7 @@ class Auxels_System_Check {
119
 
120
  $class = 'error';
121
  $screen_reader = __( 'Error', 'auxin-elements' );
122
- $message = __( 'Your site cannot communicate securely with Phlox update services. <a href="https://docs.phlox.pro/article/206-error-activating-license" target="_blank">How to fix?</a>
123
- ', 'auxin-elements' );
124
  $message = "<span class='dashicons $class'><span class='screen-reader-text'>$screen_reader</span></span> $message";
125
 
126
  $output = '<ul>';
119
 
120
  $class = 'error';
121
  $screen_reader = __( 'Error', 'auxin-elements' );
122
+ $message = __( 'Your site cannot communicate securely with Phlox update services. <a href="https://docs.phlox.pro/article/240-managing-license#activate-license" target="_blank">How to fix?</a>', 'auxin-elements' );
 
123
  $message = "<span class='dashicons $class'><span class='screen-reader-text'>$screen_reader</span></span> $message";
124
 
125
  $output = '<ul>';
admin/includes/classes/class-auxin-upgrader-prepare.php CHANGED
@@ -17,6 +17,7 @@ class Auxin_Upgrader_Prepare {
17
  function __construct(){
18
  add_filter( 'site_transient_update_plugins', array( $this, 'disable_update_plugins' ) );
19
  add_filter( 'site_transient_update_themes', array( $this, 'disable_update_themes' ) );
 
20
 
21
  add_action( 'load-plugins.php', array( $this, 'update_plugins' ) );
22
  add_action( 'load-update.php', array( $this, 'update_plugins' ) );
@@ -458,5 +459,48 @@ class Auxin_Upgrader_Prepare {
458
  return self::$instance;
459
  }
460
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
461
 
462
  }
17
  function __construct(){
18
  add_filter( 'site_transient_update_plugins', array( $this, 'disable_update_plugins' ) );
19
  add_filter( 'site_transient_update_themes', array( $this, 'disable_update_themes' ) );
20
+ add_filter ( 'pre_set_site_transient_update_themes', [ $this, 'pre_set_transient_update_theme' ] );
21
 
22
  add_action( 'load-plugins.php', array( $this, 'update_plugins' ) );
23
  add_action( 'load-update.php', array( $this, 'update_plugins' ) );
459
  return self::$instance;
460
  }
461
 
462
+ /**
463
+ * Upgrade theme through wordpress built in upgrader system
464
+ *
465
+ * @param object $transient
466
+ * @return object $transient
467
+ */
468
+ function pre_set_transient_update_theme( $transient ) {
469
+
470
+ if( empty( $transient->checked ) ) {
471
+ return $transient;
472
+ }
473
+
474
+ $get_themes = $this->get_themes();
475
+ $api_request = new Auxin_Upgrader_Http_Api;
476
+ foreach ( $get_themes as $slug => $data ) {
477
+
478
+ if( !$data->isOfficial ) {
479
+
480
+ // Get version number of our api
481
+ $new_version = $this->remote_get( array(
482
+ 'cat' => 'version-check',
483
+ 'action' => 'final',
484
+ 'item-name' => sanitize_key( $slug )
485
+ ) );
486
+
487
+ if( ! empty( $new_version ) && version_compare( $new_version, $data->get( 'Version' ), '>' ) ){
488
+ $downlaod_link = $api_request->get_download_link( $slug );
489
+ if( is_wp_error( $downlaod_link ) ){
490
+ continue;
491
+ }
492
+ $transient->response[ $data->get_stylesheet() ] = array(
493
+ 'slug' => esc_sql($slug),
494
+ 'version' => $data->get( 'Version' ),
495
+ 'new_version' => esc_sql($new_version),
496
+ 'package' => $downlaod_link
497
+ );
498
+ }
499
+ }
500
+
501
+ }
502
+
503
+ return $transient;
504
+ }
505
 
506
  }
auxin-elements.php CHANGED
@@ -12,14 +12,14 @@
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.9.4
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
- * Tested up to: 5.8.2
23
  */
24
 
25
  // If this file is called directly, abort.
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.9.5
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
19
  * License: GPL2
20
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
21
  * Domain Path: /languages
22
+ * Tested up to: 5.9.3
23
  */
24
 
25
  // If this file is called directly, abort.
includes/classes/class-auxin-demo-importer.php CHANGED
@@ -54,6 +54,7 @@ class Auxin_Demo_Importer {
54
  add_action( 'wp_ajax_auxin_demo_data' , array( $this, 'import') );
55
  add_action( 'wp_ajax_auxin_templates_data' , array( $this, 'templates') );
56
  add_action( 'wp_ajax_import_step' , array( $this, 'import_step') );
 
57
  }
58
 
59
  public function templates(){
@@ -359,8 +360,13 @@ class Auxin_Demo_Importer {
359
  case 'masterslider':
360
  if ( 'complete' === $options['import']
361
  || ( 'custom' === $options['import'] && ( isset( $options['masterslider'] ) && 'on' === $options['masterslider'] ) )
362
- && isset( $data['sliders'] ) ) {
363
- return $this->import_sliders( $data['sliders'] );
 
 
 
 
 
364
  }
365
 
366
  case 'prepare':
@@ -777,6 +783,7 @@ class Auxin_Demo_Importer {
777
  // Update the custom_css post for a given theme.
778
  if( $post['post_type'] == 'custom_css' ) {
779
  if( ! isset( $post['post_meta']['auxin_import_post'] ) ){
 
780
  wp_update_custom_css_post( $content );
781
  }
782
  continue;
@@ -1037,6 +1044,29 @@ class Auxin_Demo_Importer {
1037
  //wp_send_json_success( array( 'step' => 'content', 'next' => 'auxin_options', 'message' => __( 'Importing Options' ) ) );
1038
  }
1039
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1040
  public function update_imported_ids() {
1041
 
1042
  $args = array(
@@ -1312,9 +1342,9 @@ class Auxin_Demo_Importer {
1312
  *
1313
  * @return String
1314
  */
1315
- public function import_sliders( $sliders ) {
1316
 
1317
- if ( class_exists( 'MSP_DB' ) && ! empty( $sliders ) ) {
1318
 
1319
  $ms_db = new MSP_DB;
1320
 
@@ -1334,10 +1364,44 @@ class Auxin_Demo_Importer {
1334
 
1335
  }
1336
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1337
  wp_send_json_success( array( 'step' => 'masterslider', 'next' => 'prepare', 'message' => __( 'Preparing Site ...', 'auxin-elements' ) ) );
1338
 
1339
  }
1340
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1341
  /**
1342
  * Prepare site for final step
1343
  *
@@ -2062,6 +2126,36 @@ class Auxin_Demo_Importer {
2062
 
2063
  }
2064
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2065
 
2066
 
2067
  }//End class
54
  add_action( 'wp_ajax_auxin_demo_data' , array( $this, 'import') );
55
  add_action( 'wp_ajax_auxin_templates_data' , array( $this, 'templates') );
56
  add_action( 'wp_ajax_import_step' , array( $this, 'import_step') );
57
+ add_action( 'auxin_demo_import_finish', array( $this, 'search_for_depicter_use') );
58
  }
59
 
60
  public function templates(){
360
  case 'masterslider':
361
  if ( 'complete' === $options['import']
362
  || ( 'custom' === $options['import'] && ( isset( $options['masterslider'] ) && 'on' === $options['masterslider'] ) )
363
+ && ( isset( $data['sliders'] ) || isset( $data['depicter_sliders'] ) ) ) {
364
+ if ( !empty( $data['depicter_sliders'] ) ) {
365
+ return $this->import_sliders( $data['depicter_sliders'], true );
366
+ } else {
367
+ return $this->import_sliders( $data['sliders'] );
368
+ }
369
+
370
  }
371
 
372
  case 'prepare':
783
  // Update the custom_css post for a given theme.
784
  if( $post['post_type'] == 'custom_css' ) {
785
  if( ! isset( $post['post_meta']['auxin_import_post'] ) ){
786
+ $content = $this->update_custom_css_content( $content );
787
  wp_update_custom_css_post( $content );
788
  }
789
  continue;
1044
  //wp_send_json_success( array( 'step' => 'content', 'next' => 'auxin_options', 'message' => __( 'Importing Options' ) ) );
1045
  }
1046
 
1047
+ /**
1048
+ * Update Custom css
1049
+ *
1050
+ * @param string $custom_css
1051
+ *
1052
+ * @return string
1053
+ */
1054
+ public function update_custom_css_content( $custom_css ) {
1055
+ preg_match_all( '#[\w\/\-\.\:]+?([\w\-]+?)\/wp-content#', $custom_css, $matches, PREG_SET_ORDER );
1056
+ if ( ! empty( $matches ) ) {
1057
+ $site_url = trailingslashit( get_site_url() );
1058
+ foreach( $matches as $key => $match ) {
1059
+ if ( !empty( $match[1] ) ) {
1060
+ $new_url = str_replace( '/' . $match[1], '', $match[0] );
1061
+ $new_url = str_replace( "https://demo.phlox.pro/", $site_url, $new_url );
1062
+ $custom_css = str_replace( $match[0], $new_url, $custom_css );
1063
+ }
1064
+ }
1065
+ $custom_css = preg_replace( "#sites\/\d*\/#", '', $custom_css );
1066
+ }
1067
+ return $custom_css;
1068
+ }
1069
+
1070
  public function update_imported_ids() {
1071
 
1072
  $args = array(
1342
  *
1343
  * @return String
1344
  */
1345
+ public function import_sliders( $sliders, $is_depicter = false ) {
1346
 
1347
+ if ( class_exists( 'MSP_DB' ) && ! empty( $sliders ) && !$is_depicter ) {
1348
 
1349
  $ms_db = new MSP_DB;
1350
 
1364
 
1365
  }
1366
 
1367
+ if ( class_exists( 'Depicter' ) && ! empty( $sliders ) && $is_depicter ) {
1368
+ foreach ( $sliders as $slider ) {
1369
+ $document = Depicter::documentRepository()->create();
1370
+ set_transient( 'auxin_depicter_' . $slider['id'] . '_to', $document->getID() );
1371
+ unset( $slider['id'] );
1372
+
1373
+ $slider['content'] = $this->update_slider_assets_id( $slider['content'] );
1374
+
1375
+ // Download media
1376
+ Depicter::media()->importDocumentAssets( $slider['content'] );
1377
+ Depicter::documentRepository()->update( $document->getID(), $slider );
1378
+ }
1379
+ }
1380
+
1381
  wp_send_json_success( array( 'step' => 'masterslider', 'next' => 'prepare', 'message' => __( 'Preparing Site ...', 'auxin-elements' ) ) );
1382
 
1383
  }
1384
 
1385
+ /**
1386
+ * Update id of imported assets
1387
+ *
1388
+ * @param string $data
1389
+ *
1390
+ * @return string $data
1391
+ */
1392
+ public function update_slider_assets_id( $data ) {
1393
+ preg_match_all( '/\"source\":\"(\d+)\"/', $data, $assets, PREG_SET_ORDER );
1394
+ if ( !empty( $assets ) ) {
1395
+ foreach( $assets as $asset ) {
1396
+ if ( !empty( $asset[1] ) ) {
1397
+ $new_id = $this->get_attachment_id( 'auxin_import_id', $asset[1] );
1398
+ $data = str_replace( $asset[0], '"source":"'. $new_id .'"', $data );
1399
+ }
1400
+ }
1401
+ }
1402
+ return $data;
1403
+ }
1404
+
1405
  /**
1406
  * Prepare site for final step
1407
  *
2126
 
2127
  }
2128
 
2129
+ /**
2130
+ * Search for depicter widget in pages and update its imported ID
2131
+ */
2132
+ public function search_for_depicter_use() {
2133
+ if ( !class_exists('Depicter') ) {
2134
+ return;
2135
+ }
2136
+
2137
+ $pages = get_pages();
2138
+ foreach ( $pages as $page ) {
2139
+ $elementor_data = get_post_meta( $page->ID, '_elementor_data', true );
2140
+ if ( empty( $elementor_data ) ) {
2141
+ continue;
2142
+ }
2143
+
2144
+ $elementor_data = is_array( $elementor_data ) ? wp_json_encode( $elementor_data ) : $elementor_data;
2145
+ preg_match_all( '/\{\"slider_id\":\"(\d+)\"\}/', $elementor_data, $shortcodes, PREG_SET_ORDER );
2146
+ if ( !empty( $shortcodes ) ) {
2147
+ foreach ( $shortcodes as $shortcode ) {
2148
+ if ( !empty( $shortcode[1] ) ) {
2149
+ $imported_slider_id = get_transient( 'auxin_depicter_' . $shortcode[1] . '_to', $shortcode[1] );
2150
+ $elementor_data = str_replace( $shortcode[0], '{"slider_id":"'.$imported_slider_id.'"}', $elementor_data );
2151
+ }
2152
+ }
2153
+ $elementor_data = wp_slash( $elementor_data );
2154
+ update_post_meta( $page->ID, '_elementor_data', $elementor_data );
2155
+ }
2156
+ }
2157
+ }
2158
+
2159
 
2160
 
2161
  }//End class
includes/classes/class-auxin-welcome.php CHANGED
@@ -373,6 +373,7 @@ class Auxin_Welcome extends Auxin_Welcome_Base {
373
  'js_composer' => 'Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.',
374
  'Ultimate_VC_Addons' => 'Includes Visual Composer premium addon elements like Icon, Info Box, Interactive Banner, Flip Box, Info List & Counter. Best of all - provides A Font Icon Manager allowing users to upload / delete custom icon fonts.',
375
  'masterslider' => 'Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.',
 
376
  'go_pricing' => 'The New Generation Pricing Tables. If you like traditional Pricing Tables, but you would like get much more out of it, then this rodded product is a useful tool for you.',
377
  'waspthemes-yellow-pencil' => 'The most advanced visual CSS editor. Customize any page in real-time without coding.',
378
  'auxin-the-news' => 'Publish news easily and beautifully with Phlox theme.',
373
  'js_composer' => 'Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.',
374
  'Ultimate_VC_Addons' => 'Includes Visual Composer premium addon elements like Icon, Info Box, Interactive Banner, Flip Box, Info List & Counter. Best of all - provides A Font Icon Manager allowing users to upload / delete custom icon fonts.',
375
  'masterslider' => 'Master Slider is the most advanced responsive HTML5 WordPress slider plugin with touch swipe navigation that works smoothly on devices too.',
376
+ 'depicter' => 'Make animated and interactive sliders and carousels which work smoothly across devices.',
377
  'go_pricing' => 'The New Generation Pricing Tables. If you like traditional Pricing Tables, but you would like get much more out of it, then this rodded product is a useful tool for you.',
378
  'waspthemes-yellow-pencil' => 'The most advanced visual CSS editor. Customize any page in real-time without coding.',
379
  'auxin-the-news' => 'Publish news easily and beautifully with Phlox theme.',
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.9.4' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.9.5' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/class-auxin-elementor-core-elements.php CHANGED
@@ -195,6 +195,8 @@ final class Elements {
195
 
196
  // Register Admin Scripts
197
  add_action( 'elementor/editor/before_enqueue_scripts' , [ $this, 'editor_scripts' ] );
 
 
198
 
199
  // Register additional font icons
200
  add_filter('elementor/icons_manager/additional_tabs' , [ $this, 'add_auxin_font_icons' ] );
@@ -392,6 +394,10 @@ final class Elements {
392
  '255' => [
393
  'file' => $this->dir_path . '/widgets/responsive-table.php',
394
  'class' => 'Elements\ResponsiveTable'
 
 
 
 
395
  ]
396
  ];
397
 
@@ -669,6 +675,19 @@ final class Elements {
669
  wp_register_script( 'auxin-elementor-editor', AUXELS_ADMIN_URL . '/assets/js/elementor/editor.js', array( 'jquery-elementor-select2' ), AUXELS_VERSION );
670
  }
671
 
 
 
 
 
 
 
 
 
 
 
 
 
 
672
  /**
673
  * Admin notice
674
  *
195
 
196
  // Register Admin Scripts
197
  add_action( 'elementor/editor/before_enqueue_scripts' , [ $this, 'editor_scripts' ] );
198
+ add_action( 'elementor/editor/after_enqueue_scripts' , [ $this, 'editor_after_enqueue_scripts' ] );
199
+
200
 
201
  // Register additional font icons
202
  add_filter('elementor/icons_manager/additional_tabs' , [ $this, 'add_auxin_font_icons' ] );
394
  '255' => [
395
  'file' => $this->dir_path . '/widgets/responsive-table.php',
396
  'class' => 'Elements\ResponsiveTable'
397
+ ],
398
+ '260' => [
399
+ 'file' => $this->dir_path . '/widgets/theme-elements/select.php',
400
+ 'class' => 'Elements\Theme_Elements\Select'
401
  ]
402
  ];
403
 
675
  wp_register_script( 'auxin-elementor-editor', AUXELS_ADMIN_URL . '/assets/js/elementor/editor.js', array( 'jquery-elementor-select2' ), AUXELS_VERSION );
676
  }
677
 
678
+ /**
679
+ * Enqueue scripts.
680
+ *
681
+ * Enqueue all the bac kend scripts after enqueuing editor scripts.
682
+ *
683
+ * @since 2.9.6
684
+ *
685
+ */
686
+ public function editor_after_enqueue_scripts() {
687
+ // Elementor Custom Scripts
688
+ wp_enqueue_script( 'auxin-elementor-editor-context-menus', AUXELS_ADMIN_URL . '/assets/js/elementor/context-menu.js', [], AUXELS_VERSION );
689
+ }
690
+
691
  /**
692
  * Admin notice
693
  *
includes/elementor/modules/documents/footer.php CHANGED
@@ -52,8 +52,8 @@ class Footer extends Library_Document {
52
  }
53
 
54
 
55
- protected function _register_controls() {
56
- parent::_register_controls();
57
 
58
  Post::register_style_controls( $this );
59
  }
52
  }
53
 
54
 
55
+ protected function register_controls() {
56
+ parent::register_controls();
57
 
58
  Post::register_style_controls( $this );
59
  }
includes/elementor/modules/documents/header.php CHANGED
@@ -51,8 +51,8 @@ class Header extends Library_Document {
51
  return $categories + parent::get_editor_panel_categories();
52
  }
53
 
54
- protected function _register_controls() {
55
- parent::_register_controls();
56
 
57
  Post::register_style_controls( $this );
58
  }
51
  return $categories + parent::get_editor_panel_categories();
52
  }
53
 
54
+ protected function register_controls() {
55
+ parent::register_controls();
56
 
57
  Post::register_style_controls( $this );
58
  }
includes/elementor/modules/dynamic-tags/archive-meta.php CHANGED
@@ -52,7 +52,7 @@ class Archive_Meta extends Tag {
52
  return 'key';
53
  }
54
 
55
- protected function _register_controls() {
56
  $this->add_control(
57
  'key',
58
  [
52
  return 'key';
53
  }
54
 
55
+ protected function register_controls() {
56
  $this->add_control(
57
  'key',
58
  [
includes/elementor/modules/dynamic-tags/archive-title.php CHANGED
@@ -34,7 +34,7 @@ class Archive_Title extends Tag {
34
  echo wp_kses_post( $title );
35
  }
36
 
37
- protected function _register_controls() {
38
  $this->add_control(
39
  'include_context',
40
  [
34
  echo wp_kses_post( $title );
35
  }
36
 
37
+ protected function register_controls() {
38
  $this->add_control(
39
  'include_context',
40
  [
includes/elementor/modules/dynamic-tags/archive-url.php CHANGED
@@ -42,7 +42,7 @@ class Archive_URL extends Data_Tag {
42
  return true;
43
  }
44
 
45
- protected function _register_controls() {
46
  $this->add_control(
47
  'key',
48
  [
42
  return true;
43
  }
44
 
45
+ protected function register_controls() {
46
  $this->add_control(
47
  'key',
48
  [
includes/elementor/modules/dynamic-tags/author-info.php CHANGED
@@ -43,7 +43,7 @@ class Author_Info extends Tag {
43
  return 'key';
44
  }
45
 
46
- protected function _register_controls() {
47
  $this->add_control(
48
  'key',
49
  [
43
  return 'key';
44
  }
45
 
46
+ protected function register_controls() {
47
  $this->add_control(
48
  'key',
49
  [
includes/elementor/modules/dynamic-tags/author-meta.php CHANGED
@@ -41,7 +41,7 @@ class Author_Meta extends Tag {
41
  echo wp_kses_post( $value );
42
  }
43
 
44
- protected function _register_controls() {
45
  $this->add_control(
46
  'key',
47
  [
41
  echo wp_kses_post( $value );
42
  }
43
 
44
+ protected function register_controls() {
45
  $this->add_control(
46
  'key',
47
  [
includes/elementor/modules/dynamic-tags/author-url.php CHANGED
@@ -47,7 +47,7 @@ class Author_URL extends Data_Tag {
47
  return $value;
48
  }
49
 
50
- protected function _register_controls() {
51
  $this->add_control(
52
  'url',
53
  [
47
  return $value;
48
  }
49
 
50
+ protected function register_controls() {
51
  $this->add_control(
52
  'url',
53
  [
includes/elementor/modules/dynamic-tags/comments-number.php CHANGED
@@ -27,7 +27,7 @@ class Comments_Number extends Tag {
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
- protected function _register_controls() {
31
  $this->add_control(
32
  'format_no_comments',
33
  [
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
+ protected function register_controls() {
31
  $this->add_control(
32
  'format_no_comments',
33
  [
includes/elementor/modules/dynamic-tags/contact-url.php CHANGED
@@ -27,7 +27,7 @@ class Contact_URL extends Tag {
27
  return [ TagsModule::URL_CATEGORY ];
28
  }
29
 
30
- protected function _register_controls() {
31
  $this->add_control(
32
  'link_type',
33
  [
27
  return [ TagsModule::URL_CATEGORY ];
28
  }
29
 
30
+ protected function register_controls() {
31
  $this->add_control(
32
  'link_type',
33
  [
includes/elementor/modules/dynamic-tags/current-date-time.php CHANGED
@@ -27,7 +27,7 @@ class Current_Date_Time extends Tag {
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
- protected function _register_controls() {
31
  $this->add_control(
32
  'date_format',
33
  [
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
+ protected function register_controls() {
31
  $this->add_control(
32
  'date_format',
33
  [
includes/elementor/modules/dynamic-tags/featured-colors.php CHANGED
@@ -51,7 +51,7 @@ class Auxin_Featured_Colors extends Tag {
51
  return true;
52
  }
53
 
54
- protected function _register_controls() {
55
  $this->add_control(
56
  'key',
57
  [
51
  return true;
52
  }
53
 
54
+ protected function register_controls() {
55
  $this->add_control(
56
  'key',
57
  [
includes/elementor/modules/dynamic-tags/featured-image-data.php CHANGED
@@ -75,7 +75,7 @@ class Featured_Image_Data extends Tag {
75
  echo wp_kses_post( $value );
76
  }
77
 
78
- protected function _register_controls() {
79
 
80
  $this->add_control(
81
  'attachment_data',
75
  echo wp_kses_post( $value );
76
  }
77
 
78
+ protected function register_controls() {
79
 
80
  $this->add_control(
81
  'attachment_data',
includes/elementor/modules/dynamic-tags/login-url.php CHANGED
@@ -34,7 +34,7 @@ class Auxin_Login_Url extends Tag {
34
  return true;
35
  }
36
 
37
- protected function _register_controls() {
38
  $this->add_control(
39
  'key',
40
  [
34
  return true;
35
  }
36
 
37
+ protected function register_controls() {
38
  $this->add_control(
39
  'key',
40
  [
includes/elementor/modules/dynamic-tags/page-title.php CHANGED
@@ -39,7 +39,7 @@ class Page_Title extends Tag {
39
  echo wp_kses_post( $title );
40
  }
41
 
42
- protected function _register_controls() {
43
  $this->add_control(
44
  'include_context',
45
  [
39
  echo wp_kses_post( $title );
40
  }
41
 
42
+ protected function register_controls() {
43
  $this->add_control(
44
  'include_context',
45
  [
includes/elementor/modules/dynamic-tags/pages-url.php CHANGED
@@ -51,7 +51,7 @@ class Auxin_Pages_Url extends Tag {
51
  return true;
52
  }
53
 
54
- protected function _register_controls() {
55
  $this->add_control(
56
  'key',
57
  [
51
  return true;
52
  }
53
 
54
+ protected function register_controls() {
55
  $this->add_control(
56
  'key',
57
  [
includes/elementor/modules/dynamic-tags/post-custom-field.php CHANGED
@@ -39,7 +39,7 @@ class Post_Custom_Field extends Tag {
39
  return true;
40
  }
41
 
42
- protected function _register_controls() {
43
  $this->add_control(
44
  'key',
45
  [
39
  return true;
40
  }
41
 
42
+ protected function register_controls() {
43
  $this->add_control(
44
  'key',
45
  [
includes/elementor/modules/dynamic-tags/post-date.php CHANGED
@@ -26,7 +26,7 @@ class Post_Date extends Tag {
26
  return [ TagsModule::TEXT_CATEGORY ];
27
  }
28
 
29
- protected function _register_controls() {
30
  $this->add_control(
31
  'type',
32
  [
26
  return [ TagsModule::TEXT_CATEGORY ];
27
  }
28
 
29
+ protected function register_controls() {
30
  $this->add_control(
31
  'type',
32
  [
includes/elementor/modules/dynamic-tags/post-featured-image.php CHANGED
@@ -42,7 +42,7 @@ class Post_Featured_Image extends Data_Tag {
42
  return $image_data;
43
  }
44
 
45
- protected function _register_controls() {
46
  $this->add_control(
47
  'fallback',
48
  [
42
  return $image_data;
43
  }
44
 
45
+ protected function register_controls() {
46
  $this->add_control(
47
  'fallback',
48
  [
includes/elementor/modules/dynamic-tags/post-terms.php CHANGED
@@ -27,7 +27,7 @@ class Post_Terms extends Tag {
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
- protected function _register_controls() {
31
  $taxonomy_filter_args = [
32
  'show_in_nav_menus' => true,
33
  'object_type' => [ get_post_type() ],
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
+ protected function register_controls() {
31
  $taxonomy_filter_args = [
32
  'show_in_nav_menus' => true,
33
  'object_type' => [ get_post_type() ],
includes/elementor/modules/dynamic-tags/post-time.php CHANGED
@@ -27,7 +27,7 @@ class Post_Time extends Tag {
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
- protected function _register_controls() {
31
  $this->add_control(
32
  'type',
33
  [
27
  return [ TagsModule::TEXT_CATEGORY ];
28
  }
29
 
30
+ protected function register_controls() {
31
  $this->add_control(
32
  'type',
33
  [
includes/elementor/modules/dynamic-tags/posts-url.php CHANGED
@@ -50,7 +50,7 @@ class Auxin_Posts_Url extends Tag {
50
  return true;
51
  }
52
 
53
- protected function _register_controls() {
54
  $this->add_control(
55
  'key',
56
  [
50
  return true;
51
  }
52
 
53
+ protected function register_controls() {
54
  $this->add_control(
55
  'key',
56
  [
includes/elementor/modules/dynamic-tags/request-parameter.php CHANGED
@@ -59,7 +59,7 @@ class Request_Parameter extends Tag {
59
  echo htmlentities( wp_kses_post( $value ) );
60
  }
61
 
62
- protected function _register_controls() {
63
  $this->add_control(
64
  'request_type',
65
  [
59
  echo htmlentities( wp_kses_post( $value ) );
60
  }
61
 
62
+ protected function register_controls() {
63
  $this->add_control(
64
  'request_type',
65
  [
includes/elementor/modules/dynamic-tags/shortcode.php CHANGED
@@ -33,7 +33,7 @@ class Shortcode extends Tag {
33
  ];
34
  }
35
 
36
- protected function _register_controls() {
37
  $this->add_control(
38
  'shortcode',
39
  [
33
  ];
34
  }
35
 
36
+ protected function register_controls() {
37
  $this->add_control(
38
  'shortcode',
39
  [
includes/elementor/modules/dynamic-tags/taxonomies-url.php CHANGED
@@ -50,7 +50,7 @@ class Auxin_Taxonomies_Url extends Tag {
50
  return true;
51
  }
52
 
53
- protected function _register_controls() {
54
  $this->add_control(
55
  'key',
56
  [
50
  return true;
51
  }
52
 
53
+ protected function register_controls() {
54
  $this->add_control(
55
  'key',
56
  [
includes/elementor/modules/dynamic-tags/user-info.php CHANGED
@@ -65,7 +65,7 @@ class User_Info extends Tag {
65
  return 'type';
66
  }
67
 
68
- protected function _register_controls() {
69
  $this->add_control(
70
  'type',
71
  [
65
  return 'type';
66
  }
67
 
68
+ protected function register_controls() {
69
  $this->add_control(
70
  'type',
71
  [
includes/elementor/modules/theme-builder/theme-page-document.php CHANGED
@@ -112,8 +112,8 @@ abstract class Theme_Document extends Library_Document {
112
 
113
  }
114
 
115
- protected function _register_controls() {
116
- parent::_register_controls();
117
 
118
  // $this->start_controls_section(
119
  // 'preview_settings',
112
 
113
  }
114
 
115
+ protected function register_controls() {
116
+ parent::register_controls();
117
 
118
  // $this->start_controls_section(
119
  // 'preview_settings',
includes/elementor/widgets/accordion.php CHANGED
@@ -88,7 +88,7 @@ class Accordion extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* Content TAB
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* Content TAB
includes/elementor/widgets/audio.php CHANGED
@@ -83,7 +83,7 @@ class Audio extends Widget_Base {
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
- protected function _register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* audio_section
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
+ protected function register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* audio_section
includes/elementor/widgets/before-after.php CHANGED
@@ -84,7 +84,7 @@ class BeforeAfter extends Widget_Base {
84
  * @since 1.0.0
85
  * @access protected
86
  */
87
- protected function _register_controls() {
88
 
89
  /*-----------------------------------------------------------------------------------*/
90
  /* images_section
84
  * @since 1.0.0
85
  * @access protected
86
  */
87
+ protected function register_controls() {
88
 
89
  /*-----------------------------------------------------------------------------------*/
90
  /* images_section
includes/elementor/widgets/button.php CHANGED
@@ -88,7 +88,7 @@ class Button extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* button_section
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* button_section
includes/elementor/widgets/carousel-navigation.php CHANGED
@@ -84,7 +84,7 @@ class CarouselNavigation extends Widget_Base {
84
  * @since 1.0.0
85
  * @access protected
86
  */
87
- protected function _register_controls() {
88
 
89
  $this->start_controls_section(
90
  'navigation',
84
  * @since 1.0.0
85
  * @access protected
86
  */
87
+ protected function register_controls() {
88
 
89
  $this->start_controls_section(
90
  'navigation',
includes/elementor/widgets/contact-box.php CHANGED
@@ -83,7 +83,7 @@ class ContactBox extends Widget_Base {
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
- protected function _register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* Contact Info section
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
+ protected function register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* Contact Info section
includes/elementor/widgets/contact-form.php CHANGED
@@ -88,7 +88,7 @@ class ContactForm extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* contact_section
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* contact_section
includes/elementor/widgets/custom-list.php CHANGED
@@ -89,7 +89,7 @@ class CustomList extends Widget_Base {
89
  * @since 1.0.0
90
  * @access protected
91
  */
92
- protected function _register_controls() {
93
 
94
  /*-----------------------------------------------------------------------------------*/
95
  /* Content TAB
89
  * @since 1.0.0
90
  * @access protected
91
  */
92
+ protected function register_controls() {
93
 
94
  /*-----------------------------------------------------------------------------------*/
95
  /* Content TAB
includes/elementor/widgets/divider.php CHANGED
@@ -83,7 +83,7 @@ class Divider extends Widget_Base {
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
- protected function _register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* Divider section
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
+ protected function register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* Divider section
includes/elementor/widgets/gallery.php CHANGED
@@ -86,7 +86,7 @@ class Gallery extends Widget_Base {
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
- protected function _register_controls() {
90
 
91
  $this->start_controls_section(
92
  'section_gallery',
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
+ protected function register_controls() {
90
 
91
  $this->start_controls_section(
92
  'section_gallery',
includes/elementor/widgets/gmap.php CHANGED
@@ -82,7 +82,7 @@ class Gmap extends Widget_Base {
82
  * @since 1.0.0
83
  * @access protected
84
  */
85
- protected function _register_controls() {
86
 
87
  /*-----------------------------------------------------------------------------------*/
88
  /* map_section
82
  * @since 1.0.0
83
  * @access protected
84
  */
85
+ protected function register_controls() {
86
 
87
  /*-----------------------------------------------------------------------------------*/
88
  /* map_section
includes/elementor/widgets/heading-modern.php CHANGED
@@ -89,7 +89,7 @@ class ModernHeading extends Widget_Base {
89
  * @since 1.0.0
90
  * @access protected
91
  */
92
- protected function _register_controls() {
93
 
94
  /*-----------------------------------------------------------------------------------*/
95
  /* Content TAB
89
  * @since 1.0.0
90
  * @access protected
91
  */
92
+ protected function register_controls() {
93
 
94
  /*-----------------------------------------------------------------------------------*/
95
  /* Content TAB
includes/elementor/widgets/icon.php CHANGED
@@ -100,7 +100,7 @@ class Icon extends Widget_Base {
100
  * @since 1.0.0
101
  * @access protected
102
  */
103
- protected function _register_controls() {
104
  $this->start_controls_section(
105
  'section_icon',
106
  array(
100
  * @since 1.0.0
101
  * @access protected
102
  */
103
+ protected function register_controls() {
104
  $this->start_controls_section(
105
  'section_icon',
106
  array(
includes/elementor/widgets/image.php CHANGED
@@ -91,7 +91,7 @@ class Image extends Widget_Base {
91
  * @since 1.0.0
92
  * @access protected
93
  */
94
- protected function _register_controls() {
95
 
96
  /*-----------------------------------------------------------------------------------*/
97
  /* Content Tab
91
  * @since 1.0.0
92
  * @access protected
93
  */
94
+ protected function register_controls() {
95
 
96
  /*-----------------------------------------------------------------------------------*/
97
  /* Content Tab
includes/elementor/widgets/mailchimp.php CHANGED
@@ -113,7 +113,7 @@ class MailChimp extends Widget_Base {
113
  * @since 1.0.0
114
  * @access protected
115
  */
116
- protected function _register_controls() {
117
 
118
  /*-----------------------------------------------------------------------------------*/
119
  /* Content TAB
113
  * @since 1.0.0
114
  * @access protected
115
  */
116
+ protected function register_controls() {
117
 
118
  /*-----------------------------------------------------------------------------------*/
119
  /* Content TAB
includes/elementor/widgets/modern-button.php CHANGED
@@ -89,7 +89,7 @@ class ModernButton extends Widget_Base {
89
  * @since 1.0.0
90
  * @access protected
91
  */
92
- protected function _register_controls() {
93
 
94
  /*-----------------------------------------------------------------------------------*/
95
  /* Button
@@ -217,6 +217,16 @@ class ModernButton extends Widget_Base {
217
  ]
218
  );
219
 
 
 
 
 
 
 
 
 
 
 
220
  $this->add_control(
221
  'open_video_in_lightbox',
222
  array(
@@ -1043,6 +1053,10 @@ class ModernButton extends Widget_Base {
1043
  $url = $settings['link']['url'];
1044
  }
1045
 
 
 
 
 
1046
  ?>
1047
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
1048
  <?php
89
  * @since 1.0.0
90
  * @access protected
91
  */
92
+ protected function register_controls() {
93
 
94
  /*-----------------------------------------------------------------------------------*/
95
  /* Button
217
  ]
218
  );
219
 
220
+ $this->add_control(
221
+ 'link_css_id',
222
+ array(
223
+ 'label' => __('Link CSS ID','auxin-elements' ),
224
+ 'type' => Controls_Manager::TEXT,
225
+ 'placeholder' => 'Css ID for anchor tag',
226
+ 'label_block' => true,
227
+ )
228
+ );
229
+
230
  $this->add_control(
231
  'open_video_in_lightbox',
232
  array(
1053
  $url = $settings['link']['url'];
1054
  }
1055
 
1056
+ if ( $settings['link_css_id'] ) {
1057
+ $this->add_render_attribute( 'button', 'id', $settings['link_css_id'] );
1058
+ }
1059
+
1060
  ?>
1061
  <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
1062
  <?php
includes/elementor/widgets/products-grid.php CHANGED
@@ -125,7 +125,7 @@ class ProductsGrid extends Widget_Base {
125
  * @since 1.0.0
126
  * @access protected
127
  */
128
- protected function _register_controls() {
129
  /*-------------------------------------------------------------------*/
130
  /* Layout TAB
131
  /*-------------------------------------------------------------------*/
125
  * @since 1.0.0
126
  * @access protected
127
  */
128
+ protected function register_controls() {
129
  /*-------------------------------------------------------------------*/
130
  /* Layout TAB
131
  /*-------------------------------------------------------------------*/
includes/elementor/widgets/quote.php CHANGED
@@ -86,7 +86,7 @@ class Quote extends Widget_Base {
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
- protected function _register_controls() {
90
 
91
  /*-----------------------------------------------------------------------------------*/
92
  /* content_section
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
+ protected function register_controls() {
90
 
91
  /*-----------------------------------------------------------------------------------*/
92
  /* content_section
includes/elementor/widgets/recent-comments.php CHANGED
@@ -111,7 +111,7 @@ class RecentComments extends Widget_Base {
111
  * @since 1.0.0
112
  * @access protected
113
  */
114
- protected function _register_controls() {
115
 
116
  /*-----------------------------------------------------------------------------------*/
117
  /* Content TAB
111
  * @since 1.0.0
112
  * @access protected
113
  */
114
+ protected function register_controls() {
115
 
116
  /*-----------------------------------------------------------------------------------*/
117
  /* Content TAB
includes/elementor/widgets/recent-posts-grid-carousel.php CHANGED
@@ -108,7 +108,7 @@ class RecentPostsGridCarousel extends Widget_Base {
108
  * @since 1.0.0
109
  * @access protected
110
  */
111
- protected function _register_controls() {
112
 
113
  /*-----------------------------------------------------------------------------------*/
114
  /* layout_section
@@ -497,6 +497,19 @@ class RecentPostsGridCarousel extends Widget_Base {
497
  )
498
  );
499
 
 
 
 
 
 
 
 
 
 
 
 
 
 
500
  $this->add_control(
501
  'show_badge',
502
  array(
@@ -1979,6 +1992,7 @@ class RecentPostsGridCarousel extends Widget_Base {
1979
  'display_like' => $settings['display_like'],
1980
  'show_content' => $settings['show_content'],
1981
  'display_categories' => $settings['display_categories'],
 
1982
  'show_badge' => $settings['show_badge'],
1983
  'show_date' => $settings['show_date'],
1984
  'show_excerpt' => $settings['show_excerpt'],
108
  * @since 1.0.0
109
  * @access protected
110
  */
111
+ protected function register_controls() {
112
 
113
  /*-----------------------------------------------------------------------------------*/
114
  /* layout_section
497
  )
498
  );
499
 
500
+ $this->add_control(
501
+ 'max_taxonomy_num',
502
+ array(
503
+ 'label' => __('Number of Categories Limit','auxin-elements' ),
504
+ 'type' => Controls_Manager::NUMBER,
505
+ 'default' => '1',
506
+ 'condition' => array(
507
+ 'show_info' => 'yes',
508
+ 'display_categories' => 'yes'
509
+ )
510
+ )
511
+ );
512
+
513
  $this->add_control(
514
  'show_badge',
515
  array(
1992
  'display_like' => $settings['display_like'],
1993
  'show_content' => $settings['show_content'],
1994
  'display_categories' => $settings['display_categories'],
1995
+ 'max_taxonomy_num' => $settings['max_taxonomy_num'],
1996
  'show_badge' => $settings['show_badge'],
1997
  'show_date' => $settings['show_date'],
1998
  'show_excerpt' => $settings['show_excerpt'],
includes/elementor/widgets/recent-posts-land-style.php CHANGED
@@ -105,7 +105,7 @@ class RecentPostsLand extends Widget_Base {
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
- protected function _register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
@@ -229,6 +229,20 @@ class RecentPostsLand extends Widget_Base {
229
  )
230
  );
231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  $this->add_control(
233
  'show_date',
234
  array(
@@ -970,6 +984,7 @@ class RecentPostsLand extends Widget_Base {
970
  'display_title' => $settings['display_title'],
971
  'show_info' => $settings['show_info'],
972
  'display_categories' => $settings['display_categories'],
 
973
  'show_date' => $settings['show_date'],
974
  'display_comments' => $settings['display_comments'],
975
  'display_like' => $settings['display_like'],
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
+ protected function register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
229
  )
230
  );
231
 
232
+ $this->add_control(
233
+ 'max_taxonomy_num',
234
+ array(
235
+
236
+ 'label' => __('Number of Categories Limit','auxin-elements' ),
237
+ 'type' => Controls_Manager::NUMBER,
238
+ 'default' => '1',
239
+ 'condition' => array(
240
+ 'show_info' => 'yes',
241
+ 'display_categories' => 'yes'
242
+ )
243
+ )
244
+ );
245
+
246
  $this->add_control(
247
  'show_date',
248
  array(
984
  'display_title' => $settings['display_title'],
985
  'show_info' => $settings['show_info'],
986
  'display_categories' => $settings['display_categories'],
987
+ 'max_taxonomy_num' => $settings['max_taxonomy_num'],
988
  'show_date' => $settings['show_date'],
989
  'display_comments' => $settings['display_comments'],
990
  'display_like' => $settings['display_like'],
includes/elementor/widgets/recent-posts-masonry.php CHANGED
@@ -108,7 +108,7 @@ class RecentPostsMasonry extends Widget_Base {
108
  * @since 1.0.0
109
  * @access protected
110
  */
111
- protected function _register_controls() {
112
 
113
  /*-----------------------------------------------------------------------------------*/
114
  /* layout_section
@@ -296,6 +296,19 @@ class RecentPostsMasonry extends Widget_Base {
296
  )
297
  );
298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
  $this->add_control(
300
  'show_date',
301
  array(
@@ -1367,6 +1380,7 @@ class RecentPostsMasonry extends Widget_Base {
1367
  'display_like' => $settings['display_like'],
1368
  'show_content' => $settings['show_content'],
1369
  'display_categories' => $settings['display_categories'],
 
1370
  'show_date' => $settings['show_date'],
1371
  'show_excerpt' => $settings['show_excerpt'],
1372
  'excerpt_len' => $settings['excerpt_len'],
108
  * @since 1.0.0
109
  * @access protected
110
  */
111
+ protected function register_controls() {
112
 
113
  /*-----------------------------------------------------------------------------------*/
114
  /* layout_section
296
  )
297
  );
298
 
299
+ $this->add_control(
300
+ 'max_taxonomy_num',
301
+ array(
302
+ 'label' => __('Number of Categories Limit','auxin-elements' ),
303
+ 'type' => Controls_Manager::NUMBER,
304
+ 'default' => '1',
305
+ 'condition' => array(
306
+ 'show_info' => 'yes',
307
+ 'display_categories' => 'yes'
308
+ )
309
+ )
310
+ );
311
+
312
  $this->add_control(
313
  'show_date',
314
  array(
1380
  'display_like' => $settings['display_like'],
1381
  'show_content' => $settings['show_content'],
1382
  'display_categories' => $settings['display_categories'],
1383
+ 'max_taxonomy_num' => $settings['max_taxonomy_num'],
1384
  'show_date' => $settings['show_date'],
1385
  'show_excerpt' => $settings['show_excerpt'],
1386
  'excerpt_len' => $settings['excerpt_len'],
includes/elementor/widgets/recent-posts-tiles-carousel.php CHANGED
@@ -105,7 +105,7 @@ class RecentPostsTilesCarousel extends Widget_Base {
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
- protected function _register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
+ protected function register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
includes/elementor/widgets/recent-posts-tiles.php CHANGED
@@ -105,7 +105,7 @@ class RecentPostsTiles extends Widget_Base {
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
- protected function _register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
+ protected function register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
includes/elementor/widgets/recent-posts-timeline.php CHANGED
@@ -105,7 +105,7 @@ class RecentPostsTimeline extends Widget_Base {
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
- protected function _register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
105
  * @since 1.0.0
106
  * @access protected
107
  */
108
+ protected function register_controls() {
109
 
110
  /*-----------------------------------------------------------------------------------*/
111
  /* layout_section
includes/elementor/widgets/recent-products.php CHANGED
@@ -117,7 +117,7 @@ class RecentProducts extends Widget_Base {
117
  * @since 1.0.0
118
  * @access protected
119
  */
120
- protected function _register_controls() {
121
 
122
  /*-----------------------------------------------------------------------------------*/
123
  /* layout_section
@@ -345,33 +345,6 @@ class RecentProducts extends Widget_Base {
345
  )
346
  );
347
 
348
- $this->add_control(
349
- 'exclude_custom_post_formats',
350
- array(
351
- 'label' => __('Exclude custom post formats','auxin-elements' ),
352
- 'type' => Controls_Manager::SWITCHER,
353
- 'label_on' => __( 'On', 'auxin-elements' ),
354
- 'label_off' => __( 'Off', 'auxin-elements' ),
355
- 'return_value' => 'yes',
356
- 'default' => 'no',
357
- )
358
- );
359
-
360
- $this->add_control(
361
- 'exclude_quote_link',
362
- array(
363
- 'label' => __('Exclude quote and link post formats','auxin-elements' ),
364
- 'type' => Controls_Manager::SWITCHER,
365
- 'label_on' => __( 'On', 'auxin-elements' ),
366
- 'label_off' => __( 'Off', 'auxin-elements' ),
367
- 'return_value' => 'yes',
368
- 'default' => 'no',
369
- 'condition' => array(
370
- 'exclude_custom_post_formats' => 'yes',
371
- )
372
- )
373
- );
374
-
375
  $this->add_control(
376
  'order_by',
377
  array(
@@ -441,6 +414,19 @@ class RecentProducts extends Widget_Base {
441
  )
442
  );
443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  $this->end_controls_section();
445
 
446
  /*-----------------------------------------------------------------------------------*/
@@ -740,14 +726,13 @@ class RecentProducts extends Widget_Base {
740
  'cat' => $settings['cat'],
741
  'num' => $settings['num'],
742
  'exclude_without_media' => $settings['exclude_without_media'],
743
- 'exclude_custom_post_formats' => $settings['exclude_custom_post_formats'],
744
- 'exclude_quote_link' => $settings['exclude_quote_link'],
745
  'order_by' => $settings['order_by'],
746
  'order' => $settings['order'],
747
  'only_products__in' => $settings['only_products__in'],
748
  'include' => $settings['include'],
749
  'exclude' => $settings['exclude'],
750
  'offset' => $settings['offset'],
 
751
 
752
  // Style Section
753
  'image_aspect_ratio' => $settings['image_aspect_ratio'],
117
  * @since 1.0.0
118
  * @access protected
119
  */
120
+ protected function register_controls() {
121
 
122
  /*-----------------------------------------------------------------------------------*/
123
  /* layout_section
345
  )
346
  );
347
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  $this->add_control(
349
  'order_by',
350
  array(
414
  )
415
  );
416
 
417
+ $this->add_control(
418
+ 'show_pagination',
419
+ array(
420
+ 'label' => __('Show Pagination','auxin-elements' ),
421
+ 'description' => __('Paginates the products', 'auxin-elements' ),
422
+ 'type' => Controls_Manager::SWITCHER,
423
+ 'label_on' => __( 'On', 'auxin-elements' ),
424
+ 'label_off' => __( 'Off', 'auxin-elements' ),
425
+ 'return_value' => 'yes',
426
+ 'default' => ''
427
+ )
428
+ );
429
+
430
  $this->end_controls_section();
431
 
432
  /*-----------------------------------------------------------------------------------*/
726
  'cat' => $settings['cat'],
727
  'num' => $settings['num'],
728
  'exclude_without_media' => $settings['exclude_without_media'],
 
 
729
  'order_by' => $settings['order_by'],
730
  'order' => $settings['order'],
731
  'only_products__in' => $settings['only_products__in'],
732
  'include' => $settings['include'],
733
  'exclude' => $settings['exclude'],
734
  'offset' => $settings['offset'],
735
+ 'show_pagination' => $settings['show_pagination'],
736
 
737
  // Style Section
738
  'image_aspect_ratio' => $settings['image_aspect_ratio'],
includes/elementor/widgets/responsive-table.php CHANGED
@@ -90,7 +90,7 @@ class ResponsiveTable extends Widget_Base {
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
- protected function _register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* Content TAB
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
+ protected function register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* Content TAB
includes/elementor/widgets/search.php CHANGED
@@ -83,7 +83,7 @@ class Search extends Widget_Base {
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
- protected function _register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* skin_section
83
  * @since 1.0.0
84
  * @access protected
85
  */
86
+ protected function register_controls() {
87
 
88
  /*-----------------------------------------------------------------------------------*/
89
  /* skin_section
includes/elementor/widgets/staff.php CHANGED
@@ -88,7 +88,7 @@ class Staff extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* content_section
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* content_section
includes/elementor/widgets/svg.php CHANGED
@@ -88,7 +88,7 @@ class Simple__SVG extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* Content Tab
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* Content Tab
includes/elementor/widgets/tabs.php CHANGED
@@ -88,7 +88,7 @@ class Tabs extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* Content TAB
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /*-----------------------------------------------------------------------------------*/
94
  /* Content TAB
includes/elementor/widgets/testimonial.php CHANGED
@@ -90,7 +90,7 @@ class Testimonial extends Widget_Base {
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
- protected function _register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* audio_section
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
+ protected function register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* audio_section
includes/elementor/widgets/text.php CHANGED
@@ -90,7 +90,7 @@ class Text extends Widget_Base {
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
- protected function _register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* Content TAB
@@ -1675,7 +1675,7 @@ class Text extends Widget_Base {
1675
  'icon_svg_inline' => $settings['svg_inline'],
1676
 
1677
  'text_align' => $settings['text_align'],
1678
- 'text_align_resp' => $settings['text_align_mobile'],
1679
  'overlay_color' => $settings['overlay_color'],
1680
 
1681
  'footer_shape' => $settings['footer_shape'],
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
+ protected function register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* Content TAB
1675
  'icon_svg_inline' => $settings['svg_inline'],
1676
 
1677
  'text_align' => $settings['text_align'],
1678
+ 'text_align_resp' => empty( $settings['text_align_mobile'] ) ? '' : $settings['text_align_mobile'],
1679
  'overlay_color' => $settings['overlay_color'],
1680
 
1681
  'footer_shape' => $settings['footer_shape'],
includes/elementor/widgets/theme-elements/breadcrumbs.php CHANGED
@@ -104,7 +104,7 @@ class Breadcrumbs extends Widget_Base {
104
  * @since 1.0.0
105
  * @access protected
106
  */
107
- protected function _register_controls() {
108
 
109
  /*--------------------------------------------------------------------*/
110
  /* Content
104
  * @since 1.0.0
105
  * @access protected
106
  */
107
+ protected function register_controls() {
108
 
109
  /*--------------------------------------------------------------------*/
110
  /* Content
includes/elementor/widgets/theme-elements/copyright.php CHANGED
@@ -86,7 +86,7 @@ class Copyright extends Widget_Base {
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
- protected function _register_controls() {
90
 
91
  $this->start_controls_section(
92
  'general',
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
+ protected function register_controls() {
90
 
91
  $this->start_controls_section(
92
  'general',
includes/elementor/widgets/theme-elements/current-time.php CHANGED
@@ -86,7 +86,7 @@ class Current_Time extends Widget_Base {
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
- protected function _register_controls() {
90
 
91
  /*-----------------------------------------------------------------------------------*/
92
  /* button_section
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
+ protected function register_controls() {
90
 
91
  /*-----------------------------------------------------------------------------------*/
92
  /* button_section
includes/elementor/widgets/theme-elements/logo.php CHANGED
@@ -90,7 +90,7 @@ class Logo extends Widget_Base {
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
- protected function _register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* button_section
90
  * @since 1.0.0
91
  * @access protected
92
  */
93
+ protected function register_controls() {
94
 
95
  /*-----------------------------------------------------------------------------------*/
96
  /* button_section
includes/elementor/widgets/theme-elements/menu.php CHANGED
@@ -112,7 +112,7 @@ class MenuBox extends Widget_Base {
112
  * @since 1.0.0
113
  * @access protected
114
  */
115
- protected function _register_controls() {
116
 
117
  $this->start_controls_section(
118
  'general',
112
  * @since 1.0.0
113
  * @access protected
114
  */
115
+ protected function register_controls() {
116
 
117
  $this->start_controls_section(
118
  'general',
includes/elementor/widgets/theme-elements/modern-search.php CHANGED
@@ -88,7 +88,7 @@ class ModernSearch extends Widget_Base {
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
- protected function _register_controls() {
92
 
93
  /* Search Section
94
  /*-------------------------------------*/
88
  * @since 1.0.0
89
  * @access protected
90
  */
91
+ protected function register_controls() {
92
 
93
  /* Search Section
94
  /*-------------------------------------*/
includes/elementor/widgets/theme-elements/search.php CHANGED
@@ -86,7 +86,7 @@ class SearchBox extends Widget_Base {
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
- protected function _register_controls() {
90
 
91
  $this->start_controls_section(
92
  'general',
86
  * @since 1.0.0
87
  * @access protected
88
  */
89
+ protected function register_controls() {
90
 
91
  $this->start_controls_section(
92
  'general',
includes/elementor/widgets/theme-elements/select.php ADDED
@@ -0,0 +1,826 @@