• Hi there,

    Just hoping someone can help. I want to be able to display child pages and attachments, and attachments of child pages on a page.

    So that it looks something like..

    -Child Page 1
    — Attachment 1
    — Attachment 2
    -Child Page 2
    –Grandchild page 1
    —Attachment 3

    Does this make sense?

    At current I’m using this:

    global $id;
      wp_list_pages("title_li=&child_of=$id&show_date=modified
      &date_format=$date_format");

    which shows all child and grandchild pages. Is there something I can just add to this that will add attachments in too>

    Thanks for any help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Showing attachments and child pages in a list’ is closed to new replies.