Thanks for your question, the positive feedback, and thanks for including a link to your beautiful site; very helpful.
The most complete answer is to use MLA’s custom style and markup templates to get complete control over the content and appearance of your gallery. Here is one example of that approach in an earlier topic:
Clever document insert with MLA
As you can see, it’s powerful but requires some work on your part. You can also add parameters to your shortcode to get some simple results:
[mla_gallery]
post_mime_type="application/pdf" post_parent=all
link=file mla_target="_blank"
size=icon columns=1 orderby=title
mla_caption='<a href="{+file_url+}" target="_blank">{+title+}, uploaded: {+date+}</a>'
[ /mla_gallery]
I have used the alternate “enclosing shortcode” syntax to break the parameters across several lines for readability.
- The first line selects all PDFs in the Media Library.
- The second line links each thumbnail directly to the PDF file and opens up the file in a new browser window.
- The third line sets the size of the gallery thumbnails, the number of thumbnails in each gallery row and the sort order of the gallery.
- The last line makes the caption below each item a clickable link to the PDF and displays the item Title and the upload date.
You might also try using MLA to find the items matching the tag and use another plugin to generate the gallery display. Look in these sections of the Documentation tab for more information:
- Support for Other Gallery-generating Shortcodes
- Support for the “Photonic Gallery” Plugin
That’s more than you asked for but I want to give you a sense of the range of options available with the [mla_gallery]
shortcode. You can find more information about PDF galleries in this earlier topic and the topics it links to:
Just start with it
I hope that gets you started on a solution for your application. I am marking this topic resolved, but please update it if you have problems or further questions regarding the above suggestions. Thanks for your interest in the plugin.