PluginProbe ʕ •ᴥ•ʔ
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor / 4.0.1
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor v4.0.1
4.0.2 4.0.1 4.0.0 3.10.02 3.10.01 3.9.10 3.9.9 3.9.8 3.9.7 3.9.5 3.9.6 3.9.3 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.1 2.3.1.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.4.0 2.5.0 2.5.1 2.5.10 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.2 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.6.0 3.6.1 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.8.1 3.8.2 3.9.0 3.9.1 3.9.2 trunk 1.2.6 1.2.7 1.2.9 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.0.9.1 2.0.9.2 2.0.9.3
elementskit-lite / widgets / progressbar / progressbar.php
elementskit-lite / widgets / progressbar Last commit date
progressbar-handler.php 3 years ago progressbar.php 3 weeks ago
progressbar.php
578 lines
1 <?php
2 namespace Elementor;
3
4 use \Elementor\ElementsKit_Widget_Progressbar_Handler as Handler;
5 use \ElementsKit_Lite\Modules\Controls\Controls_Manager as ElementsKit_Controls_Manager;
6
7 if ( ! defined( 'ABSPATH' ) ) exit;
8
9 class ElementsKit_Widget_Progressbar extends Widget_Base {
10 use \ElementsKit_Lite\Widgets\Widget_Notice;
11
12 public $base;
13
14 public function __construct( $data = [], $args = null ) {
15 parent::__construct( $data, $args );
16 }
17
18 public function get_script_depends() {
19 return ['ekit-animate-numbers', 'ekit-progressbar'];
20 }
21
22 public function get_style_depends() {
23 return ['ekit-progressbar'];
24 }
25
26 public function get_name() {
27 return Handler::get_name();
28 }
29
30 public function get_title() {
31 return Handler::get_title();
32 }
33
34 public function get_icon() {
35 return Handler::get_icon();
36 }
37
38 public function get_categories() {
39 return Handler::get_categories();
40 }
41
42 public function get_keywords() {
43 return Handler::get_keywords();
44 }
45
46 public function get_help_url() {
47 return 'https://wpmet.com/doc/progress-bar/';
48 }
49 protected function is_dynamic_content(): bool {
50 return false;
51 }
52
53 protected function register_controls() {
54 $this->start_controls_section(
55 'ekit_progressbar_content', [
56 'label' => esc_html__( 'Progress Bar', 'elementskit-lite' ),
57 ]
58 );
59
60 $this->add_control(
61 'ekit_progressbar_style',
62 [
63 'label' =>esc_html__( 'Style', 'elementskit-lite' ),
64 'type' => Controls_Manager::SELECT,
65 'default' => '',
66 'options' => [
67 '' => esc_html__( 'Default', 'elementskit-lite' ),
68 'inner-content skill-big' => esc_html__( 'Inner Content', 'elementskit-lite' ),
69 'skilltrack-style2' => esc_html__( 'Bar Shadow', 'elementskit-lite' ),
70 'tooltip-style3' => esc_html__( 'Tooltip', 'elementskit-lite' ),
71 'tooltip-style2' => esc_html__( 'Tooltip Box', 'elementskit-lite' ),
72 'tooltip-style' => esc_html__( 'Tooltip Rounded', 'elementskit-lite' ),
73 'pin-style' => esc_html__( 'Tooltip Circle', 'elementskit-lite' ),
74 'style-switch' => esc_html__( 'Switch', 'elementskit-lite' ),
75 'style-ribbon' => esc_html__( 'Ribbon', 'elementskit-lite' ),
76 'style-stripe skill-medium tooltip-style' => esc_html__( 'Stripe', 'elementskit-lite' ),
77 ],
78 ]
79 );
80
81 $this->add_control(
82 'ekit_progressbar_icons',
83 [
84 'label' => esc_html__('Add Icon', 'elementskit-lite'),
85 'label_block' => true,
86 'type' => Controls_Manager::ICONS,
87 'fa4compatibility' => 'ekit_progressbar_icon',
88 'default' => [
89 'value' => 'icon icon-arrow-right',
90 'library' => 'ekiticons',
91 ],
92 'condition' => [
93 'ekit_progressbar_style' => ['inner-content skill-big'],
94 ],
95 ]
96 );
97
98
99 $this->add_control(
100 'ekit_progressbar_title',
101 [
102 'label' => esc_html__('Title', 'elementskit-lite'),
103 'label_block' => true,
104 'type' => Controls_Manager::TEXT,
105 'dynamic' => [
106 'active' => true,
107 ],
108 'default' => 'WordPress',
109 ]
110 );
111
112 $this->add_control(
113 'ekit_progressbar_percentage',
114 [
115 'label' => esc_html__('Percentage', 'elementskit-lite'),
116 'type' => Controls_Manager::NUMBER,
117 'dynamic' => [
118 'active' => true,
119 ],
120 'min' => 1,
121 'max' => 100,
122 'step' => 1,
123 'default' => 90,
124 ]
125 );
126
127 $this->add_control(
128 'ekit_progressbar_percentage_show',
129 [
130 'label' => esc_html__('Hide Percentage Number? ', 'elementskit-lite'),
131 'type' => Controls_Manager::SWITCHER,
132 'default' => 'no',
133 'return_value' => 'none',
134 'label_on' => esc_html__( 'Yes', 'elementskit-lite' ),
135 'label_off' => esc_html__( 'No', 'elementskit-lite' ),
136 'selectors' => [
137 '{{WRAPPER}} .skillbar-group .number-percentage-wraper' => 'display: {{VALUE}};',
138 ],
139 ]
140 );
141
142 $this->add_responsive_control(
143 'ekit_progressbar_data_duration',
144 [
145 'label' => esc_html__('Animation Duration', 'elementskit-lite'),
146 'type' => Controls_Manager::SLIDER,
147 'dynamic' => [
148 'active' => true,
149 ],
150 'size_units' => [ 'px'],
151 'range' => [
152 'px' => [
153 'min' => 100,
154 'max' => 10000,
155 'step' => 5,
156 ],
157
158 ],
159 'default' => [
160 'size' => 3500,
161 ],
162
163 ]
164 );
165
166 $this->end_controls_section();
167
168
169 // Bar Styles
170 $this->start_controls_section(
171 'ekit_progressbar_bar_style', [
172 'label' =>esc_html__( 'Bar', 'elementskit-lite' ),
173 'tab' => Controls_Manager::TAB_STYLE,
174 ]
175 );
176
177 $this->add_group_control(
178 Group_Control_Background::get_type(),
179 [
180 'name' => 'ekit_progressbar_background',
181 'label' => esc_html__( 'Background', 'elementskit-lite' ),
182 'types' => [ 'classic', 'gradient' ],
183 'selector' => '{{WRAPPER}} .skillbar-group .skill-bar',
184 'default' => '#f5f5f5'
185 ]
186 );
187
188 $this->add_responsive_control(
189 'ekit_progressbar_bar_height',
190 [
191 'label' => esc_html__('Height', 'elementskit-lite'),
192 'type' => Controls_Manager::SLIDER,
193 'size_units' => ['px', 'em'],
194 'range' => [
195 'px' => [
196 'min' => 1,
197 'max' => 200,
198 ],
199 ],
200 'separator' => 'before',
201 'condition' => [
202 'ekit_progressbar_style!' => ['style-switch'],
203 ],
204 'selectors' => [
205 '{{WRAPPER}} .skillbar-group .skill-bar' => 'height: {{SIZE}}{{UNIT}};',
206 ],
207 ]
208 );
209
210 $this->add_group_control(
211 Group_Control_Box_Shadow::get_type(),
212 [
213 'name' => 'ekit_progressbar_bar_shadow',
214 'label' => esc_html__( 'Shadow', 'elementskit-lite' ),
215 'selector' => '{{WRAPPER}} .skillbar-group .skill-bar',
216 ]
217 );
218
219 $this->add_responsive_control(
220 'ekit_progressbar_bar_radius',
221 [
222 'label' => esc_html__( 'Border Radius', 'elementskit-lite' ),
223 'type' => Controls_Manager::DIMENSIONS,
224 'size_units' => [ 'px', '%', 'em' ],
225 'selectors' => [
226 '{{WRAPPER}} .skillbar-group .skill-bar' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
227 ],
228 ]
229 );
230
231 $this->add_responsive_control(
232 'ekit_progressbar_bar_padding',
233 [
234 'label' => esc_html__( 'Padding', 'elementskit-lite' ),
235 'type' => Controls_Manager::DIMENSIONS,
236 'size_units' => [ 'px', '%', 'em' ],
237 'condition' => [
238 'ekit_progressbar_style!' => ['style-switch'],
239 ],
240 'selectors' => [
241 '{{WRAPPER}} .skillbar-group .skill-bar' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
242 ],
243 ]
244 );
245
246 $this->add_responsive_control(
247 'ekit_progressbar_bar_margin',
248 [
249 'label' => esc_html__( 'Margin Bottom', 'elementskit-lite' ),
250 'type' => Controls_Manager::SLIDER,
251 'size_units' => ['px', 'em'],
252 'selectors' => [
253 '{{WRAPPER}} .skillbar-group .skill-bar' => 'margin-bottom: {{SIZE}}{{UNIT}};',
254 ],
255
256 ]
257 );
258
259 $this->end_controls_section();
260
261
262 // Track Styles
263 $this->start_controls_section(
264 'ekit_progressbar_track_style', [
265 'label' =>esc_html__( 'Track', 'elementskit-lite' ),
266 'tab' => Controls_Manager::TAB_STYLE,
267 ]
268 );
269
270 $this->add_group_control(
271 Group_Control_Background::get_type(),
272 [
273 'name' => 'ekit_progressbar_track_color',
274 'label' => esc_html__( 'Track Color', 'elementskit-lite' ),
275 'types' => [ 'classic', 'gradient' ],
276
277 'condition' => [
278 'ekit_progressbar_style!' => ['style-stripe skill-medium tooltip-style'],
279 ],
280 'selector' => '{{WRAPPER}} .skillbar-group .skill-track',
281 ]
282 );
283 //ekit_progressbar_style style-stripe skill-medium tooltip-style
284 $this->add_responsive_control(
285 'ekit_progressbar_strip_color', [
286 'label' => esc_html__( 'Stripe Color', 'elementskit-lite' ),
287 'type' => Controls_Manager::COLOR,
288 'condition' => [
289 'ekit_progressbar_style' => ['style-stripe skill-medium tooltip-style'],
290 ],
291 'selectors' => [
292 '{{WRAPPER}} .style-stripe .single-skill-bar .skill-track' => 'background: repeating-linear-gradient(to right, {{VALUE}}, {{VALUE}} 4px, #FFFFFF 4px, #FFFFFF 8px);',
293 ],
294
295 ]
296 );
297
298 $this->add_responsive_control(
299 'ekit_progressbar_switch_color', [
300 'label' => esc_html__( 'Switch Color', 'elementskit-lite' ),
301 'type' => Controls_Manager::COLOR,
302 'condition' => [
303 'ekit_progressbar_style' => ['style-switch'],
304 ],
305 'selectors' => [
306 '{{WRAPPER}} .skillbar-group .single-skill-bar .skill-track:before' => 'border-color: {{VALUE}};',
307 '{{WRAPPER}} .skillbar-group .single-skill-bar .skill-track:after' => 'color: {{VALUE}};'
308 ],
309 ]
310 );
311
312 $this->add_group_control(
313 Group_Control_Box_Shadow::get_type(),
314 [
315 'name' => 'ekit_progressbar_track_shadow',
316 'label' => esc_html__( 'Shadow', 'elementskit-lite' ),
317 'selector' => '{{WRAPPER}} .skillbar-group .skill-track',
318 ]
319 );
320
321 $this->add_responsive_control(
322 'ekit_progressbar_track_radius',
323 [
324 'label' => esc_html__( 'Border Radius', 'elementskit-lite' ),
325 'type' => Controls_Manager::DIMENSIONS,
326 'size_units' => [ 'px', '%', 'em' ],
327 'selectors' => [
328 '{{WRAPPER}} .skillbar-group .skill-track' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
329 ],
330 ]
331 );
332
333 $this->end_controls_section();
334
335
336 // Title Styles
337 $this->start_controls_section(
338 'ekit_progressbar_title_style', [
339 'label' =>esc_html__( 'Title', 'elementskit-lite' ),
340 'tab' => Controls_Manager::TAB_STYLE,
341 ]
342 );
343
344 $this->add_responsive_control(
345 'ekit_progressbar_title_color', [
346 'label' => esc_html__( 'Color', 'elementskit-lite' ),
347 'type' => Controls_Manager::COLOR,
348 'selectors' => [
349 '{{WRAPPER}} .skillbar-group .skill-title' => 'color: {{VALUE}};'
350 ],
351 ]
352 );
353
354 $this->add_group_control(
355 Group_Control_Typography::get_type(), [
356 'name' => 'ekit_progressbar_title_typography',
357 'selector' => '{{WRAPPER}} .skillbar-group .skill-title',
358 ]
359 );
360
361 $this->add_group_control(
362 Group_Control_Text_Shadow::get_type(), [
363 'name' => 'ekit_progressbar_title_shadow',
364 'selector' => '{{WRAPPER}} .skillbar-group .skill-title',
365 ]
366 );
367
368 $this->add_responsive_control(
369 'ekit_progressbar_margin_bottom',
370 [
371 'type' => Controls_Manager::SLIDER,
372 'label' => esc_html__( 'Margin Bottom', 'elementskit-lite' ),
373 'size_units' => ['px'],
374 'range' => [
375 'px' => [
376 'min' => 1,
377 'max' => 100,
378 ],
379 ],
380 'selectors' => [
381 '{{WRAPPER}} .skill-bar-content' => 'margin-bottom: {{SIZE}}{{UNIT}};',
382 ],
383 ]
384 );
385
386 $this->end_controls_section();
387
388
389 // Percent Styles
390 $this->start_controls_section(
391 'ekit_progressbar_percent_style', [
392 'label' =>esc_html__( 'Percent', 'elementskit-lite' ),
393 'tab' => Controls_Manager::TAB_STYLE,
394 ]
395 );
396
397 $this->add_responsive_control(
398 'ekit_progressbar_percent_color', [
399 'label' => esc_html__( 'Color', 'elementskit-lite' ),
400 'type' => Controls_Manager::COLOR,
401 'selectors' => [
402 '{{WRAPPER}} .skillbar-group .number-percentage-wraper' => 'color: {{VALUE}};'
403 ],
404 ]
405 );
406
407 $this->add_group_control(
408 Group_Control_Typography::get_type(), [
409 'name' => 'ekit_progressbar_percent_typography',
410 'selector' => '{{WRAPPER}} .skillbar-group .number-percentage-wraper',
411 ]
412 );
413
414 $this->add_responsive_control(
415 'ekit_progressbar_percent_tooltip_bg', [
416 'label' => esc_html__( 'Background Color', 'elementskit-lite' ),
417 'type' => Controls_Manager::COLOR,
418 'condition' => [
419 'ekit_progressbar_style' => ['tooltip-style', 'style-stripe skill-medium tooltip-style'],
420 ],
421 'selectors' => [
422 '{{WRAPPER}} .skillbar-group .single-skill-bar .svg-content > svg' => 'fill: {{VALUE}};'
423 ],
424 ]
425 );
426
427 $this->add_responsive_control(
428 'ekit_progressbar_percent_pin_bg', [
429 'label' => esc_html__( 'Background Color', 'elementskit-lite' ),
430 'type' => Controls_Manager::COLOR,
431 'condition' => [
432 'ekit_progressbar_style' => ['style-ribbon', 'pin-style', 'tooltip-style2', 'tooltip-style3'],
433 ],
434 'selectors' => [
435 '{{WRAPPER}} .skillbar-group .single-skill-bar .number-percentage-wraper,
436 {{WRAPPER}} .skillbar-group.pin-style .single-skill-bar .number-percentage-wraper:before' => 'background-color: {{VALUE}};',
437 '{{WRAPPER}} .skillbar-group .single-skill-bar .number-percentage-wraper:before' => 'color: {{VALUE}};',
438 ],
439 ]
440 );
441
442 $this->add_group_control(
443 Group_Control_Text_Shadow::get_type(), [
444 'name' => 'ekit_progressbar_percent_shadow',
445 'selector' => '{{WRAPPER}} .skillbar-group .number-percentage-wraper',
446 ]
447 );
448
449 $this->end_controls_section();
450
451 // Icon Styles
452 $this->start_controls_section(
453 'ekit_progressbar_icon_style', [
454 'label' => esc_html__( 'Icon', 'elementskit-lite' ),
455 'tab' => Controls_Manager::TAB_STYLE,
456 'condition' => [
457 'ekit_progressbar_style!' => '',
458 'ekit_progressbar_style' => 'inner-content skill-big'
459 ]
460 ]
461 );
462
463 $this->add_responsive_control(
464 'ekit_progressbar_icon_color', [
465 'label' => esc_html__( 'Color', 'elementskit-lite' ),
466 'type' => Controls_Manager::COLOR,
467 'selectors' => [
468 '{{WRAPPER}} .skillbar-group .skill-track > span i' => 'color: {{VALUE}};',
469 '{{WRAPPER}} .skillbar-group .skill-track > span svg' => 'fill: {{VALUE}};',
470 ],
471 ]
472 );
473 $this->add_responsive_control(
474 'ekit_progressbar_icon_typography',
475 [
476 'type' => Controls_Manager::SLIDER,
477 'label' => esc_html__( 'Icon Size', 'elementskit-lite' ),
478 'size_units' => ['px', 'em'],
479 'range' => [
480 'px' => [
481 'min' => 1,
482 'max' => 200,
483 ],
484 ],
485 'default' => ['unit' => 'px', 'size' => '15'],
486 'selectors' => [
487 '{{WRAPPER}} .skillbar-group .skill-track > span i' => 'font-size: {{SIZE}}{{UNIT}};',
488 '{{WRAPPER}} .skillbar-group .skill-track > span svg' => 'max-width: {{SIZE}}{{UNIT}};',
489 ],
490 ]
491 );
492
493 $this->end_controls_section();
494
495 $this->insert_pro_message();
496 }
497
498 protected function render( ) {
499 echo '<div class="ekit-wid-con" >';
500 $this->render_raw();
501 echo '</div>';
502 }
503
504 protected function render_raw( ) {
505 $settings = $this->get_settings_for_display();
506 extract($settings);
507
508 ?>
509 <div class="waypoint-tigger">
510 <div class="skillbar-group <?php echo esc_attr( $ekit_progressbar_style ); ?>" data-progress-bar="">
511 <div class="single-skill-bar">
512 <?php if ( 'style-switch' != $ekit_progressbar_style ): ?>
513 <div class="skill-bar-content">
514 <span class="skill-title"><?php echo esc_html( $ekit_progressbar_title ); ?></span>
515 </div><!-- .skill-bar-content END -->
516 <div class="skill-bar">
517 <div class="skill-track">
518 <?php if ( 'inner-content skill-big' == $ekit_progressbar_style ):
519
520 // new icon
521 $migrated = isset( $settings['__fa4_migrated']['ekit_progressbar_icons'] );
522 // Check if its a new widget without previously selected icon using the old Icon control
523 $is_new = empty( $settings['ekit_progressbar_icon'] );
524 ?>
525
526 <span class="skill-track-icon" >
527 <?php
528 // new icon
529 $migrated = isset( $settings['__fa4_migrated']['ekit_progressbar_icons'] );
530 // Check if its a new widget without previously selected icon using the old Icon control
531 $is_new = empty( $settings['ekit_progressbar_icon'] );
532 if ( $is_new || $migrated ) {
533 // new icon
534 Icons_Manager::render_icon( $settings['ekit_progressbar_icons'], [ 'aria-hidden' => 'true' ] );
535 } else {
536 ?>
537 <i class="<?php echo esc_attr($settings['ekit_progressbar_icon']); ?>" aria-hidden="true"></i>
538 <?php
539 }
540 ?>
541 </span>
542 <?php endif; ?>
543
544 <div class="number-percentage-wraper">
545 <span class="number-percentage" data-value="<?php echo esc_attr( $ekit_progressbar_percentage ); ?>" data-animation-duration="<?php echo esc_attr( $ekit_progressbar_data_duration['size'] ); ?>">0</span>%
546
547 <?php if ( 'tooltip-style' == $ekit_progressbar_style ): ?>
548 <div class="svg-content">
549 <svg version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 116 79.6"> <g> <path d="M0,18.3v21.3C0,49.8,8.2,58,18.3,58h5.9c7.8,0,15.3,3.1,20.8,8.6l13,13l13-13c5.5-5.5,13-8.6,20.8-8.6h5.9 c10.1,0,18.3-8.2,18.3-18.3V18.3C116,8.2,107.8,0,97.7,0H18.3C8.2,0,0,8.2,0,18.3z"/></g></svg>
550 </div>
551 <?php elseif( 'style-stripe skill-medium tooltip-style' == $ekit_progressbar_style ): ?>
552 <div class="svg-content">
553 <svg version="1.1" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 116 79.6"> <g> <path d="M0,18.3v21.3C0,49.8,8.2,58,18.3,58h5.9c7.8,0,15.3,3.1,20.8,8.6l13,13l13-13c5.5-5.5,13-8.6,20.8-8.6h5.9 c10.1,0,18.3-8.2,18.3-18.3V18.3C116,8.2,107.8,0,97.7,0H18.3C8.2,0,0,8.2,0,18.3z"/></g></svg>
554 </div>
555 <?php endif; ?>
556 </div>
557 </div>
558 </div><!-- .skill-bar END -->
559 <?php else: ?>
560 <div class="content-group">
561 <div class="skill-bar-content">
562 <span class="skill-title"><?php echo esc_html( $ekit_progressbar_title ); ?></span>
563 </div><!-- .skill-bar-content END -->
564 <div class="skill-bar">
565 <div class="skill-track"></div>
566 </div><!-- .skill-bar END -->
567 </div>
568 <span class="number-percentage-wraper">
569 <span class="number-percentage" data-value="<?php echo esc_attr( $ekit_progressbar_percentage ); ?>" data-animation-duration="<?php echo esc_attr( $ekit_progressbar_data_duration['size'] ); ?>">0</span>%
570 </span>
571 <?php endif; ?>
572 </div><!-- .single-skill-bar END -->
573 </div><!-- .skillbar-group END -->
574 </div>
575 <?php
576 }
577 }
578