A really simple way to do this is with the “li” format instead of a table like this:
[MMFileList format=’li’ types=’pdf’ dateformat=’d-m-Y’]{name} ({date})[/MMFileList]
If you want to accomplish the same with a table you’ll need to use the custom format.
You should be able to do it like this:
<table>
<tr>
<th>Filename</th>
<th>Date</th>
</tr>
[MMFileList format='custom' types='pdf' dateformat='d-m-Y']
<tr><td><a href='{url}'>{name}</a></td><td>{date}</td></tr>
[/MMFileList]
</table>
Here is an example of it on my site:
https://www.mediamanifesto.com/uncategorized/test-shortcode/
Let me know if this helps – cheers!
Thread Starter
mpeill
(@mpeill)
That did the trick, thanks for your help.