Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Richie KS

    (@rkcorp)

    the theme by default did not have featured image ready on single posts.
    open single.php and add this near the_content()

    <?php if ( has_post_thumbnail() ) : ?>
    	<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
    	<?php the_post_thumbnail(); ?>
    	</a>
    <?php endif; ?>
    Thread Starter Ralph SW

    (@ralphsolera)

    Thanks, Richie! It works! But the image don’t fill de space in same cases, when it’s smaller then main column… how can I make the picture fill the space, even, by strecht ou crop tools? It is possible?

    Theme Author Richie KS

    (@rkcorp)

    maybe this

    <?php if ( has_post_thumbnail() ) : ?>
    	<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
    	<?php the_post_thumbnail('large'); ?>
    	</a>
    <?php endif; ?>
    Thread Starter Ralph SW

    (@ralphsolera)

    Hi Richie… with this new code, i didn′t see differences for the firts code… but the important is the article is showing thumbnail! Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Thumbnails in the posts are gone’ is closed to new replies.