Query only title/field/featured media of posts [closed]

You can make query like this

$paged = get_query_var('paged') ? get_query_var('paged') : 1; 

$args = array(
    'post_type' => 'post',  //Specyfying post type
    'cat'=> 1,    //Selecting post category by ID to show
    'posts_per_page' => 10,  //No. of posts to show     
    'paged' => $paged       //For pagination
);

$loop = new WP_Query( $args );

while ( $loop->have_posts() ) : $loop->the_post();
    //To show Title of post
    the_title();     
    //To show ID of post
    $id = get_the_ID();
    echo $id;   
    /*****     Featured Media     ******/
the_post_thumbnail(
array(120, 90),   //Width and height of featured image
    array(

    'class' => 'thumbnail',   //class to apply css properties
    'alt' => 'post thumbnail', //Alternate text if there is no image to show
    'title' => 'my custom title' //Title to specify
)
);
/*******     Featured Media Ends   ********/
endwhile;