宝塔面板wordpress_如何在您的WordPress管理面板中添加特色图片列

宝塔面板wordpress

For those of you who do not know how to add post thumbnails (featured images) yet you should read our article on how to add post thumbnails in WordPress. If you already know how to do this then you will understand how useful it would be to have all of your featured images added to the ‘edit posts’ page rather than having to open each post individually to see them. This is exactly what the Featured Image Column Plugin does.

对于那些不知道如何添加帖子缩略图(功能图像)的人,您应该阅读有关如何在WordPress中添加帖子缩略图的文章。 如果您已经知道该怎么做,那么您将了解将所有精选图像添加到“编辑帖子”页面中将有多么有用,而不必单独打开每个帖子才能看到它们。 这正是“特色图片栏”插件的功能。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

To get started you need to install and activate the Featured Image Column plugin. There is no options screen for this plugin. All it does is add an extra column before on the ‘edit posts’ page to display the featured image if it exists.

首先,您需要安装并激活Featured Image Column插件。 此插件没有选项屏幕。 它所做的就是在“编辑帖子”页面上添加一列,以显示精选图片(如果存在)。

Featured image column on the posts screen in WordPress admin area

You can change the default image by using the following code in your functions.php file:

您可以在functions.php文件中使用以下代码来更改默认图像:


function my_custom_featured_image_column_image( $image ) {
    if ( !has_post_thumbnail() )
        return trailingslashit( get_stylesheet_directory_uri() ) . 'images/no-featured-image';
}
add_filter( 'featured_image_column_default_image', 'my_custom_featured_image_column_image' );

We hope this article helped you learn how to add a featured image column to your WordPress admin panel. You may also want to check out our list of 14 best featured images plugins and tutorials for WordPress.

我们希望本文能帮助您学习如何在WordPress管理面板中添加特色图片列。 您可能还需要查看我们的14个功能最强大的WordPress图像插件和教程列表。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-add-a-featured-image-column-to-your-wordpress-admin-panel/

宝塔面板wordpress

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值