# wpdirectorykit/1.2.3/shortcodes/views/shortcode-wdk-listing-field-value.php

WP Directory Kit, version 1.2.3. 22 lines.

- Page: https://pluginprobe.com/plugins/wpdirectorykit/1.2.3/code/shortcodes/views/shortcode-wdk-listing-field-value.php
- Raw: https://pluginprobe.com/plugins/wpdirectorykit/1.2.3/raw/shortcodes/views/shortcode-wdk-listing-field-value.php
- Modified: 2023-05-25T15:09:54+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.2.3/code/shortcodes/views/shortcode-wdk-listing-field-value.php#L10-L20`.

```php
<?php
/**
 * The template for Shortcode.
 * This is the template that Shortcode listing field value
 *
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>
<?php if($settings['enable_html'] == true):?>
    <span class="wdk-shortcode wdk-element <?php echo esc_attr(wmvc_show_data('custom_class', $settings));?>" id="wdk_el_<?php echo esc_attr(wmvc_show_data('id', $settings));?>">
        <span class='prefix'><?php echo esc_html($field_prefix);?></span>
        <span class='value'><?php wdk_viewe(wdk_filter_decimal($field_value));?></span>
        <span class='suffix'><?php echo esc_html($field_suffix);?></span>
    </span>
<?php else:?>
    <?php wdk_viewe(wdk_filter_decimal($field_value));?>
<?php endif;?>

```
