Hi guys,
I'm going deep with custom querying and I need a little bit of help, at least to understand if what I'm trying to do is… doable!
Here is the setup:
- I have a many-to-many rel. set up between "professors" and "subject" with "lecture" as intermediary object;
- I have a custom taxonomy named "class" for "subject" post type.
I need to put a list of "classes" inside of the professor profile page.
I thought I can make a view to list every "lecture" a professor have made and then nest another view to list what "classes" are assigned to the "subject" linked to each "lecture" retrieved by the first view.
Actually since different subject may have the same "class" taxonomy I'd like to avoid possible duplicates.
Do you think this could be possible?
Any suggestion to do this straight in php without using views?
Thanks
Best regards
Carlo