Support » Plugin: Attachments » Displaying the attachment date
3 years, 8 months ago
Congratulations for your great plugin. It is very easy to use and does exactly what I wanted.
Just one thing: is it possible to display the attachment date in the template (just like the other fields)?
Yes there is a date() method: https://github.com/jchristopher/attachments/blob/220.127.116.11/classes/class.attachments.php#L418
Thank you very much.
Date: <?php echo $attachments->date(); ?>
in the template works like a charm.