I think this is a simple fix, but I'm not sure what I'm doing wrong. If someone could point me in the right direction, I'd appreciate it ;)
Ok, so, what I have is a custom meta box using the following code: http://pastebin.com/aVt5FxNk
Basically a user chooses one of the audio files that they've uploaded to the media library on the back-end. I have that code working without an issue. What I'd like to do is get the full url of the audio file so I can use it in my theme on the front-end.
What I was able to do is: http://pastebin.com/414Hj6Af
This code outputs: http://joshtx.com/bandits/wp-content/uploads/One-eyed Maestro.mp3
This is close, but it's not the full url that I wanted.
The full url is actually: http://joshtx.com/bandits/wp-content/uploads/2011/10/One-eyed-Maestro.mp3
Anyone know how I can get the full path to the audio file?