I am not quite sure what you mean by “gallery data/docs with the following date”, but here are some things that might help you.
If by “data/docs” you mean you want to have a gallery of non-image items, such as PDF documents, you can use the post_mime_type
parameter to select them. Here is a simple example:
[mla_gallery post_mime_type="application/pdf" post_parent=all size=icon link=file]
The above example selects PDF documents (post_mime_type="application/pdf"
) from the entire Media Library (post_parent=all
), displays an icon as the thumbnail (size=icon
) and links each item directly to the document file (link=file
).
Displaying the Caption Text happens automatically; it is the default value shown below the gallery thumbnail. If you want to also display the Description text you can add the mla_caption
parameter to your [mla_gallery]
shortcode, for example:
[mla_gallery columns=1 mla_caption="{+title+}<br>{+caption+}<br>{+description+}" ]
There are many other values you can add to your captions; you can find a complete list in the “Attachment-specific substitution parameters for the markup template Item part” section of the Settings/Media library Assistant Documentation tab.
This support topic shows how to create a list of PDF documents along the lines you want:
pdf list
This support topic discusses how to create a custom field for the “document date” and use it to filter the gallery display:
Schedule attachment
If you want to show a “thumbnail image” for a non-image item you can try adding the mla_viewer=true
parameter to your shortcode.
I hope that gets you started on composing the galleries you want. I am marking this topic resolved, but please update it if you have problems or more questions on this subject. For example, to display “Keywords” you would have to be more specific on where they are currently stored.