Using A Url
-
I was interested in using this on my site. However, I wanted to play a url from an attachment using do_shortcode() in a page template like this:
However, is there a way to specify a url within my site? In the above example, “2537” is actually an attachment_id, not a post ID. It would be helpful if I could just use a url to the mp3 file instead.<span style="color:#0033b3;">echo </span><span style="color:#00627a;">do_shortcode</span>(<span style="color:#067d17;">'[sonaar_audioplayer albums=”2537”]'</span>);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using A Url’ is closed to new replies.