I´d like to set specific featured image for all posts in one category.
So, if I have category Good Jokes, all posts in category Good Jokes will have the same featured image displayed in front page.
My current code in content.php is:
<?php if(trim(get_the_post_thumbnail($post->ID)) != '' and $themolio_options['show_featured']): ?> <div class="entry-thumb"> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail('themolio-featured-image');?> </a> </div> <?php endif; ?>
Can anybody help?