get uploaded file in single.php
Viewing 2 Posts - 1 through 2 (of 2 total)
Author | Posts |
---|---|
January 31, 2014 at 8:09 am 14942 | |
Xavi | I'm trying to get the uploaded file in the single.php file.
the meta_key is xa_download and when in the single i wrote:
$download = get_post_meta (get_the_ID(), 'xa_download', true);
Shows a number like : 218, but not the full link.
Cheers.
|
January 31, 2014 at 8:11 am 14943 | |
Mahi | Check Documentation first: http://docs.wedevs.com/showing-meta-fields-in-frontend/ |
January 31, 2014 at 8:30 am 14944 | |
Xavi | So fast! Thanks mate. |
Viewing 2 Posts - 1 through 2 (of 2 total)