Title: [Plugin: Flutter] url for uploaded file
Last modified: August 19, 2016

---

# [Plugin: Flutter] url for uploaded file

 *  [waveminded](https://wordpress.org/support/users/waveminded/)
 * (@waveminded)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-flutter-url-for-uploaded-file/)
 * I’m working with the Flutter plugin by FreshOut. I’ve create a custom write panel,
   then inside that panel a custom field for ‘file’. I’ve had no problem uploaded
   PDF files on the backend.
 * Now I’m trying to figure out how to echo the path / URL to the file that will
   appear on the post.
    The field is called ‘menu’ and I’m using this function `
   <?php echo get('menu'); ?>`
 * But it returns nothing…

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [patricia1706](https://wordpress.org/support/users/patricia1706/)
 * (@patricia1706)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/plugin-flutter-url-for-uploaded-file/#post-1087630)
 * I’m having the same issue: I’d like to have the file name of the uploaded PDF
   become a link to download it. I can get the info to print to the page using:
 *     ```
       <?php if ( get_post_meta($post->ID, 'PDF-Download', true) ) { ?>
                       <div class="curate_data"><?php echo "DOWNLOAD <em>as</em> PDF: "; echo get_post_meta($post->ID, 'PDF-Download', $single=true); ?></div><!-- /publisher -->
       				<?php } ?>
       ```
   
 * but this of course is only a strong of text returned, how can one turn it into
   a link?
 *  [nomoretables](https://wordpress.org/support/users/nomoretables/)
 * (@nomoretables)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-flutter-url-for-uploaded-file/#post-1087643)
 * `<a href="<?php echo get('menu'); ?>"><?php echo get('menu'); ?></a>` or something
   like `<a href="<?php echo get('menu'); ?>">Download File</a>`

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Flutter] url for uploaded file’ is closed to new replies.

## Tags

 * [file upload](https://wordpress.org/support/topic-tag/file-upload/)
 * [Flutter](https://wordpress.org/support/topic-tag/flutter/)

 * 2 replies
 * 3 participants
 * Last reply from: [nomoretables](https://wordpress.org/support/users/nomoretables/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/plugin-flutter-url-for-uploaded-file/#post-1087643)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
