Ok, so here is what you can do. Keep in mind this is not supported and we have no plans to add this functionality into the plugin.
In the file /includes/functions.php is the function wp_listings_get_property_types()
:
/**
* Displays the property type (residential, condo, comemrcial, etc) of a listing
*/
function wp_listings_get_property_types($post_id = null) {
if ( null == $post_id ) {
global $post;
$post_id = $post->ID;
}
$listing_property_types = wp_get_object_terms($post_id, 'property-types');
if ( empty($listing_property_types) || is_wp_error($listing_property_types) ) {
return;
}
foreach($listing_property_types as $type) {
return $type->name;
}
}
You can modify that function to return all the terms for a post. It’s recommended to copy the function to your theme or a site specific plugin and rename it, so it doesn’t get overwritten in an update. You would change that function like so:
/**
* Displays the property type (residential, condo, comemrcial, etc) of a listing
*/
function wp_listings_get_property_types($post_id = null) {
if ( null == $post_id ) {
global $post;
$post_id = $post->ID;
}
$listing_property_types = wp_get_object_terms($post_id, 'property-types');
if ( empty($listing_property_types) || is_wp_error($listing_property_types) ) {
return;
}
$prop_types = '';
foreach($listing_property_types as $type) {
$prop_types .= $type->name . '<br />';
}
return $prop_types;
}