Support » Plugins and Hacks » [Resolved] Displaying the attachment date
3 years, 2 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/188.8.131.52/classes/class.attachments.php#L418
Thank you very much.
Date: <?php echo $attachments->date(); ?>
in the template works like a charm.