The other day I ran into a situation where I needed to insert the results of a custom WordPress Loop within the results of another Loop.
Over on the Underground Film Journal, I create special Tag indexes for filmmakers that include their biography, filmography and list of WordPress articles I’ve written about them. While the list of articles is generated by the general WordPress Loop, the biography and filmography are generated by a special Loop of a Custom Post Type I’ve called “Filmmakers.”
What I wanted to do though was include a 2nd special Loop of just WordPress posts of videos by each filmmaker that I’ve featured on the site. However, due to the layout of the page, I needed to squeeze this 2nd Loop BETWEEN the biography and the filmography.