I would like to get the attachment from a post.

I want to display a button below each of my post with a link to download them. They will be PDF.

How can I do that ? Thank you

1 Answer 1


You can use ACF(Advance Custom Filed) for this please read document for this


  • Awesome plugin, I didn't know this one. Thank you !
    – ferdi_
    Apr 27, 2017 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.