PluginProbe
WP Directory Kit / 1.3.4
WP Directory Kit v1.3.4
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
wpdirectorykit / elementor-elements / views / wdk-field-value.php

wdk-field-value.php in WP Directory Kit 1.3.4, at elementor-elements/views/wdk-field-value.php

22 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for Element Listing Field Value.
4 * This is the template that elementor element, link, iframe, images
5 *
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11 ?>
12 <div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>">
13 <div class="wdk-field-value <?php echo wp_kses_post(wdk_field_option(wmvc_show_data('field_id', $settings), 'field_type'));?> <?php if(wmvc_show_data('field_id', $settings) == 'post_content'):?> TEXTAREA <?php endif;?>">
14 <?php echo empty(wmvc_show_data('html_tag', $settings, 'span')) ? '<span>' : '<'.wmvc_show_data('html_tag', $settings, 'span').'>'; ?>
15 <span class='prefix'><?php echo esc_html($field_prefix);?></span>
16 <span class="value"><?php echo wp_kses_post(wdk_filter_decimal($field_value));?></span>
17 <span class='suffix'><?php echo esc_html($field_suffix);?></span>
18 <?php echo empty(wmvc_show_data('html_tag', $settings, 'span')) ? '</span>' : '</'.wmvc_show_data('html_tag', $settings, 'span').'>'; ?>
19 </div>
20 </div>
21
22