I installed a plugin which allows me to add a custom file upload field to my post so that I can upload an mp3 file. I would like to add a PHP function to my theme to read the url of this custom file and then display an mp3 player in the single.php page.
What is the function to do this? Can you just feed it a url and call the PHP function?
p.s. essentially what I am looking for is something like:
- The topic ‘mp3j player function vs short code’ is closed to new replies.