• I’m attempting to install this in my functions.php file for audio support with each post:

    add_theme_support( ‘post-thumbnails’, ‘attachment:audio’ );

    Is there anything else I need to add? The idea is that I want a field to appear in each post that allows me to post an audio file, along with a post thumbnail image.

    I’m unsure about what PHP I need to put in the index.php file, however. Could anyone help?

The topic ‘Adding audio attachments feature via functions page’ is closed to new replies.