WordPress.org

Ready to get started?Download WordPress

Forums

Haiku minimalist audio player
[Plugin: Haiku - a minimalist audio player] Insert Haiku outside of Post/Page? (2 posts)

  1. joshuaiz
    Member
    Posted 3 years ago #

    Hi,

    I would like to insert the Haiku player outside of a post/page in WP. How would I do this?

    I'm using a child theme and will be placing the player in a div but shortcode is not working. I am assuming there has to be some kind of wrapper to instantiate the player.

    Any ideas?

    http://wordpress.org/extend/plugins/haiku-minimalist-audio-player/

  2. Dalton
    Member
    Plugin Author

    Posted 3 years ago #

    If you're adding the shortcode directly to your template, you need to use the do_shortcode function

    <?php echo do_shortcode('[haiku url="your/url.mp3"]'); ?>

    Good luck and let me know if it works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic