Md Mehedi Hasan

post-formats |and| get_post_format()

function alpha_bootstraping (){
    add_theme_support( "post-formats", array("video", "audio", "aside", "gallery", "quote"));
}
add_action("after_setup_theme", "alpha_bootstraping");
<?php 
while (have_posts()){
    the_post();
    get_template_part("post-formats/content", get_post_format());
}
?>