Starting 1.19 in each property you can attach other properties as subunits. The subunits are also properties so they will show in properties search results.
First publish your properties.
Published means properties with status published
View from admin
View from front end user dashboard – my properties
Edit the property post for the building – > Select the subunits from the properties list
Admin view for how to select subunits.
Use CTRL to select multiple units. In admin only the first 50 published properties show. If you wish to select properties that are not in the list, add the IDs of those properties in the ID field (help to see ids -http://help.wpresidence.net/2015/10/29/how-to-see-ids-for-shortcodes-and-widgets/)
Front end view to select subunits.
Edit property –>Go to Subunits sections. Select which properties to show as subunits and save.
In front end the property set as building with subunits will show all subunits like this.
The title of the subunit will redirect user to the subunit property page. On that page other subunits will show like this
The titles: Other Units and Available Units can be changed with your own labels from theme options – custom labels