Shortcodes and extra features for Phlox theme - Version 2.5.11

Version Description

Download this release

Release Info

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

Code changes from version 2.5.10 to 2.5.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.4.0
10
- Stable tag: 2.5.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.4.0
10
+ Stable tag: 2.5.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.5.10 (2020-04-26)
2
  * All required javascript plugins for admin
3
  * http://phlox.pro/
4
  * Place any jQuery/helper plugins in here, instead of separate, slower script files!
1
+ /*! Phlox Core Plugin - v2.5.11 (2020-04-29)
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.5.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.5.11
16
  * Author: averta
17
  * Author URI: http://averta.net
18
  * Text Domain: auxin-elements
includes/define.php CHANGED
@@ -12,7 +12,7 @@ if( ! defined( 'THEME_NAME' ) ){
12
  }
13
 
14
 
15
- define( 'AUXELS_VERSION' , '2.5.10' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
12
  }
13
 
14
 
15
+ define( 'AUXELS_VERSION' , '2.5.11' );
16
 
17
  define( 'AUXELS_SLUG' , 'auxin-elements' );
18
 
includes/elementor/class-auxin-elementor-core-elements.php CHANGED
@@ -367,6 +367,10 @@ final class Elements {
367
  '250' => [
368
  'file' => $this->dir_path . '/widgets/modern-button.php',
369
  'class' => 'Elements\ModernButton'
 
 
 
 
370
  ]
371
  ];
372
 
367
  '250' => [
368
  'file' => $this->dir_path . '/widgets/modern-button.php',
369
  'class' => 'Elements\ModernButton'
370
+ ],
371
+ '255' => [
372
+ 'file' => $this->dir_path . '/widgets/responsive-table.php',
373
+ 'class' => 'Elements\ResponsiveTable'
374
  ]
375
  ];
376
 
includes/elementor/widgets/responsive-table.php ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Auxin\Plugin\CoreElements\Elementor\Elements;
3
+
4
+ use Elementor\Plugin;
5
+ use Elementor\Widget_Base;
6
+ use Elementor\Controls_Manager;
7
+ use Elementor\Group_Control_Typography;
8
+ use Elementor\Scheme_Typography;
9
+ use Elementor\Group_Control_Background;
10
+
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit; // Exit if accessed directly.
14
+ }
15
+
16
+ /**
17
+ * Elementor 'Responsive Table' widget.
18
+ *
19
+ * Elementor widget that displays an 'Responsive Table' with lightbox.
20
+ *
21
+ * @since 1.0.0
22
+ */
23
+ class ResponsiveTable extends Widget_Base {
24
+
25
+ /**
26
+ * Get widget name.
27
+ *
28
+ * Retrieve 'Responsive Table' widget name.
29
+ *
30
+ * @since 1.0.0
31
+ * @access public
32
+ *
33
+ * @return string Widget name.
34
+ */
35
+ public function get_name() {
36
+ return 'aux_responsive_table';
37
+ }
38
+
39
+ /**
40
+ * Get widget title.
41
+ *
42
+ * Retrieve 'Responsive Table' widget title.
43
+ *
44
+ * @since 1.0.0
45
+ * @access public
46
+ *
47
+ * @return string Widget title.
48
+ */
49
+ public function get_title() {
50
+ return __('Responsive Table', 'auxin-elements' );
51
+ }
52
+
53
+ /**
54
+ * Get widget icon.
55
+ *
56
+ * Retrieve 'Responsive Table' widget icon.
57
+ *
58
+ * @since 1.0.0
59
+ * @access public
60
+ *
61
+ * @return string Widget icon.
62
+ */
63
+ public function get_icon() {
64
+ return 'eicon-table auxin-badge';
65
+ }
66
+
67
+ /**
68
+ * Get widget categories.
69
+ *
70
+ * Retrieve 'Responsive Table' widget icon.
71
+ *
72
+ * @since 1.0.0
73
+ * @access public
74
+ *
75
+ * @return string Widget icon.
76
+ */
77
+ public function get_categories() {
78
+ return array( 'auxin-core' );
79
+ }
80
+
81
+ public function get_script_depends() {
82
+ return ['stacktable'];
83
+ }
84
+
85
+ /**
86
+ * Register 'Responsive Table' widget controls.
87
+ *
88
+ * Adds different input fields to allow the user to change and customize the widget settings.
89
+ *
90
+ * @since 1.0.0
91
+ * @access protected
92
+ */
93
+ protected function _register_controls() {
94
+
95
+ /*-----------------------------------------------------------------------------------*/
96
+ /* Content TAB
97
+ /*-----------------------------------------------------------------------------------*/
98
+
99
+ $this->start_controls_section(
100
+ 'table_markup_section',
101
+ array(
102
+ 'label' => __('Table Markup', 'auxin-elements' ),
103
+ )
104
+ );
105
+
106
+ $this->add_control(
107
+ 'table_markup',
108
+ array(
109
+ 'label' => '',
110
+ 'type' => Controls_Manager::CODE,
111
+ 'show_label' => false,
112
+ )
113
+ );
114
+
115
+ $this->end_controls_section();
116
+
117
+
118
+ /*-----------------------------------------------------------------------------------*/
119
+ /* Style TAB
120
+ /*-----------------------------------------------------------------------------------*/
121
+
122
+ $this->start_controls_section(
123
+ 'table_head_section',
124
+ array(
125
+ 'label' => __( 'Table Heading', 'auxin-elements' ),
126
+ 'tab' => Controls_Manager::TAB_STYLE
127
+ )
128
+ );
129
+
130
+ $this->add_group_control(
131
+ Group_Control_Background::get_type(),
132
+ array(
133
+ 'name' => 'table_head_background_normal',
134
+ 'selector' => '{{WRAPPER}} th',
135
+ 'separator' => 'none'
136
+ )
137
+ );
138
+
139
+ $this->add_group_control(
140
+ Group_Control_Typography::get_type(),
141
+ array(
142
+ 'name' => 'table_head_typography',
143
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
144
+ 'selector' => '{{WRAPPER}} th'
145
+ )
146
+ );
147
+
148
+ $this->end_controls_section();
149
+
150
+ $this->start_controls_section(
151
+ 'table_body_section',
152
+ array(
153
+ 'label' => __( 'Table Body', 'auxin-elements' ),
154
+ 'tab' => Controls_Manager::TAB_STYLE
155
+ )
156
+ );
157
+
158
+ $this->add_group_control(
159
+ Group_Control_Background::get_type(),
160
+ array(
161
+ 'name' => 'table_body_background_normal',
162
+ 'selector' => '{{WRAPPER}} td',
163
+ 'separator' => 'none'
164
+ )
165
+ );
166
+
167
+ $this->add_group_control(
168
+ Group_Control_Typography::get_type(),
169
+ array(
170
+ 'name' => 'table_body_typography',
171
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
172
+ 'selector' => '{{WRAPPER}} td'
173
+ )
174
+ );
175
+
176
+ $this->end_controls_section();
177
+
178
+ $this->start_controls_section(
179
+ 'table_odd_row_section',
180
+ array(
181
+ 'label' => __( 'Table Odd Rows', 'auxin-elements' ),
182
+ 'tab' => Controls_Manager::TAB_STYLE
183
+ )
184
+ );
185
+
186
+ $this->add_group_control(
187
+ Group_Control_Background::get_type(),
188
+ array(
189
+ 'name' => 'table_odd_background_normal',
190
+ 'selector' => '{{WRAPPER}} tr:nth-child(2n+1)',
191
+ 'separator' => 'none'
192
+ )
193
+ );
194
+
195
+ $this->end_controls_section();
196
+
197
+ $this->start_controls_section(
198
+ 'table_even_row_section',
199
+ array(
200
+ 'label' => __( 'Table Even Rows', 'auxin-elements' ),
201
+ 'tab' => Controls_Manager::TAB_STYLE
202
+ )
203
+ );
204
+
205
+ $this->add_group_control(
206
+ Group_Control_Background::get_type(),
207
+ array(
208
+ 'name' => 'table_even_row_background_normal',
209
+ 'selector' => '{{WRAPPER}} tr:nth-child(2n)',
210
+ 'separator' => 'none'
211
+ )
212
+ );
213
+
214
+ $this->end_controls_section();
215
+ }
216
+
217
+ /**
218
+ * Render 'Tabs' widget output on the frontend.
219
+ *
220
+ * Written in PHP and used to generate the final HTML.
221
+ *
222
+ * @since 1.0.0
223
+ * @access protected
224
+ */
225
+ protected function render() {
226
+
227
+ $settings = $this->get_settings_for_display();
228
+
229
+ $this->add_render_attribute( 'wrapper', 'class', 'widget-container aux-widget-responsive-table' );
230
+ $this->add_render_attribute( 'inner', 'class', 'widget-inner' );
231
+
232
+ ?>
233
+ <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?> >
234
+ <div <?php echo $this->get_render_attribute_string( 'inner' ); ?> >
235
+ <?php echo $settings['table_markup']; ?>
236
+ </div>
237
+ </div>
238
+ <?php
239
+ }
240
+
241
+
242
+ /**
243
+ * Render responsive table element in the editor.
244
+ *
245
+ * @access protected
246
+ */
247
+ protected function _content_template() {
248
+ ?>
249
+ <div class="widget-container widget-responsive-table">
250
+ <div class="widget-inner">
251
+ {{{ settings.table_markup }}}
252
+ </div>
253
+ </div>
254
+ <?php
255
+ }
256
+
257
+ }
languages/auxin-elements.pot CHANGED
@@ -1,9 +1,9 @@
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
- "Project-Id-Version: Phlox Core Elements 2.5.10\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
- "POT-Creation-Date: 2020-04-26 12:06:33+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
@@ -2654,50 +2654,50 @@ msgstr ""
2654
  msgid "Select Audio"
2655
  msgstr ""
2656
 
2657
- #: includes/elementor/class-auxin-elementor-core-elements.php:394
2658
  msgid "Element class \"%s\" not found."
2659
  msgstr ""
2660
 
2661
- #: includes/elementor/class-auxin-elementor-core-elements.php:490
2662
  msgid "Module class \"%s\" not found."
2663
  msgstr ""
2664
 
2665
- #: includes/elementor/class-auxin-elementor-core-elements.php:563
2666
  msgid "%s - General"
2667
  msgstr ""
2668
 
2669
- #: includes/elementor/class-auxin-elementor-core-elements.php:571
2670
  msgid "%s - Featured"
2671
  msgstr ""
2672
 
2673
- #: includes/elementor/class-auxin-elementor-core-elements.php:579
2674
  msgid "%s - Posts"
2675
  msgstr ""
2676
 
2677
- #: includes/elementor/class-auxin-elementor-core-elements.php:587
2678
  msgid "%s - Portfolio"
2679
  msgstr ""
2680
 
2681
- #: includes/elementor/class-auxin-elementor-core-elements.php:666
2682
- #: includes/elementor/class-auxin-elementor-core-elements.php:690
2683
  #. translators: 1: Plugin name 2: PHP 3: Required PHP version
2684
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
2685
  msgstr ""
2686
 
2687
- #: includes/elementor/class-auxin-elementor-core-elements.php:668
2688
  msgid "Elementor"
2689
  msgstr ""
2690
 
2691
- #: includes/elementor/class-auxin-elementor-core-elements.php:692
2692
  #: includes/elements/code.php:82
2693
  msgid "PHP"
2694
  msgstr ""
2695
 
2696
- #: includes/elementor/class-auxin-elementor-core-elements.php:746
2697
  msgid "Phlox Icons - Set 1"
2698
  msgstr ""
2699
 
2700
- #: includes/elementor/class-auxin-elementor-core-elements.php:765
2701
  msgid "Phlox Icons - Set 2"
2702
  msgstr ""
2703
 
@@ -7720,6 +7720,30 @@ msgstr ""
7720
  msgid "WooCommerce"
7721
  msgstr ""
7722
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7723
  #: includes/elementor/widgets/search.php:47
7724
  #: includes/elementor/widgets/theme-elements/modern-search.php:908
7725
  #: includes/elementor/widgets/theme-elements/modern-search.php:911
1
  # Averta Copyright (c) {2020}
2
  msgid ""
3
  msgstr ""
4
+ "Project-Id-Version: Phlox Core Elements 2.5.11\n"
5
  "Report-Msgid-Bugs-To: http://averta.net/phlox/wordpress-theme/\n"
6
+ "POT-Creation-Date: 2020-04-29 05:31:55+00:00\n"
7
  "MIME-Version: 1.0\n"
8
  "Content-Type: text/plain; charset=utf-8\n"
9
  "Content-Transfer-Encoding: 8bit\n"
2654
  msgid "Select Audio"
2655
  msgstr ""
2656
 
2657
+ #: includes/elementor/class-auxin-elementor-core-elements.php:398
2658
  msgid "Element class \"%s\" not found."
2659
  msgstr ""
2660
 
2661
+ #: includes/elementor/class-auxin-elementor-core-elements.php:494
2662
  msgid "Module class \"%s\" not found."
2663
  msgstr ""
2664
 
2665
+ #: includes/elementor/class-auxin-elementor-core-elements.php:567
2666
  msgid "%s - General"
2667
  msgstr ""
2668
 
2669
+ #: includes/elementor/class-auxin-elementor-core-elements.php:575
2670
  msgid "%s - Featured"
2671
  msgstr ""
2672
 
2673
+ #: includes/elementor/class-auxin-elementor-core-elements.php:583
2674
  msgid "%s - Posts"
2675
  msgstr ""
2676
 
2677
+ #: includes/elementor/class-auxin-elementor-core-elements.php:591
2678
  msgid "%s - Portfolio"
2679
  msgstr ""
2680
 
2681
+ #: includes/elementor/class-auxin-elementor-core-elements.php:670
2682
+ #: includes/elementor/class-auxin-elementor-core-elements.php:694
2683
  #. translators: 1: Plugin name 2: PHP 3: Required PHP version
2684
  msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
2685
  msgstr ""
2686
 
2687
+ #: includes/elementor/class-auxin-elementor-core-elements.php:672
2688
  msgid "Elementor"
2689
  msgstr ""
2690
 
2691
+ #: includes/elementor/class-auxin-elementor-core-elements.php:696
2692
  #: includes/elements/code.php:82
2693
  msgid "PHP"
2694
  msgstr ""
2695
 
2696
+ #: includes/elementor/class-auxin-elementor-core-elements.php:750
2697
  msgid "Phlox Icons - Set 1"
2698
  msgstr ""
2699
 
2700
+ #: includes/elementor/class-auxin-elementor-core-elements.php:769
2701
  msgid "Phlox Icons - Set 2"
2702
  msgstr ""
2703
 
7720
  msgid "WooCommerce"
7721
  msgstr ""
7722
 
7723
+ #: includes/elementor/widgets/responsive-table.php:50
7724
+ msgid "Responsive Table"
7725
+ msgstr ""
7726
+
7727
+ #: includes/elementor/widgets/responsive-table.php:102
7728
+ msgid "Table Markup"
7729
+ msgstr ""
7730
+
7731
+ #: includes/elementor/widgets/responsive-table.php:125
7732
+ msgid "Table Heading"
7733
+ msgstr ""
7734
+
7735
+ #: includes/elementor/widgets/responsive-table.php:153
7736
+ msgid "Table Body"
7737
+ msgstr ""
7738
+
7739
+ #: includes/elementor/widgets/responsive-table.php:181
7740
+ msgid "Table Odd Rows"
7741
+ msgstr ""
7742
+
7743
+ #: includes/elementor/widgets/responsive-table.php:200
7744
+ msgid "Table Even Rows"
7745
+ msgstr ""
7746
+
7747
  #: includes/elementor/widgets/search.php:47
7748
  #: includes/elementor/widgets/theme-elements/modern-search.php:908
7749
  #: includes/elementor/widgets/theme-elements/modern-search.php:911
public/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Phlox Core Plugin - v2.5.10 (2020-04-26)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */
1
+ /*! Phlox Core Plugin - v2.5.11 (2020-04-29)
2
  * All required plugins
3
  * http://phlox.pro/
4
  */