April 18, 201313 yr Hey guys, Im in the middle of creating a theme and I want to add audio post formats to it. The part in struggling with is outputting an audio player and wanted to know the best way to do it without using a plugin. Im thinking about using a custom audio short-code that accepts a src attribute and then displays the player.Is there a better/easier way?
April 23, 201313 yr http://codex.wordpress.org/Post_Formats - This is a lot more enhanced in version 3.6. I haven't used them before, but im guessing you can just use the audio post format, attach an audio file and output it in your players src attribute.
Create an account or sign in to comment