PluginProbe ʕ •ᴥ•ʔ
Shortcodes and extra features for Phlox theme / 2.17.14
Shortcodes and extra features for Phlox theme v2.17.14
2.17.21 2.17.20 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.6 1.0.9 1.1.0 1.3.0 1.3.1 1.3.10 1.3.14 1.3.2 1.3.3 1.3.6 1.4.0 1.4.1 1.4.2 1.5.0 1.5.2 1.6.0 1.6.2 1.6.4 1.7.0 1.7.2 2.10.0 2.10.1 2.10.3 2.10.5 2.10.7 2.10.8 2.10.9 2.11.0 2.11.1 2.11.2 2.12.0 2.14.0 2.15.0 2.15.2 2.15.4 2.15.5 2.15.6 2.15.7 2.15.8 2.15.9 2.16.0 2.16.1 2.16.2 2.16.3 2.16.4 2.17.0 2.17.1 2.17.12 2.17.13 2.17.14 2.17.15 2.17.16 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.8 2.17.9 2.4.12 2.4.13 2.4.14 2.4.16 2.4.18 2.4.19 2.4.9 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.14 2.5.15 2.5.16 2.5.17 2.5.19 2.5.2 2.5.20 2.5.3 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.10 2.6.12 2.6.13 2.6.14 2.6.15 2.6.16 2.6.17 2.6.19 2.6.2 2.6.20 2.6.4 2.6.5 2.6.7 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.9 2.9.0 2.9.12 2.9.14 2.9.15 2.9.16 2.9.17 2.9.18 2.9.19 2.9.2 2.9.20 2.9.21 2.9.22 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8
auxin-elements / includes / elements / text.php
auxin-elements / includes / elements Last commit date
about-widget.php 1 year ago accordion-widget.php 1 year ago accordion.php 1 year ago attachment-url.php 1 year ago audio.php 1 year ago before-after.php 1 year ago button.php 1 year ago code.php 1 year ago contact-box.php 1 year ago contact-form.php 1 year ago custom-list.php 6 months ago divider.php 1 year ago dropcap.php 1 year ago facebook.php 1 year ago flickr.php 1 year ago gallery.php 1 year ago gmap.php 1 year ago highlight.php 1 year ago image.php 1 year ago instagram-feed.php 1 year ago latest-posts-slider.php 1 year ago popular-posts-widget.php 1 year ago products-grid.php 1 year ago quote.php 1 year ago recent-posts-grid-carousel.php 1 year ago recent-posts-land-style.php 1 year ago recent-posts-masonry.php 1 year ago recent-posts-tiles-carousel.php 1 year ago recent-posts-tiles.php 1 year ago recent-posts-timeline.php 1 year ago recent-posts-widget.php 1 year ago recent-products.php 1 year ago related-posts.php 8 years ago sample-element.php 1 year ago search.php 1 year ago socials-list.php 1 year ago staff.php 1 year ago tab-widget.php 1 year ago tabs.php 1 year ago testimonial.php 1 year ago text.php 1 year ago touch-slider.php 1 year ago video.php 1 year ago
text.php
1217 lines
1 <?php
2 /**
3 * Text element
4 *
5 *
6 * @package Auxin
7 * @license LICENSE.txt
8 * @author averta
9 * @link http://phlox.pro/
10 * @copyright (c) 2010-2025 averta
11 */
12 function auxin_get_text_master_array( $master_array ) {
13
14 $master_array['aux_text'] = array(
15 'name' => __('Info Box', 'auxin-elements'),
16 'auxin_output_callback' => 'auxin_widget_column_callback',
17 'base' => 'aux_text',
18 'description' => __('Iconic text block.', 'auxin-elements'),
19 'class' => 'aux-widget-text',
20 'show_settings_on_create' => true,
21 'weight' => 1,
22 'is_widget' => false,
23 'is_shortcode' => true,
24 'category' => THEME_NAME,
25 'group' => '',
26 'admin_enqueue_js' => '',
27 'admin_enqueue_css' => '',
28 'front_enqueue_js' => '',
29 'front_enqueue_css' => '',
30 'icon' => 'aux-element aux-pb-icons-text',
31 'custom_markup' => '',
32 'js_view' => '',
33 'html_template' => '',
34 'deprecated' => '',
35 'content_element' => '',
36 'as_parent' => '',
37 'as_child' => '',
38 'params' => array(
39 array(
40 'heading' => __('Title','auxin-elements'),
41 'description' => __('Text title, leave it empty if you don`t need title.', 'auxin-elements'),
42 'param_name' => 'title',
43 'type' => 'textfield',
44 'value' => '',
45 'def_value' => '',
46 'holder' => 'textfield',
47 'class' => 'title',
48 'description' => '',
49 'admin_label' => false,
50 'dependency' => '',
51 'weight' => '',
52 'group' => '' ,
53 'edit_field_class' => ''
54 ),
55 array(
56 'heading' => __('Subtitle','auxin-elements'),
57 'description' => '',
58 'param_name' => 'subtitle',
59 'type' => 'textfield',
60 'value' => '',
61 'def_value' => '',
62 'holder' => 'textfield',
63 'class' => 'subtitle',
64 'description' => '',
65 'admin_label' => false,
66 'dependency' => '',
67 'weight' => '',
68 'group' => '' ,
69 'edit_field_class' => ''
70 ),
71 array(
72 'heading' => __('Title Link','auxin-elements'),
73 'description' => '',
74 'param_name' => 'title_link',
75 'type' => 'textfield',
76 'value' => '',
77 'def_value' => '',
78 'holder' => 'textfield',
79 'class' => 'title_link',
80 'admin_label' => false,
81 'dependency' => '',
82 'weight' => '',
83 'group' => '' ,
84 'edit_field_class' => ''
85 ),
86 array(
87 'heading' => __('Wrapper Style','auxin-elements'),
88 'description' => '',
89 'param_name' => 'wrapper_style',
90 'type' => 'aux_visual_select',
91 'def_value' => 'simple',
92 'choices' => array(
93 'simple' => array(
94 'label' => __('Simple', 'auxin-elements'),
95 'image' => AUXIN_URL . 'images/visual-select/text-normal.svg'
96 ),
97 'outline' => array(
98 'label' => __('Outlined', 'auxin-elements'),
99 'image' => AUXIN_URL . 'images/visual-select/text-outline.svg'
100 ),
101 'box' => array(
102 'label' => __('Boxed', 'auxin-elements'),
103 'image' => AUXIN_URL . 'images/visual-select/text-boxed.svg'
104 )
105 ),
106 'holder' => '',
107 'class' => 'wrapper_style',
108 'admin_label' => false,
109 'dependency' => '',
110 'weight' => '',
111 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
112 'edit_field_class' => ''
113 ),
114 array(
115 'heading' => __('Text Align','auxin-elements'),
116 'description' => '',
117 'param_name' => 'text_align',
118 'type' => 'aux_visual_select',
119 'def_value' => '',
120 'choices' => array(
121 'left' => array(
122 'label' => __('Left', 'auxin-elements'),
123 'css_class' => 'axiAdminIcon-text-align-left',
124 ),
125 'center' => array(
126 'label' => __('Center', 'auxin-elements'),
127 'css_class' => 'axiAdminIcon-text-align-center'
128 ),
129 'right' => array(
130 'label' => __('Right', 'auxin-elements'),
131 'css_class' => 'axiAdminIcon-text-align-right'
132 )
133 ),
134 'holder' => '',
135 'class' => 'text_align',
136 'admin_label' => false,
137 'dependency' => '',
138 'weight' => '',
139 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
140 'edit_field_class' => ''
141 ),
142 array(
143 'heading' => __('Text Align on Small Screens','auxin-elements'),
144 'description' => '',
145 'param_name' => 'text_align_resp',
146 'type' => 'aux_visual_select',
147 'def_value' => '',
148 'choices' => array(
149 'left' => array(
150 'label' => __('Left', 'auxin-elements'),
151 'css_class' => 'axiAdminIcon-text-align-left',
152 ),
153 'center' => array(
154 'label' => __('Center', 'auxin-elements'),
155 'css_class' => 'axiAdminIcon-text-align-center'
156 ),
157 'right' => array(
158 'label' => __('Right', 'auxin-elements'),
159 'css_class' => 'axiAdminIcon-text-align-right'
160 )
161 ),
162 'holder' => '',
163 'class' => 'text_align_resp',
164 'admin_label' => false,
165 'dependency' => '',
166 'weight' => '',
167 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
168 'edit_field_class' => ''
169 ),
170 array(
171 'heading' => __('Text Color Scheme','auxin-elements'),
172 'description' => '',
173 'param_name' => 'text_color_mode',
174 'type' => 'dropdown',
175 'def_value' => '',
176 'value' => array(
177 '' => __( 'Default' , 'auxin-elements' ),
178 'dark' => __( 'Dark' , 'auxin-elements' ),
179 'light' => __( 'Light' , 'auxin-elements' )
180 ),
181 'holder' => '',
182 'class' => 'text_color_mode',
183 'admin_label' => false,
184 'dependency' => '',
185 'weight' => '',
186 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
187 'edit_field_class' => ''
188 ),
189
190 array(
191 'heading' => __('Wrapper Background Type', 'auxin-elements' ),
192 'description' => '',
193 'param_name' => 'wrapper_type',
194 'type' => 'dropdown',
195 'def_value' => '',
196 'value' => array(
197 'color' => __( 'Single Color' , 'auxin-elements' ),
198 'image' => __( 'Background Image' , 'auxin-elements' )
199 ),
200 'holder' => '',
201 'class' => 'wrapper_type',
202 'admin_label' => false,
203 'dependency' => '',
204 'weight' => '',
205 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
206 'edit_field_class' => ''
207 ),
208
209 array(
210 'heading' => __('Wrapper Background Color', 'auxin-elements'),
211 'description' => '',
212 'param_name' => 'wrapper_bg_color',
213 'type' => 'colorpicker',
214 'def_value' => '',
215 'value' => '',
216 'holder' => '',
217 'class' => 'wrapper_bg_color',
218 'admin_label' => false,
219 'dependency' => array(
220 'element' => 'wrapper_type',
221 'value' => array('color')
222 ),
223 'weight' => '',
224 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
225 'edit_field_class' => ''
226 ),
227 array(
228 'heading' => __('Wrapper Background image', 'auxin-elements'),
229 'description' => '',
230 'param_name' => 'wrapper_bg_image',
231 'type' => 'attach_image',
232 'def_value' => '',
233 'value' => '',
234 'holder' => '',
235 'class' => 'wrapper_bg_image',
236 'admin_label' => false,
237 'dependency' => array(
238 'element' => 'wrapper_type',
239 'value' => array('image')
240 ),
241 'weight' => '',
242 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
243 'edit_field_class' => ''
244 ),
245 array(
246 'heading' => __('Wrapper Background Image Display', 'auxin-elements'),
247 'description' => '',
248 'param_name' => 'background_display',
249 'type' => 'dropdown',
250 'value' => array(
251 'cover' => __( 'Cover', 'auxin-elements' ),
252 'tile' => __( 'Tiled Image', 'auxin-elements' ),
253 'center' => __( 'Centered, with original size', 'auxin-elements' ),
254 'fixed' => __( 'Fixed', 'auxin-elements' )
255 ),
256 'holder' => '',
257 'class' => 'background_display',
258 'admin_label' => false,
259 'dependency' => array(
260 'element' => 'wrapper_type',
261 'value' => array('image')
262 ),
263 'weight' => '',
264 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
265 'edit_field_class' => ''
266 ),
267 array(
268 'heading' => __('Wrapper Background Overlay', 'auxin-elements'),
269 'description' => '',
270 'param_name' => 'overlay_color',
271 'type' => 'colorpicker',
272 'def_value' => '',
273 'value' => '',
274 'holder' => '',
275 'class' => 'overlay_color',
276 'admin_label' => false,
277 'dependency' => array(
278 'element' => 'wrapper_type',
279 'value' => array('image')
280 ),
281 'weight' => '',
282 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
283 'edit_field_class' => ''
284 ),
285 array(
286 'heading' => __('Header Background Type', 'auxin-elements' ),
287 'description' => '',
288 'param_name' => 'header_type',
289 'type' => 'dropdown',
290 'def_value' => '',
291 'value' => array(
292 'color' => __( 'Single Color' , 'auxin-elements' ),
293 'image' => __( 'Background Image' , 'auxin-elements' )
294 ),
295 'holder' => '',
296 'class' => 'header_type',
297 'admin_label' => false,
298 'dependency' => '',
299 'weight' => '',
300 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
301 'edit_field_class' => ''
302 ),
303 array(
304 'heading' => __( 'Header Background color', 'auxin-elements' ),
305 'description' => '',
306 'param_name' => 'header_bg_color',
307 'type' => 'colorpicker',
308 'def_value' => '',
309 'value' => '',
310 'holder' => '',
311 'class' => '',
312 'admin_label' => '',
313 'dependency' => array(
314 'element' => 'header_type',
315 'value' => array('color')
316 ),
317 'weight' => '',
318 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
319 'edit_field_class' => ''
320
321 ),
322 array(
323 'heading' => __('Header Background image', 'auxin-elements'),
324 'description' => '',
325 'param_name' => 'header_bg_img',
326 'type' => 'attach_image',
327 'def_value' => '',
328 'value' => '',
329 'holder' => '',
330 'class' => 'wrapper_bg_image',
331 'admin_label' => false,
332 'dependency' => array(
333 'element' => 'header_type',
334 'value' => array('image')
335 ),
336 'weight' => '',
337 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
338 'edit_field_class' => ''
339 ),
340 array(
341 'heading' => __('Header Background Image Display', 'auxin-elements'),
342 'description' => '',
343 'param_name' => 'header_img_display',
344 'type' => 'dropdown',
345 'value' => array(
346 'cover' => __( 'Cover', 'auxin-elements' ),
347 'tile' => __( 'Tiled Image', 'auxin-elements' ),
348 'center' => __( 'Centered, with original size', 'auxin-elements' ),
349 'fixed' => __( 'Fixed', 'auxin-elements' )
350 ),
351 'holder' => '',
352 'class' => 'background_display',
353 'admin_label' => false,
354 'dependency' => array(
355 'element' => 'header_type',
356 'value' => array('image')
357 ),
358 'weight' => '',
359 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
360 'edit_field_class' => ''
361 ),
362 array(
363 'heading' => __('Icon or image', 'auxin-elements' ),
364 'description' => __('Please choose an icon from avaialable icons.', 'auxin-elements'),
365 'heading' => __('Display Icon or Image', 'auxin-elements'),
366 'description' => '',
367 'param_name' => 'icon_or_image',
368 'type' => 'dropdown',
369 'def_value' => 'icon',
370 'value' => array(
371 'icon' => __( 'Icon' , 'auxin-elements' ),
372 'image' => __( 'Image' , 'auxin-elements' ),
373 ),
374 'holder' => '',
375 'class' => 'icon_or_image',
376 'admin_label' => false,
377 'dependency' => '',
378 'weight' => '',
379 'group' => __( 'Icon & Image', 'auxin-elements' ),
380 'edit_field_class' => ''
381 ),
382 array(
383 'heading' => __('Icon', 'auxin-elements' ),
384 'description' => __('Please choose an icon from the list.', 'auxin-elements'),
385 'param_name' => 'icon',
386 'type' => 'aux_iconpicker',
387 'value' => '',
388 'def_value' => '',
389 'holder' => 'textfield',
390 'class' => 'aux_iconpicker',
391 'admin_label' => false,
392 'dependency' => array(
393 'element' => 'icon_or_image',
394 'value' => array('icon')
395 ),
396 'weight' => '',
397 'group' => __( 'Icon & Image', 'auxin-elements' ),
398 'edit_field_class' => ''
399 ),
400 array(
401 'heading' => __('Image','auxin-elements'),
402 'description' => '',
403 'param_name' => 'image',
404 'type' => 'attach_image',
405 'def_value' => '',
406 'value' => '',
407 'holder' => '',
408 'class' => 'image',
409 'admin_label' => false,
410 'dependency' => array(
411 'element' => 'icon_or_image',
412 'value' => array('image')
413 ),
414 'weight' => '',
415 'group' => __( 'Icon & Image', 'auxin-elements' ),
416 'edit_field_class' => ''
417 ),
418 array(
419 'heading' => __('Image Size','auxin-elements'),
420 'description' => '',
421 'param_name' => 'image_size',
422 'type' => 'dropdown',
423 'def_value' => '',
424 'value' => array(
425 'full' => __( 'Orginal Size' , 'auxin-elements' ),
426 'large' => __( 'Large' , 'auxin-elements' ),
427 'medium' => __( 'Medium' , 'auxin-elements' ),
428 'thumbnail' => __( 'Thumbnail' , 'auxin-elements' )
429 ),
430 'holder' => '',
431 'class' => 'image_size',
432 'admin_label' => false,
433 'dependency' => array(
434 'element' => 'icon_or_image',
435 'value' => array('image')
436 ),
437 'weight' => '',
438 'group' => __( 'Icon & Image', 'auxin-elements' ),
439 'edit_field_class' => ''
440 ),
441 array(
442 'heading' => __('Icon color','auxin-elements'),
443 'description' => __('Choose a color for icon.','auxin-elements'),
444 'param_name' => 'icon_color',
445 'type' => 'colorpicker',
446 'def_value' => '#888',
447 'value' => '',
448 'holder' => '',
449 'class' => 'icon_color',
450 'admin_label' => false,
451 'dependency' => array(
452 'element' => 'icon_or_image',
453 'value' => array('icon')
454 ),
455 'weight' => '',
456 'group' => __( 'Icon & Image', 'auxin-elements' ),
457 'edit_field_class' => ''
458 ),
459 array(
460 'heading' => __('Icon size','auxin-elements'),
461 'description' => '',
462 'param_name' => 'icon_size',
463 'type' => 'dropdown',
464 'def_value' => '',
465 'value' => array(
466 'small' => __( 'Small' , 'auxin-elements' ),
467 'medium' => __( 'Medium' , 'auxin-elements' ),
468 'large' => __( 'Large' , 'auxin-elements' ),
469 'x-large' => __( 'X-Large' , 'auxin-elements' )
470 ),
471 'holder' => '',
472 'class' => 'icon_size',
473 'admin_label' => false,
474 'dependency' => array(
475 'element' => 'icon_or_image',
476 'value' => array('icon')
477 ),
478 'weight' => '',
479 'group' => __( 'Icon & Image', 'auxin-elements' ),
480 'edit_field_class' => ''
481 ),
482 array(
483 'heading' => __('Icon background color','auxin-elements'),
484 'description' => __('Choose a color for background of icon.','auxin-elements'),
485 'param_name' => 'icon_bg_color',
486 'type' => 'colorpicker',
487 'def_value' => '',
488 'value' => '',
489 'holder' => '',
490 'class' => 'icon_bg_color',
491 'admin_label' => false,
492 'dependency' => array(
493 'element' => 'icon_or_image',
494 'value' => array('icon')
495 ),
496 'weight' => '',
497 'group' => __( 'Icon & Image', 'auxin-elements' ),
498 'edit_field_class' => ''
499 ),
500 array(
501 'heading' => __( 'Icon/Image outline color', 'auxin-elements' ),
502 'description' => __( 'Choose a color for the border around the icon or image.', 'auxin-elements' ),
503 'param_name' => 'icon_border_color',
504 'type' => 'colorpicker',
505 'def_value' => '',
506 'value' => '',
507 'holder' => '',
508 'class' => 'icon_border_color',
509 'admin_label' => false,
510 'weight' => '',
511 'group' => 'Icon & Image',
512 'edit_field_class' => ''
513 ),
514
515 array(
516 'heading' => __( 'Icon/Image outline width', 'auxin-elements' ),
517 'description' => __( 'Choose a width for the border around the icon or image.', 'auxin-elements' ),
518 'param_name' => 'icon_border_width',
519 'type' => 'textfield',
520 'def_value' => '1',
521 'value' => '',
522 'holder' => '',
523 'class' => 'icon_border_width',
524 'admin_label' => false,
525 'weight' => '',
526 'group' => __( 'Icon & Image', 'auxin-elements' ),
527 'edit_field_class' => ''
528 ),
529 array(
530 'heading' => __('Icon background shape','auxin-elements'),
531 'description' => '',
532 'param_name' => 'icon_shape',
533 'type' => 'aux_visual_select',
534 'choices' => array(
535 'circle' => array(
536 'label' => __('Circle', 'auxin-elements'),
537 'image' => AUXIN_URL . 'images/visual-select/icon-style-circle.svg'
538 ),
539 'semi-circle' => array(
540 'label' => __('Semi-circle', 'auxin-elements'),
541 'image' => AUXIN_URL . 'images/visual-select/icon-style-semi-circle.svg'
542 ),
543 'round-rect' => array(
544 'label' => __('Round Rectangle', 'auxin-elements'),
545 'image' => AUXIN_URL . 'images/visual-select/icon-style-round-rectangle.svg'
546 ),
547 'cross-rect' => array(
548 'label' => __('Cross Rectangle', 'auxin-elements'),
549 'image' => AUXIN_URL . 'images/visual-select/icon-style-cross-rectangle.svg'
550 ),
551 'rect' => array(
552 'label' => __('Rectangle', 'auxin-elements'),
553 'image' => AUXIN_URL . 'images/visual-select/icon-style-rectangle.svg'
554 )
555 ),
556 'holder' => '',
557 'class' => 'icon_shape',
558 'dependency' => array(
559 'element' => 'icon_or_image',
560 'value' => array('icon')
561 ),
562 'admin_label' => false,
563 'weight' => '',
564 'group' =>__( 'Icon & Image', 'auxin-elements' ),
565 'edit_field_class' => ''
566 ),
567 array(
568 'heading' => __('Image shape','auxin-elements'),
569 'description' => '',
570 'param_name' => 'img_shape',
571 'type' => 'aux_visual_select',
572 'choices' => array(
573 'default' => array(
574 'label' => __('Default Aspect', 'auxin-elements'),
575 'image' => AUXIN_URL . 'images/visual-select/icon-style-rectangle.svg'
576 ),
577 'circle' => array(
578 'label' => __('Circle', 'auxin-elements'),
579 'image' => AUXIN_URL . 'images/visual-select/icon-style-circle.svg'
580 ),
581 'semi-circle' => array(
582 'label' => __('Semi-circle', 'auxin-elements'),
583 'image' => AUXIN_URL . 'images/visual-select/icon-style-semi-circle.svg'
584 ),
585 'round-rect' => array(
586 'label' => __('Round Rectangle', 'auxin-elements'),
587 'image' => AUXIN_URL . 'images/visual-select/icon-style-round-rectangle.svg'
588 ),
589 'rect' => array(
590 'label' => __('Rectangle', 'auxin-elements'),
591 'image' => AUXIN_URL . 'images/visual-select/icon-style-rectangle.svg'
592 )
593 ),
594 'holder' => '',
595 'dependency' => array(
596 'element' => 'icon_or_image',
597 'value' => array('image')
598 ),
599 'class' => 'img_shape',
600 'admin_label' => false,
601 'weight' => '',
602 'group' => __( 'Icon & Image', 'auxin-elements' ),
603 'edit_field_class' => ''
604 ),
605 array(
606 'heading' => __('Image or icon position','auxin-elements'),
607 'description' => '',
608 'param_name' => 'image_position',
609 'type' => 'aux_visual_select',
610 'def_value' => '',
611 'choices' => array(
612 'top' => array(
613 'label' => __('Top', 'auxin-elements'),
614 'image' => AUXIN_URL . 'images/visual-select/column-icon-top.svg'
615 ),
616 'left' => array(
617 'label' => __('Left', 'auxin-elements'),
618 'image' => AUXIN_URL . 'images/visual-select/column-icon-left.svg'
619 ),
620 'right' => array(
621 'label' => __('Right', 'auxin-elements'),
622 'image' => AUXIN_URL . 'images/visual-select/column-icon-right.svg'
623 )
624 ),
625 'holder' => '',
626 'class' => 'image_position',
627 'admin_label' => false,
628 'dependency' => '',
629 'weight' => '',
630 'group' => __( 'Icon & Image', 'auxin-elements' ),
631 'edit_field_class' => ''
632 ),
633 array(
634 'heading' => __('Display button', 'auxin-elements' ),
635 'description' => __('Display a button in text widget', 'auxin-elements' ),
636 'param_name' => 'display_button',
637 'type' => 'checkbox',
638 'def_value' => '',
639 'value' => '',
640 'class' => 'display_button',
641 'admin_label' => false,
642 'dependency' => '',
643 'weight' => '',
644 'group' => __( 'Button', 'auxin-elements' ),
645 'edit_field_class' => ''
646 ),
647 array(
648 'heading' => __('Button label', 'auxin-elements' ),
649 'description' => __('The label of button.', 'auxin-elements' ),
650 'param_name' => 'btn_label',
651 'type' => 'textfield',
652 'value' => '',
653 'holder' => 'textfield',
654 'class' => 'label',
655 'admin_label' => false,
656 'dependency' => array(
657 'element' => 'display_button',
658 'value' => array('1', 'true'),
659 ),
660 'weight' => '',
661 'group' => __( 'Button', 'auxin-elements' ),
662 'edit_field_class' => ''
663 ),
664 array(
665 'heading' => __('Button size','auxin-elements' ),
666 'description' => '',
667 'param_name' => 'btn_size',
668 'type' => 'dropdown',
669 'def_value' => 'medium',
670 'value' => array(
671 'exlarge' => __('Exlarge', 'auxin-elements' ),
672 'large' => __('Large' , 'auxin-elements' ),
673 'medium' => __('Medium' , 'auxin-elements' ),
674 'small' => __('Small' , 'auxin-elements' ),
675 'tiny' => __('Tiny' , 'auxin-elements' )
676 ),
677 'holder' => '',
678 'class' => 'round',
679 'admin_label' => false,
680 'dependency' => array(
681 'element' => 'display_button',
682 'value' => array('1', 'true'),
683 ),
684 'weight' => '',
685 'group' => __( 'Button', 'auxin-elements' ),
686 'edit_field_class' => ''
687 ),
688 array(
689 'heading' => __('Button shape style','auxin-elements' ),
690 'description' => '',
691 'param_name' => 'btn_border',
692 'type' => 'aux_visual_select',
693 'value' => '',
694 'class' => 'border',
695 'admin_label' => false,
696 'dependency' => array(
697 'element' => 'display_button',
698 'value' => array('1', 'true'),
699 ),
700 'weight' => '',
701 'group' => __( 'Button', 'auxin-elements' ),
702 'edit_field_class' => '',
703 'choices' => array(
704 'none' => array(
705 'label' => __('Box', 'auxin-elements' ),
706 'image' => AUXIN_URL . 'images/visual-select/button-normal.svg'
707 ),
708 'round' => array(
709 'label' => __('Round', 'auxin-elements' ),
710 'image' => AUXIN_URL . 'images/visual-select/button-curved.svg'
711 ),
712 'curve' => array(
713 'label' => __('Curve', 'auxin-elements' ),
714 'image' => AUXIN_URL . 'images/visual-select/button-rounded.svg'
715 )
716 )
717 ),
718 array(
719 'heading' => __('Button style','auxin-elements' ),
720 'description' => '',
721 'param_name' => 'btn_style',
722 'type' => 'aux_visual_select',
723 'value' => '',
724 'class' => 'style',
725 'admin_label' => false,
726 'dependency' => array(
727 'element' => 'display_button',
728 'value' => array('1', 'true'),
729 ),
730 'weight' => '',
731 'group' => __( 'Button', 'auxin-elements' ),
732 'edit_field_class' => '',
733 'choices' => array(
734 'none' => array(
735 'label' => __('Normal', 'auxin-elements' ),
736 'image' => AUXIN_URL . 'images/visual-select/button-normal.svg'
737 ),
738 '3d' => array(
739 'label' => __('3D', 'auxin-elements' ),
740 'image' => AUXIN_URL . 'images/visual-select/button-3d.svg'
741 ),
742 'outline' => array(
743 'label' => __('Outline', 'auxin-elements' ),
744 'image' => AUXIN_URL . 'images/visual-select/button-outline.svg'
745 )
746 )
747 ),
748 array(
749 'heading' => __('Uppercase label','auxin-elements' ),
750 'description' => '',
751 'param_name' => 'btn_uppercase',
752 'type' => 'aux_switch',
753 'value' => '1',
754 'class' => 'uppercase',
755 'admin_label' => false,
756 'dependency' => array(
757 'element' => 'display_button',
758 'value' => array('1', 'true'),
759 ),
760 'weight' => '',
761 'group' => __( 'Button', 'auxin-elements' ),
762 'edit_field_class' => ''
763 ),
764 array(
765 'heading' => __('Darken the label','auxin-elements' ),
766 'description' => __('Darken label of button while mouse over it.','auxin-elements' ),
767 'param_name' => 'btn_dark',
768 'type' => 'aux_switch',
769 'value' => '0',
770 'class' => 'dark',
771 'admin_label' => false,
772 'dependency' => array(
773 'element' => 'display_button',
774 'value' => array('1', 'true'),
775 ),
776 'weight' => '',
777 'group' => __( 'Button', 'auxin-elements' ),
778 'edit_field_class' => ''
779 ),
780 array(
781 'heading' => __('Icon for button','auxin-elements' ),
782 'description' => '',
783 'param_name' => 'btn_icon',
784 'type' => 'aux_iconpicker',
785 'value' => '',
786 'class' => 'icon-name',
787 'admin_label' => false,
788 'dependency' => array(
789 'element' => 'display_button',
790 'value' => array('1', 'true'),
791 ),
792 'weight' => '',
793 'group' => __( 'Button', 'auxin-elements' ),
794 'edit_field_class' => ''
795 ),
796 array(
797 'heading' => __('Icon alignment','auxin-elements' ),
798 'description' => '',
799 'param_name' => 'btn_icon_align',
800 'type' => 'dropdown',
801 'def_value' => 'default',
802 'value' => array(
803 'default' => __('Default' , 'auxin-elements' ),
804 'left' => __('Left' , 'auxin-elements' ),
805 'right' => __('Right' , 'auxin-elements' ),
806 'over' => __('Over' , 'auxin-elements' ),
807 'left-animate' => __('Animate from Left' , 'auxin-elements' ),
808 'right-animate' => __('Animate from Right' , 'auxin-elements' )
809 ),
810 'holder' => '',
811 'class' => 'icon-align',
812 'admin_label' => false,
813 'dependency' => array(
814 'element' => 'display_button',
815 'value' => array('1', 'true'),
816 ),
817 'weight' => '',
818 'group' => __( 'Button', 'auxin-elements' ),
819 'edit_field_class' => ''
820 ),
821 array(
822 'heading' => __('Color of button','auxin-elements' ),
823 'description' => '',
824 'param_name' => 'btn_color_name',
825 'type' => 'aux_visual_select',
826 'value' => 'carmine-pink',
827 'choices' => auxin_get_famous_colors_list(),
828 'holder' => '',
829 'class' => 'color',
830 'admin_label' => false,
831 'dependency' => array(
832 'element' => 'display_button',
833 'value' => array('1', 'true'),
834 ),
835 'weight' => '',
836 'group' => __( 'Button', 'auxin-elements' ),
837 'edit_field_class' => ''
838 ),
839 array(
840 'heading' => __('Link','auxin-elements' ),
841 'description' => __('If you want to link your button.', 'auxin-elements' ),
842 'param_name' => 'btn_link',
843 'type' => 'textfield',
844 'value' => '',
845 'holder' => '',
846 'class' => 'link',
847 'admin_label' => false,
848 'dependency' => array(
849 'element' => 'display_button',
850 'value' => array('1', 'true'),
851 ),
852 'weight' => '',
853 'group' => __( 'Button', 'auxin-elements' ),
854 'edit_field_class' => ''
855 ),
856 array(
857 'heading' => __('Open link in','auxin-elements' ),
858 'description' => '',
859 'param_name' => 'btn_target',
860 'type' => 'dropdown',
861 'def_value' => '_self',
862 'value' => array(
863 '_self' => __('Current page' , 'auxin-elements' ),
864 '_blank' => __('New page', 'auxin-elements' )
865 ),
866 'holder' => '',
867 'class' => 'btn_target',
868 'admin_label' => false,
869 'dependency' => array(
870 'element' => 'display_button',
871 'value' => array('1', 'true'),
872 ),
873 'weight' => '',
874 'group' => __( 'Button', 'auxin-elements' ),
875 'edit_field_class' => ''
876 ),
877 array(
878 'heading' => __('Content','auxin-elements'),
879 'description' => __('Enter a text as a text content.','auxin-elements'),
880 'param_name' => 'content',
881 'type' => 'textarea_html',
882 'value' => '',
883 'def_value' => '',
884 'holder' => 'div',
885 'class' => 'content',
886 'admin_label' => false,
887 'dependency' => '',
888 'weight' => '',
889 'group' => '' ,
890 'edit_field_class' => ''
891 ),
892 array(
893 'heading' => __('Footer Shape','auxin-elements'),
894 'description' => '',
895 'param_name' => 'footer_shape',
896 'type' => 'aux_visual_select',
897 'def_value' => 'simple',
898 'choices' => array(
899 'none' => array(
900 'label' => __('None', 'auxin-elements'),
901 'image' => AUXIN_URL . 'images/visual-select/text-normal.svg'
902 ),
903 'wave' => array(
904 'label' => __('Wave', 'auxin-elements'),
905 'image' => AUXIN_URL . 'images/visual-select/text-outline.svg'
906 ),
907 'tail' => array(
908 'label' => __('Tail', 'auxin-elements'),
909 'image' => AUXIN_URL . 'images/visual-select/text-boxed.svg'
910 )
911 ),
912 'holder' => '',
913 'class' => 'footer_shape',
914 'admin_label' => false,
915 'dependency' => '',
916 'weight' => '',
917 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
918 'edit_field_class' => ''
919 ),
920 array(
921 'heading' => __( 'Footer Shape color', 'auxin-elements' ),
922 'description' => __( 'Select color for shape', 'auxin-elements' ),
923 'param_name' => 'footer_shape_color',
924 'type' => 'colorpicker',
925 'value' => '',
926 'class' => 'footer_shape_color',
927 'dependency' => array(
928 'element' => 'footer_shape',
929 'value' => array('tail', 'wave')
930 ),
931 'group' => __( 'Wrapper Layout', 'auxin-elements' ),
932 ),
933 array(
934 'heading' => __('Extra class name','auxin-elements'),
935 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
936 'param_name' => 'extra_classes',
937 'type' => 'textfield',
938 'value' => '',
939 'def_value' => '',
940 'holder' => 'textfield',
941 'class' => 'extra_classes',
942 'admin_label' => false,
943 'dependency' => '',
944 'weight' => '',
945 'group' => '' ,
946 'edit_field_class' => ''
947 )
948 )
949 );
950
951 return $master_array;
952 }
953
954 add_filter( 'auxin_master_array_shortcodes', 'auxin_get_text_master_array', 10, 1 );
955
956 // This is the widget call back in fact the front end out put of this widget comes from this function
957 function auxin_widget_column_callback( $atts, $shortcode_content = null ){
958
959 global $aux_content_width;
960
961 // Defining default attributes
962 $default_atts = array(
963 'title' => '', // section title
964 'subtitle' => '', // Text as subtitle under the title
965 'title_link' => '', // the link on title
966 'wrapper_style' => 'simple', // box, outline,
967 'text_align' => 'center', // left, right, center
968 'text_align_resp' => 'center', // left, right, center
969 'text_color_mode' => 'dark', // dark, light
970 'wrapper_type' => '', // color, image
971 'wrapper_bg_color' => '',
972 'wrapper_bg_image' => '',
973 'background_display' => 'center', // center, fixed , cover, tile
974 'overlay_color' => '',
975 'header_type' => 'color', //color, image
976 'header_bg_color' => '',
977 'header_bg_img' => '',
978 'header_img_display' => 'center', // center, fixed , cover, tile
979 'icon_or_image' => 'icon', //icon, image
980 'icon' => '', // icon on column side
981 'image' => '', // image on column side
982 'size' => 'medium_large', // image size
983 'width' => '', // final width of image
984 'height' => '', // final height of imageone
985 'lightbox' => 'no', // open in lightbox or not
986 'preloadable' => '0',
987 'preload_preview' => '0',
988 'preload_bgcolor' => '',
989 'icon_size' => 'large', // small, medium, large, x-large
990 'icon_shape' => '', // circle, semi-circle, round-rect, rect, fill, ...
991 'img_shape' => '', // circle, semi-circle, round-rect, rect, fill, ...
992 'image_position' => 'top', // top,left,right
993 'content' => '', // the content
994 'display_button' => '0',
995 'btn_label' => '',
996 'btn_size' => '',
997 'btn_border' => '',
998 'btn_style' => '',
999 'btn_uppercase' => '',
1000 'btn_dark' => '',
1001 'btn_icon' => '',
1002 'btn_icon_align' => '',
1003 'btn_color_name' => '',
1004 'btn_link' => '',
1005 'btn_target' => '',
1006 'btn_nofollow' => false,
1007 'footer_shape' => '',
1008 'footer_shape_color' => '',
1009 'icon_svg_inline' => '',
1010 'extra_classes' => '', // custom css class names for this element
1011 'custom_el_id' => '', // custom id attribute for this element
1012 'base_class' => 'aux-widget-text' // base class name for container
1013 );
1014
1015
1016 $result = auxin_get_widget_scafold( $atts, $default_atts );
1017
1018 extract( $result['parsed_atts'] );
1019
1020 if( empty( $size ) ){
1021 $size = 'medium_large';
1022 }
1023 if( 'custom' == $size ){
1024 $size = array( 'width' => $width, 'height' => $height );
1025 }
1026
1027 if( ! empty( $image ) && is_numeric( $image ) ) {
1028 $image = auxin_get_the_responsive_attachment( $image,
1029 array(
1030 'quality' => 100,
1031 'preloadable' => auxin_is_true( $preloadable ),
1032 'preload_preview' => $preload_preview,
1033 'preload_bgcolor' => $preload_bgcolor,
1034 'size' => $size,
1035 'crop' => true,
1036 'add_hw' => true,
1037 'upscale' => false,
1038 'original_src' => 'full' === $size ? true : false,
1039 'attr' => array( 'class' => "aux-attachment aux-featured-image aux-attachment-id-$image" )
1040 )
1041 );
1042 }
1043
1044 if ( ! empty( $wrapper_bg_image ) && is_numeric( $wrapper_bg_image ) ){
1045 $wrapper_bg_image = wp_get_attachment_image_url( $wrapper_bg_image, 'full' );
1046 }
1047
1048 if ( ! empty( $header_bg_img ) && is_numeric( $header_bg_img ) ){
1049 $header_bg_img = wp_get_attachment_image_url( $header_bg_img, 'full' );
1050 }
1051
1052 $content = empty( $content ) ? $shortcode_content : $content;
1053
1054 // Box Main Classes
1055
1056 $main_classes = 'aux-widget-advanced-text ';
1057 $main_classes .= 'aux-wrap-style-' . esc_attr( $wrapper_style ) . ' ';
1058 $main_classes .= 'aux-ico-pos-' . esc_attr( $image_position ) . ' ';
1059 $main_classes .= 'aux-text-' . esc_attr( $text_align ) . ' ';
1060 $main_classes .= 'aux-text-resp-' . esc_attr( $text_align_resp ) . ' ';
1061 if( $text_color_mode ){
1062 $main_classes .= 'aux-text-color-' . esc_attr( $text_color_mode ) . ' ';
1063 }
1064 $main_classes .= 'aux-text-widget-bg-' . esc_attr( $background_display ) . ' ';
1065 $main_classes .= empty( $header_bg_color ) ? '' : 'aux-text-fill-header ' ;
1066 $main_classes .= empty( $header_bg_img ) ? '' : 'aux-text-img-header ' ;
1067 $main_classes .= empty( $header_bg_img ) ? '' : 'aux-text-img-header ' ;
1068 $main_classes .= empty( $content ) ? 'aux-text-no-content ' : ' ' ;
1069 $main_classes .= ! empty( $icon ) && empty( $icon_bg_color ) && ( 'top' != $image_position ) ? 'aux-text-padding-fix ' : '';
1070 $main_classes .= ! empty( $header_bg_color ) && ( 'top' != $image_position ) ? 'aux-text-header-fix ' : '';
1071
1072 //---------------------------------------------
1073 // Overlay Inline Styles
1074
1075 $overlay_style = '';
1076 $overlay_style .= empty( $overlay_color ) ? '' : 'background-color: ' . esc_attr( $overlay_color ) . '; ';
1077
1078 $overlay_style = ! empty( $overlay_style ) ? 'style="' . $overlay_style . '"' : '';
1079
1080 //---------------------------------------------
1081 // Box Inline Styles
1082
1083 $main_styles = '';
1084 $main_styles .= empty( $wrapper_bg_color ) ? '' : 'background-color: ' . esc_attr( $wrapper_bg_color ) . '; ';
1085 $main_styles .= empty( $wrapper_bg_image ) ? '' : 'background-image: url(' . esc_attr( $wrapper_bg_image ) . '); ';
1086
1087 $main_styles = ! empty( $main_styles ) ? 'style="' . $main_styles . '"' : '';
1088
1089 //---------------------------------------------
1090 // Header Inline Styles
1091
1092 $header_styles = '';
1093 $header_styles .= empty( $header_bg_color ) ? '' : 'background-color: ' . esc_attr( $header_bg_color ) . '; ';
1094 $header_styles .= empty( $header_bg_img ) ? '' : 'background-image: url(' . esc_attr( $header_bg_img ) . '); ';
1095
1096 $header_styles = ! empty( $header_styles ) ? 'style="' . $header_styles . '"' : '';
1097 //---------------------------------------------
1098 // Header Classnames
1099
1100 $header_classess = '';
1101 $header_classess .= empty( $header_bg_img ) ? '' : 'aux-text-widget-bg-' . esc_attr( $header_img_display ) . ' ';
1102
1103 //---------------------------------------------
1104 // Icon Classnames
1105
1106 $icon_box_classnames = '';
1107 $icon_box_classnames .= ! empty ( $icon_size ) ? 'aux-ico-' . esc_attr( $icon_size ) . ' ' : '';
1108 $icon_box_classnames .= ! empty ( $icon ) ? 'aux-ico-shape-' . esc_attr( $icon_shape ) . ' ' : '';
1109 $icon_box_classnames .= ! empty ( $image ) ? 'aux-img-box aux-ico-shape-' . esc_attr( $img_shape ) . ' ' : '';
1110 $icon_box_classnames .= empty( $icon_bg_color ) ? 'aux-ico-clear' : '';
1111
1112 $icon_classname = empty( $icon ) ? '' : ( is_array( $icon ) ? $icon['value'] : $icon );
1113
1114 //---------------------------------------------
1115 // Footer Classnames
1116
1117 $footer_classess = '';
1118 $footer_classess .= empty( $footer_shape ) ? '' : 'aux-border-shape-' . esc_attr( $footer_shape ) . ' ';
1119
1120 //---------------------------------------------
1121 // Footer Inline Styles
1122
1123 $footer_styles = '';
1124 $footer_styles .= ! empty ( $footer_shape_color ) && 'wave' === $footer_shape ? 'fill: ' . esc_attr( $footer_shape_color) . '; ' : '';
1125 $footer_styles .= ! empty ( $footer_shape_color ) && 'tail' === $footer_shape ? 'border-top-color: ' . esc_attr( $footer_shape_color) . '; ' : '';
1126
1127 $footer_styles = ! empty( $footer_styles ) ? 'style="' . $footer_styles . '"' : '';
1128
1129 //---------------------------------------------
1130
1131 $btn_atts = array(
1132 'label' => $btn_label,
1133 'size' => $btn_size,
1134 'border' => $btn_border,
1135 'style' => $btn_style,
1136 'uppercase' => $btn_uppercase,
1137 'dark' => $btn_dark,
1138 'icon' => $btn_icon,
1139 'icon_align' => $btn_icon_align,
1140 'color_name' => $btn_color_name,
1141 'link' => $btn_link,
1142 'target' => $btn_target,
1143 'nofollow' => $btn_nofollow
1144 );
1145
1146 ob_start();
1147 // widget header ------------------------------
1148 echo wp_kses_post( $result['widget_header'] );
1149 ?>
1150 <div class="<?php echo esc_attr( $main_classes ) ;?>" <?php echo wp_kses_post( $main_styles ); ?>>
1151 <?php if ( ! empty( $overlay_color ) ) { ?>
1152 <div class="aux-text-widget-overlay" <?php echo wp_kses_post( $overlay_style ) ; ?>></div>
1153 <?php } ?>
1154
1155 <?php if( ! empty( $icon ) || ! empty( $image ) || ! empty( $header_bg_img ) || ! empty( $icon_svg_inline ) ) { ?>
1156 <div class="aux-text-widget-header <?php echo esc_attr( $header_classess ) ;?>" <?php echo wp_kses_post( $header_styles ) ; ?> >
1157 <div class="aux-ico-box <?php echo esc_attr( $icon_box_classnames ) ;?> ">
1158 <?php
1159 if ( ! empty( $icon ) ){
1160 if ( is_array( $icon ) ) {
1161 echo \Elementor\Icons_Manager::render_font_icon( $icon, [ 'aria-hidden' => 'true', 'class' => 'aux-ico' ] );
1162 } else {
1163 ?>
1164 <span class="aux-ico <?php echo esc_attr( $icon_classname ) ;?>" > </span>
1165 <?php
1166 }
1167 } elseif ( ! empty( $image ) ) { ?>
1168 <?php echo wp_kses_post( $image ); ?>
1169 <?php } else { ?>
1170 <?php echo wp_kses_post( $icon_svg_inline ) ;?>
1171 <?php }; ?>
1172 </div>
1173 </div>
1174 <?php } ?>
1175
1176 <div class="aux-text-inner aux-text-widget-content">
1177 <?php if( ! empty( $title ) && empty( $title_link ) ) { ?>
1178 <h4 class="col-title"><?php echo auxin_kses( $title ); ?></h4>
1179 <?php } elseif( ! empty( $title ) && ! empty( $title_link ) ) { ?>
1180 <h4 class="col-title"><a href="<?php echo esc_url( $title_link ); ?>"><?php echo auxin_kses( $title ); ?></a></h4>
1181 <?php } if( ! empty( $subtitle ) ) { ?>
1182 <h5 class="col-subtitle"><?php echo auxin_kses( $subtitle ); ?></h5>
1183
1184 <?php } if( ! empty( $content ) ) { ?>
1185 <div class="widget-content">
1186 <?php $encoding_flag = defined('ENT_HTML401') ? ENT_HTML401 : ENT_QUOTES; ?>
1187 <?php echo wp_kses_post( do_shortcode( html_entity_decode( $content, $encoding_flag, 'UTF-8') ) ); ?>
1188 </div>
1189 <?php } if ( auxin_is_true( $display_button ) ) {
1190 echo auxin_widget_button_callback( $btn_atts );
1191 } ?>
1192 </div>
1193 </div>
1194 <?php if ( ! empty( $footer_classess ) ) { ?>
1195 <div class="aux-text-widget-footer">
1196 <div class="<?php echo esc_attr( $footer_classess ); ?>"<?php echo wp_kses_post( $footer_styles ); ?>>
1197 <?php if ( 'wave' === $footer_shape ){?>
1198 <svg width="100%" height="16">
1199 <defs>
1200 <pattern id="pattern-shape-wave" x="16" y="0" width="35" height="16" patternUnits="userSpaceOnUse" >
1201 <path d="M16 16 L35 0 L-2 0 Z" />
1202 </pattern>
1203 </defs>
1204 <rect x="0" y="0" width="100%" height="17" style="fill: url(#pattern-shape-wave);" />
1205 </svg>
1206 <?php }?>
1207 </div>
1208 </div>
1209 <?php } ?>
1210
1211 <?php
1212 // widget footer ------------------------------
1213 echo wp_kses_post( $result['widget_footer'] );
1214
1215 return ob_get_clean();
1216 }
1217