How Do I Add an Audio Post Format to This Theme?


#1

I just switched one of my sites to this theme, and would like to add an Audio Post Format to it. Would that be easy to do, or create problems with my usage of the theme?

Would I be correct in that all I have to do is add a couple of files to my Child Theme’s function folder and Styles.css folder?

Thanks for any response you can give me…


#2

After going to the WordPress Codes for Post Formats, I entered this code into the Functions file of my Child Theme’s editor:

add_action( 'after_setup_theme', 'childtheme_formats', 11 );
function childtheme_formats(){
     add_theme_support( 'post-formats', array( 'aside', 'audio', 'image', 'video', 'quote', 'link' ) );
}

And it seems to work…