I wanted to link images in a gallery to a custom URL.
I know I could add an extra field and do it this way
I found this ticket on Trac, though, that modifies the "Link URL" field to accept custom links. I like how that works and I'd like to make that work.
Trouble is, I can't seem to figure out how to access the data. I'm using get_children to create an array to loop through. The Link URL is not included in the results.
I've tried get_attachment_link - the trouble is, it doesn't just pull it from the field, the function generates the link itself.
Any ideas? Thanks!