Hello,
I have two custom post types: Lessons (items with lessons Teachers offer) and Teachers (teacher profiles). In the backend of Lessons I need to create dropdown or set of checkboxes (?) of all Teachers to be able to select one or more Teacher(s) to add his/her/their profile to the given Lesson.
Absolutely no idea how to do that. Any directions, please?
Thanks in advance,
Tom
You can use the PRF (Post Reference Field) that is elaborated here:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/using-post-reference-fields-to-display-information-from-a-related-post/
This is the only inbuilt field that will display Posts in another Post so to choose/select those.
Otherwise, you might want to use an M2M or O2M (Many to Many or One To Many) Post Relationship, elaborated here:
https://toolset.com/2018/05/toolset-post-relationships-release/
https://toolset.com/documentation/post-relationships/
This also allows you to pick/select posts (connect them)
Whooooooooa! Used the first option and it worked like a charm! Thank youuuu!