Thread Starter
Thomas
(@thomasbuxo)
Following-up on my previous post: as a temporary workaround I’m using the custom fields associated with attachments (that may be a feature of the file-gallery plugin and not wp’s own, actually).
Below is a working snippet. I just hate to have to resolve to using those custom fields. Does anyone know how to achieve the same result with the tags created by Attachment Taxonomy Support instead?
http://wordpress.pastebin.ca/2207116
If you wanted to retrieve tags or other taxonomies associated to a media item, you would need to use wp_get_object_terms().