Get specific posts by ID in wordpress

Try this:

<?php
        $thePostIdArray = array("11", "13", "15", "17", "19");
        $limit = 5;
        $query=new WP_Query(array('post__in'=>$thePostIdArray));
        if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post(); $counter++; 
        if ( $counter < $limit + 1 ) : $post_id = $thePostIdArray[$counter-1]; $queried_post = get_post($post_id);
    ?>
    <a href="https://wordpress.stackexchange.com/applications">
    <div class="col-md-5 apps text-center">

        <?php the_post_thumbnail('full', array( 'class' => 'img-responsive' )); ?>

        <div class="caption">
            <h3><?php echo $queried_post->post_title; ?></h3>
            <button type="button" class="btn btn-default home-page-explore hvr-grow-shadow">
                Explore
            </button>

        </div>
    </div> </a>

    <?php endif; endwhile; endif; ?>