- This topic has 2 replies, 2 voices, and was last updated 3 months, 2 weeks ago by .
-
Topic
-
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:
– continent
– country
– city
– attractionI create 3 relationships:
– continent_to_country
– country_to_city
– city_to_attractionI 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!
- You must be logged in to reply to this topic.