• So, basically what I am trying to do is the following:

    For every post I want to upload 2 different sized images for featured images.
    Next I’d like WP to show 1 image when on the home-page and the other one shown in a single post.

    So something like this in ‘content.php’:

    <?php if ( is_home() ) : ?>
    		<?php the_post_thumbnail(); ?> // use thumb_100x100.jpg
    	<?php else : ?>
    		<?php the_post_thumbnail(); ?> // use thumb_200x200.jpg
    <?php endif; //is_home() ?>

    How would I set something like this up?

    Thanks in advance!!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Different featured image for single posts’ is closed to new replies.