I’m trying to set up my wp template to call attachments and related data (jpg images and text) but can’t find any sort of list of usable attachment-related tags other than these.
I’d like to:
1) Show the attachment data (the info I type in when I upload an image) on an archive page, but just for those in 1 category, not an entire list.
2) Add rel=”lightbox” to the image links so a lightbox plugin will work. I’m thinking I can add the rel portion to the actual code that runs when <?php the_attachment_link($attachment_id); ?> is called?
Any help or suggestions will be much appreciated!