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

  1. joshuaiz
    Posted 5 years ago #


    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?


  2. Dalton Rooney
    Plugin Author

    Posted 5 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