WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] List Child Pages & Recent Attachments for Each Page (1 post)

  1. dtrickky
    Member
    Posted 2 years ago #

    Hi there,

    I'm attempting to list the child pages of a page, and with each child page, list the pages' attachments along with a link to the child page.

    Right now, my code is displaying the child pages and the page content. I know there is something fairly simple to move around that will subsitute the page content for the page's attachment, but I'm struggling to figure it out.

    Here is my current code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I appreciate any advice,

    Andrew

Topic Closed

This topic has been closed to new replies.

About this Topic