WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Get URL from the_field

[Resolved] Get URL from the_field

  • madsrh123
    Member

    @madsrh123

    From this code: <?php echo the_field('transfile'); ?>

    I get this out put:

    3986, , Vis post, , , application/pdf, http://mask.de/jam/wp-content/uploads/2014/02/Vis-post.pdf

    But what I really just want is the url. Can anyone tell me how I can isolate that?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Get URL from the_field’ is closed to new replies.