How to have two featured images? One for post & one for homepage/social shares
-
This is what i am trying to do:
Is there a way to have the large image at the top of the blog post be different then the small thumbnail featured image that shows up in the category blog list view on my homepage? I also would hope to have the smaller thumbnail featured image to show (and not the big one) when the post is shared to social media sites. Is this possible?I found this plugin and instructions. Will this do what i am trying to do? https://www.wpbeginner.com/plugins/how-to-add-multiple-post-thumbnails-featured-images-in-wordpress/
If so, I do not know where to paste this code below (the 2nd part of the instructions) to make it appear on the homepage and for social media shares.
<?phpif (class_exists(‘MultiPostThumbnails’)) :
MultiPostThumbnails::the_post_thumbnail(get_post_type(), ‘secondary-image’);
endif;
?>
Please help. Here is my site, i am using Genesis: https://factualfairytale.com/
- The topic ‘How to have two featured images? One for post & one for homepage/social shares’ is closed to new replies.