Hi. I would like to embed the wordpress podcast player outside of a post (in actual php pages) but I’m having trouble figuring it out.I’ve seen the tutorials on how to use shortcodes in PHP but it doesn’t give a way to open and close a shortcode. For instance:
[podcast]http://mydomain.com/myfile.mp3[/podcast] would work in the post but trying the tutorial from the codex guide doesn’t give a way to close it.
<?php echo do_shortcode( $content ) ?> only works for plugins that don’t require opening and closing shortcodes.
Any help would be appreciated.
- The topic ‘Using podcast player outside of post??’ is closed to new replies.