I want to write my own custom gallery to have more control. I have set up a repeater with a manual query to retrieve a set list of media items, but I can’t work out how to get the repeater to show the image and titles etc as it just retrieves the page’s details, and (see screen shot) the data options for Image don’t show the fields for an attachment. Anyone else tried to do this? Help!
This is my manual query. Not totally sure this is valid either, but I can’t test it 😀 There seems to be a distinct lack of information about how to write these queries…
I know I could do this by setting up yet another custom post type etc but I figured I’d try to use WP’s built in data structures.