# wpdirectorykit/1.3.3/elementor-elements/views/wdk-field-value.php

WP Directory Kit, version 1.3.3. 22 lines.

- Page: https://pluginprobe.com/plugins/wpdirectorykit/1.3.3/code/elementor-elements/views/wdk-field-value.php
- Raw: https://pluginprobe.com/plugins/wpdirectorykit/1.3.3/raw/elementor-elements/views/wdk-field-value.php
- Modified: 2024-06-18T13:32:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpdirectorykit/1.3.3/code/elementor-elements/views/wdk-field-value.php#L10-L20`.

```php
<?php
/**
 * The template for Element Listing Field Value.
 * This is the template that elementor element, link, iframe, images
 *
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
?>
<div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>">
    <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;?>">
    <?php echo empty(wmvc_show_data('html_tag', $settings, 'span')) ? '<span>' : '<'.wmvc_show_data('html_tag', $settings, 'span').'>'; ?>
        <span class='prefix'><?php echo esc_html($field_prefix);?></span>
        <span class="value"><?php echo wp_kses_post(wdk_filter_decimal($field_value));?></span>
        <span class='suffix'><?php echo esc_html($field_suffix);?></span>
        <?php echo empty(wmvc_show_data('html_tag', $settings, 'span')) ? '</span>' : '</'.wmvc_show_data('html_tag', $settings, 'span').'>'; ?>
    </div>
</div>


```
