Problem:
In my site i have custom post type contacts, every contact can attend to 1 or more courses (usually 1 to 5). We'll plan to have 10.000-30.000 contacts.
Instinctively i was thinking to use method of advanced custom field and add repeater fields (course type, level, date, ecc...)
I read also some post on this forum, and some article from toolset documentation on group fields (many to many relationship or one to many)
I'm a little confused on options and my question is:
in my case what is the correct option i should use with toolset (especially from database point of view)?
Solution:
It depends on your settings.
I assume we are talking about this case:
Two custom post types:
- contacts
- courses
One "courses" post can connect with multiple "contacts" posts
One "contacts" post can connect with multiple "courses" posts
If it is, I suggest you try to setup many-to-many relationship between custom post types:
- contacts
- courses
see our document:
Relevant Documentation:
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 9 replies, has 2 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Luo Yang.
The forum ‘Types Community Support’ is closed to new topics and replies.