CMS Development Wordpress

Filter posts by their related field’s custom field

I have two post types named ‘programs’ and ‘universities’, where the programs are connected to their respective universities. I want to filter programs by university’s custom fields such as ranking or location. I can filter and display the programs by their own custom fields using WP_Query. However, I cannot filter them by their related post’s […]