Lego2012
12/13/2016 - 10:45 AM

Enable All Possible Post Formats

Enable All Possible Post Formats

<!-- For your functions.php file in the theme. -->

add_theme_support( 'post-formats', 
    array( 
        'aside', 
        'gallery',
        'link',
        'image',
        'quote',
        'status',
        'video',
        'audio',
        'chat'
    ) 
);
add_post_type_support( 'post', 'post-formats' );
add_post_type_support( 'page', 'post-formats' );

<!-- and other custom post types if you have them -->