title: "Nesting" of custom post types in Wordpress
body: <p>I am working on a page and I just ran into a problem that I can't solve so I was hoping that somebody could help me out.</p>
  
  <p>Let me illustrate my problem with a random example because I'm having a hard time explaining it.</p>
  
  <p>So I created a custom 'movies' post type. I created a bunch of movies in my WP admin and I can access them by visiting domain.com/movies/moviename.</p>
  
  <p>Now what if I want to separate the movies by their Genre. So I have Comedy, Action, Thriller. I want to have a page that showcases all the movies of one genre and each movie I want to be accessible through domain.com/movies/genre/moviename.</p>
  
  <p>How do I get this structure? Is it somehow possible to create a sub-post type for each Genre?</p>
  
  <p>Any help is appreciated!</p>