| 1 |
<?php |
| 2 |
/** |
| 3 |
* The template for Shortcode. |
| 4 |
* This is the template that Shortcode listing field value |
| 5 |
* |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
exit; // Exit if accessed directly. |
| 10 |
} |
| 11 |
|
| 12 |
?> |
| 13 |
<?php if($settings['enable_html'] == true):?> |
| 14 |
<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));?>"> |
| 15 |
<span class='prefix'><?php echo esc_html($field_prefix);?></span> |
| 16 |
<span class='value'><?php wdk_viewe(wdk_filter_decimal($field_value));?></span> |
| 17 |
<span class='suffix'><?php echo esc_html($field_suffix);?></span> |
| 18 |
</span> |
| 19 |
<?php else:?> |
| 20 |
<?php wdk_viewe(wdk_filter_decimal($field_value));?> |
| 21 |
<?php endif;?> |
| 22 |
|