Shortcode broken
-
Hello.
This post is referring to this page, which is an archive of all podcasts on adwise.se: https://www.adwise.se/podcast/
Up til recently, I was using this to display the player:
global $ss_podcasting; $file = $ss_podcasting->get_episode_download_link( get_the_id() ); echo $ss_podcasting->media_player( $file, get_the_id() );Just a few minutes ago, after I noticed the player was broken because it referred to the title of the post instead of the actual .mp3 file, I changed it to this:
echo do_shortcode('[podcast_episode episode="' .get_the_id(). '" content="player"]')However this does not work either. And before you ask; yes, I changed “get_the_id()” to just an actual ID of a podcast just to make sure, and it didn’t work then either.
So I’m concluding that$ss_podcastingor[podcast_episode]is broken. Or both, I suppose.Please advise.
Thanks.
The topic ‘Shortcode broken’ is closed to new replies.