Shwing posts by post_parent
-
I’m writing a plugin that assigns posts to particular pages (see genesis here https://www.ads-software.com/support/topic/46002).
In my page.php template, I need two loops… The first shows the content of the page itself (the default behaviour) the second should show all posts for which post_parent is set to the current page_id…
I’ve gotten a filter to achieve the second loop, but it borks the first one…
Is get_posts the answer? query_posts()?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shwing posts by post_parent’ is closed to new replies.