2016-06-09 at 22:39 #7839
That looked good, but for some reason $f->file_post_id keeps returning 0.
I’m using this code in the “Templates and Scripts” tab, editing the Default File Template in case you needed to know that.
Any other ideas? Thanks though!