Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.
Here is the code to include post formats on your website:
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//* Add support for post formats
add_theme_support( 'post-formats', array(
'aside',
'audio',
'chat',
'gallery',
'image',
'link',
'quote',
'status',
'video'
) );