How to Add Multiple Post Thumbnails/Features Images in WordPress

If you’ve been posting post thumbnails but one thumbnail is not enough, do you know that you can add multiple thumbnails? From just reading about it, you may feel that it looks a bit hard but the truth is, this is easy.

However, you need to install a few prerequisites first. The first thing you do is install and activate the Multiple Post Thumbnails plugin. Once its activated, add the following code in your theme’s functions.php file:
if (class_exists(‘MultiPostThumbnails’)) {

new MultiPostThumbnails(array(
‘label’ => ‘Secondary Image’,
‘id’ => ‘secondary-image’,
‘post_type’ => ‘post’
) );

}

Additional instructions here: http://www.wpbeginner.com/plugins/how-to-add-multiple-post-thumbnails-featured-images-in-wordpress/

Leave a Reply

Your email address will not be published. Required fields are marked *

*