WordPress.org

Ready to get started?Download WordPress

Forums

PlayPress
[resolved] Use in theme? (2 posts)

  1. candy2012
    Member
    Posted 1 year ago #

    Hi,
    How can I include this in the theme code?
    I tried with doshortcode, but it obviously does not work ...
    Any ideas?
    Thank you!

    http://wordpress.org/extend/plugins/playpress/

  2. Joshua Goodwin
    Member
    Plugin Author

    Posted 1 year ago #

    (Two months late, for which I apologise. Hopefully, this will still help someone.)

    <?php echo do_shortcode('[audio mp3="http://media.joshuagoodwin.com/ambush.mp3"]'); ?> works for me. Note that the echo is important - it does catch me out every time.

    Otherwise, I don't know what to suggest. Does it work in posts?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.