format=
and post_mime_type=
parameters to select the attachments to list.
[bw_pages post_type=attachment post_mime_type=application/pdf post_parent=. orderby=date order=DESC posts_per_page=5 format="d E L"]
1 to 5 of 13
Date: August 5, 2014 A poem by Herb Miller explaining the derivation of Bobbing Wide. bobbing wide – where does it come from
Notes
- For the Media post type (attachments) the Caption is implemented using the equivalent of the Excerpt field and the Description is the Content.
- This doesn’t eliminate duplicates; each file lists has been attached to a different parent. We needed to do this to create multiple examples.
- You need to use
post_parent=.
to be able to list ALL attachments regardless of where they are linked to.