Title: File upload doesn&#8217;t make hyperlink
Last modified: February 6, 2019

---

# File upload doesn’t make hyperlink

 *  Resolved [domswe](https://wordpress.org/support/users/domswe/)
 * (@domswe)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/file-upload-doesnt-make-hyperlink/)
 * When using the file upload field, when posted to the front end, its just the 
   non-hyperlinked text.
    Any way to fix this? or add a “default” text to the hyperlink
   like “download” and have the link behind it? Page with problem included.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffile-upload-doesnt-make-hyperlink%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/file-upload-doesnt-make-hyperlink/#post-11184213)
 * I received an error on trying to view your web page.
 * How did you display the field on the front-end? Basically, when you are showing
   things on the front-end, you have to add the HTML around the item you either 
   want to display or download.
 * If you’re using Pods Templates, you want to use the [Image/File handling Magic Tags](https://docs.pods.io/displaying-pods/magic-tags/using-magic-tags/#Files)
   of `@_src` to get the src value for the download or `@permalink` for the actual
   download link. So in your Pods Template, you’d do something like this, assuming
   your file upload field was named `file_upload`
 * `<a href="{@file_upload.permalink,esc_url}">Download</a>`
 * If you were doing this in PHP, you’d do something like:
 * `echo '<a href=". esc_url( get_post_meta( get_the_id(), 'file_upload', true) )."
   >Download</a>';`

Viewing 1 replies (of 1 total)

The topic ‘File upload doesn’t make hyperlink’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jim True](https://wordpress.org/support/users/jimtrue/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/file-upload-doesnt-make-hyperlink/#post-11184213)
 * Status: resolved