Personally I would:
1: create Post with type Building (you can then add meta to this eg: address, lat lng, name etc)
2: create Post type Apartments and associate with building via apartments post meta
3: create metabox for owner for post type apartments, here you can GET all user info with role as owner/landlord and add to post meta
4: as above but for tenants, GET all users with role tenant, when apartment is let.
Related Posts:
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom permalinks – post type – hierarchical taxonomy’s
- How to show term-specific post list, without posts associated with child terms?
- Getting taxonomy terms used by custom post type
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- Hierarchical Custom Post Types or Similar
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Custom Posts Hierarchy? (State/City/Restaurant)
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Automatically populate a hierarchical taxonomy from a custom field
- Display custom post type in hierarchical order with get_terms
- Should I use custom taxonomy or custom post type
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- Hierarchical Custom Post Types in Array
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- Custom while loop for hierarchical display of a taxonomy
- Get the taxonomy of a post hierarchically
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Create more category hierarchical depth for custom post type/taxonomy plugin (widget)
- Hierarchial Custom Post Types/Taxonomies
- Hierarchical permalinks for custom post type and taxonomy
- Custom post type Permalinks with hierarchical Taxonomies
- Create a permalink structure with custom taxonomies and custom post types gives 404
- Custom Post type & Taxonomy 404
- custom hierarchical taxonomy and custom post type list contains surplus posts
- Creating a non-hierarchical Taxonomy that behaves like categories
- Migrating Hierarchal Taxonomy Categories Between Post Types
- Ideas on how to organize a project [closed]
- How should I structure complex content hierarchies?
- List child categories from parent category on custom taxonomy page
- Custom taxonomy terms hierarchical navigation
- Create a Hierarchical List of Custom Taxonomies AND Posts
- Display a Custom Post Type within another with hierarchically slug
- Custom Post Type categories at edit post not hierarchical
- Associate custom categories to different user IDs
- How can I add a “fake” parent into the permalink?
- taxonomy term names in custom post type permalink structure
- Display and Allow users to edit their own profiles
- Custom taxonomy archive not showing posts of certain child taxonomies
- WordPress and Unity high scores table
- How to develop Knowledge center in WordPress Website
- List all posts in hierarchy and groupped by each taxonomy
- Show custom post type relationships by taxonomy
- Group CPT posts by custom taxonomy
- Issue on Creating Custom Tax Term Dynamically From Another CPT Meta-box On Publish
- Filter CPT posts by one or more categories
- Custom taxonomy and custom post type – wrong permalinks and template
- Setting up taxonomy to relate various custom post types – advice on structuring?
- Getting categories of posts under a custom taxonomy
- Post count by month of taxonmy term
- How can I make the slug of the taxonomy also the slug of the custom post
- Query taxonomy of taxonomy of custom post type
- Taxonomies don’t show up on in the dashboard page for a custom post type in wordpress 5.22
- Can’t remove front from permalinks for custom taxonomy category page
- Custom WP Query on custom meta and sort by multiple meta keys value
- How to set a CPT to have a page as a parent, then rewrite urls accordingly?
- How to checked selected category checkbox when my custom post inserted from frontend
- Allow duplicate slugs for custom post type with taxonomies
- list taxonomies from a custom post type
- How to display Custom Taxonomy under Custom Admin Menu?
- Display a grid of taxonomy terms at root taxonomy page
- WordPress custom taxonomy, posts urls
- Listing posts under primary and secondary taxonomies
- Removing custom post type slug from URL
- WordPress loop: Show only a Custom Post Type Taxononmy TERM
- How can I made custom taxonomies relationship?
- How to start a new post with custom Taxonomies already set?
- Nested Custom Post Type or Custom Post Type Parents?
- Customize Custom Post Type URL
- What’s the WP way to load remaining custom posts?
- How to rewrite url for any specific taxonomy?
- Specific query for custom post type
- Custom post URL 404 error
- limit value taxonomy based on previous taxonomy value wordpress
- Dynamic dropdown select values depending on other custom field value
- Get unique superset of taxonomy terms from a list of custom posts in another hierarchical taxonomy
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- Limit number of custom posts per taxonomy
- Custom taxonomies relationship
- I want to change the word “Tags” in WordPress to something else, but how?
- Permalinks /country/city/cpt/postname/
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Number of Custom Post Types published are not being shown in the custom page
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Metabox not show in categories custom post type cmb2
- What is the best practice for displaying my plugin content in themes?
- Categorize custom post type
- How do I display the taxonomy for a custom post type in an array
- Need help with permalink rewrites for Custom Post Types with hierarchical relationships
- Pretty URL for custom search for custom post type
- Custom taxonomy rewrite with query var returns %2F in URL
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- How to list custom taxonomies in the back end
- Several CPT’s with same Taxonomy name but with different Terms for each
- Remove slug in URL custom post type
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How to conditionally redirect to the post from a taxonomy page?
- How do I check if the user is on a taxonomy term parent, child or grandchild page?