This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 8 years, 2 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
August 16, 2013 at 7:01 am 7011
Tareq Hasan Is there a way to get the exact url in a post of a submitted file or image, not the image id or file link just the exact url without the link attributed to it when using the shortcode [wpuf-meta name="meta_key_name" type="image"] ?
August 16, 2013 at 10:03 pm 7030
Tareq Hasan Tareq Hasan

Using shortcode, NO. It’s possible with using codes:

[php]
$file_id = get_post_meta( $post->ID, ‘your_meta_key’, true );
echo wp_get_attachment_url( $file_id );
[/php]

Viewing 1 Posts - 1 through 1 (of 1 total)