| 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 |
?> |
| 13 |
<div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>"> |
| 14 |
<div class="wdk-last-search"> |
| 15 |
<?php if(wmvc_show_data('text_before', $settings, false)):?> |
| 16 |
<span <?php $this->editing_element('text_before', 'basic', array('class'=>'prefix')); ?>><?php echo esc_html(wmvc_show_data('text_before', $settings, false));?></span> |
| 17 |
<?php endif;?> |
| 18 |
<a href="<?php echo esc_url($last_search_url);?>" class="value"><?php echo esc_html($last_search);?></a> |
| 19 |
<?php if(wmvc_show_data('text_after', $settings, false)):?> |
| 20 |
<span <?php $this->editing_element('text_after', 'basic', array('class'=>'suffix')); ?>><?php echo esc_html(wmvc_show_data('text_after', $settings, false));?></span> |
| 21 |
<?php endif;?> |
| 22 |
</div> |
| 23 |
</div> |
| 24 |
|
| 25 |
|