Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter neotechnomad

    (@neotechnomad)

    I commented out this code in the “content-single.php” :

    <?php
    		if ( '' != get_the_post_thumbnail() ) {
    			echo '<div class="entry-featuredImgSingle">';
    			the_post_thumbnail('drento-normal-post');
    			echo '</div>';
    		}
    	?>

    Can this be eliminated with the next upgrade of the theme?

    Theme Author CrestaProject

    (@crestaproject)

    Hi NeoTechnomad,
    in the main page the image is shown “cut”, while in single page the image is displayed in its original size.
    If you want to show the featured images as the main page, just edit the file “content-single.php” and replace the code you’ve posted with this:

    <?php
    		if ( '' != get_the_post_thumbnail() ) {
    			echo '<div class="entry-featuredImgSingle">';
    			the_post_thumbnail('drento-little-post');
    			echo '</div>';
    		}
    ?>

    Best Regards,
    CrestaProject

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Featured Image shows on Single Post’ is closed to new replies.