![](https://i-blog.csdnimg.cn/blog_migrate/91b5bd30ad4b1d30b33b413bdf9970b5.png)
wordpress 缩略图
Recently one of our readers asked if there was a way to add multiple post thumbnails or featured images in a WordPress post. By default, most WordPress themes come with built-in support for featured images which makes adding post thumbnails really simple. However when working on custom projects, you might need to add a second featured image to a post. In this article we will show you how to add multiple post thumbnails / featured images in WordPress.
最近,我们的一位读者询问是否可以在WordPress帖子中添加多个帖子缩略图或特色图片。 默认情况下,大多数WordPress主题都内置了对特色图片的支持,这使得添加帖子缩略图非常简单。 但是,在处理自定义项目时,您可能需要在帖子中添加第二张特色图片。 在本文中,我们将向您展示如何在WordPress中添加多个帖子缩略图/特色图片。
First thing you need to do is install and activate the Multiple Post Thumbnails plugin. After activating the plugin, you need to add the following code in your theme’s functions.php file. You can add it anywhere in the file as long as you are doing it right. Read our guide on