Custom Endpoint For Specific Custom Post Type
I noticed that your post type is hierarchical, so you could actually add page-attributes to the supports array in your post type args, i.e. ‘supports’ => array(‘title’, ‘editor’, ‘thumbnail’, ‘page-attributes’), then you could create those sub-sections as child of your movie posts. But yes, the child posts will need to use unique slugs like news, … Read more