Formatting Captions of Gallery Items
-
I am using this shortcode:
[mla_gallery attachment_category=id-articles orderby="date DESC" columns=5 mla_viewer=true size=full post_mime_type=application/pdf post_parent=all link=file mla_target=_blank] mla_caption='<b><a href="{+file_url+}" target="_blank">{+title+}</a></b><br>{+date,date(Y-m-d)+}<br>{+terms:attachment_tag+}' [/mla_gallery]
To display a gallery of PDF documents by category, with the caption below showing the title, date, and tags.
It works, but I can’t seem to nail down the formatting. The <b> and <a href …> tags work as expected, but the line-breaks are ignored. I’d like it to display like so:
Title
yyyy-mm-dd
att_tag, att_tag, att_tag…Also, it would be great if the thumbnails could align at the top.
Thanks!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Formatting Captions of Gallery Items’ is closed to new replies.