Title: Get field file
Last modified: July 3, 2019

---

# Get field file

 *  [toniup](https://wordpress.org/support/users/toniup/)
 * (@toniup)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/get-field-file/)
 * Hi,
    I installed the plugin and I created a relationship between post and this
   custom post type. I want to retrieve the title and the link of pdf. For the first
   is not a problem, I use the_title() , but for second I don’t find the field name.
   Can You help me ?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Shafaet Alam](https://wordpress.org/support/users/shafayat-alam/)
 * (@shafayat-alam)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/get-field-file/#post-11719877)
 * Hi,
    If you are trying to get the download link, you need to use the following
   php code: `<?php echo \WPDM\Package::getDownloadURL(get_the_ID()); ?>`

Viewing 1 replies (of 1 total)

The topic ‘Get field file’ is closed to new replies.

 * ![](https://ps.w.org/download-manager/assets/icon-256x256.png?rev=1561688)
 * [Download Manager](https://wordpress.org/plugins/download-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/download-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/download-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shafaet Alam](https://wordpress.org/support/users/shafayat-alam/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/get-field-file/#post-11719877)
 * Status: not resolved