Featured Image thumbnail for post is cropping

  • Kailash



    I am using below function to show featured image before post content.

    function featured_img_thumb() {
    <span class="post-thumbnail">
    <?php the_post_thumbnail(); ?>

    but the image height is cropping in the post to 198px

    how can i increase it to show full height?

    example: http://www.sendmesms.in/na-chaaho-itna-judai-se-dar-lagta-hai


    Syahir Hakim


    You can specify the size to be used as an argument to the the_post_thumbnail() function:

    <?php the_post_thumbnail( 'full' ); ?>




    its worked…

Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!