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 / shortcodes / views / shortcode-wdk-listing-field-value.php

shortcode-wdk-listing-field-value.php in WP Directory Kit 1.3.4, at shortcodes/views/shortcode-wdk-listing-field-value.php

22 lines 763 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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