WordPress.org

Ready to get started?Download WordPress

Forums

Displaying audio player as preview in audio post in WP3.6 (1 post)

  1. eXalted
    Member
    Posted 1 year ago #

    I'm testing the new WordPress 3.6 Release Candidate 2 and it's [audio] shortcode and there is something I can't figure out.

    The post contains the following content:

    [audio http://wpthemetestdata.files.wordpress.com/2008/06/originaldixielandjazzbandwithalbernard-stlouisblues.mp3

    How can I extract this shortcode and it's URL and display it as a player in the post preview in index.php? I found the new functions at the bottom of this page but I can't figure out how can I manually display the player on the index as it is shown in single.php.

Topic Closed

This topic has been closed to new replies.

About this Topic