Support › MB Relationships › Nested RelationshipResolved
Hi! I have 2 questions related to MB Relationships. Please spend some minute to take a look:
1. Is it possible to show a nested relationship?
For example, I have 4 post types:
I create 3 relationships:
I create posts Asia (continent), Vietnam (country), Hanoi (city), Hoan Kiem Lake (attraction), and assign relationships between them.
On Hoan Kiem Lake post, I could show Hanoi without a problem as in the document https://docs.metabox.io/extensions/mb-relationships/#multiple-relationships.
I wonder could I show also the relationships of Hanoi with Vietnam and Vietnam with Asia on Hoan Kiem Lake post? Something as "Asia > Vietnam > Hanoi".
2.How to limit the number of connections? As an attraction can be assigned to 1 city only.
Thank you in advance!
I think you can use the CPT and taxonomies with the hierarchy to easily select on the backend and query to show on the front end.
Many thanks for your help, Long!