I have two different post types. Trainings and dates. The post type for trainings has some basic informations about the specific training. Like a description, images and so on. The date ist for informations like the date (obviously), the trainer and location. And I add the training itself to the date.
I now want to sort all trainings by the next dates. As I understand, I need to loop through the dates first and after that I need to loop though the trainings based on the text dates.
I've found some examples with multiple meta_queries. But is it possible to loop though multiple post types?