Add listing location to property/listing slider
<?php
/**
* Add listing location to property/listing slider
*/
add_action('wpsight_widget_listings_slider_title_after', 'custom_widget_listings_slider_title_after', 5, 1);
function custom_widget_listings_slider_title_after($args = '', $instance = '') {
// Get taxonomies
$location = wpsight_get_the_term_list( get_the_ID(), 'location' );
echo __('in', 'wpsight') . ' ' . $location;
}