Create shortcode for get post ID from custom post type with relationship
I have two custom post types:
There is a relationship between them; each school can have many podcast. (I’ve created this with Toolset).
This is the table that created by Toolset:
Post(School) with this ID
8568 has a post(Podcast) with this ID :
How Can I get the Current School Podcast ID and create a shortcode for it in