Recursive Post Loop
I would like to set up a page so that the post titles and excerpts from a category show with the child titles and excerpts listed after each previous level excerpt.
Level 1 Title/Excerpt 1
Level 1 Title/Excerpt 2
Level 2 Title/Excerpt 1
Level 2 Title Excerpt 2
Level 1 Title/Excerpt 3
That calls for recursion, but if I understand WP_Query correctly, setting up a second WP_Query inside the first would overwrite the first. Is that true?
- The topic ‘Recursive Post Loop’ is closed to new replies.