Forums

Listing all attachments from all posts on page (1 post)

  1. RampagingLollipop
    Member
    Posted 9 months ago #

    Hi folks,

    I've got myself tied up in knots with this one and am unable to see the wood for the trees...

    I'm looking to simply show all the attachments (this will be image thumbnails) from all the posts on a page, to use as an archive template page. The order or categorisation isn't important at the moment.

    I am assuming the loop(s) is something like this -

    Loop (for each post) {
    Loop (for each attachment in the post) {
    write thumbnail
    }
    }

    I'm struggling trying to get this in 'the loop' or even if this is the correct place or approach.

    any help, code, or pointers appreciated...

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 9 months ago by RampagingLollipop
  • This topic is not resolved
  • WordPress version: 3.2.1