插件"/>
wordpress图片插件
wordpress图片插件
It is not easy to find a perfect image to be the featured image for a blog post. Complicated license restrictions, and over-used stock images make it even harder. If you set up a theme that uses featured images and has no fallback option then you don’t want to leave a post without a featured image because then it will just show an empty box next to your post. More importantly, sometimes you just forget to add a featured image. This can look really bad on you. The simplest solution is to set a default fallback image when no featured image is found. In an earlier post we discussed how to set a default fallback image for your post thumbnails manually. In this article you will show you how to set a default featured image in WordPress using a plugin (yes no codeing required).
要找到完美的图像作为博客文章的特色图像并不容易。 复杂的许可证限制,以及过度使用的库存图片,使它变得更加困难。 如果您设置使用特色图片且没有后备选项的主题,那么您就不想留下没有特色图片的帖子,因为那样的话,它只会在您的帖子旁边显示一个空白框。 更重要的是,有时您只是忘记添加特色图片。 这看起来真的很糟糕。 最简单的解决方案是在找不到特色图片时设置默认的备用图片。 在较早的帖子中,我们讨论了如何为帖子缩略图手动设置默认的后备图像 。 在本文中,您将向您展示如何使用插件在WordPress中设置默认的特色图片(不需要编码)。
影片教学 (Video Tutorial)
演示地址
If you don’t like the video or need more instructions, then continue reading.
如果您不喜欢该视频或需要更多说明,请继续阅读。
First thing you need to do is install and activate the Default Featured Image plugin. Upon activation, the plugin adds an option under Setttings » Media to choose a default image.
您需要做的第一件事是安装并激活默认特色图片插件。 激活后,插件会在“ 布置»媒体”下添加一个选项以选择默认图像。
Upload your default image using the media uploader and save settings. This image could be any generic image, or may contain your website logo as the background. That’s all, now when your theme looks for a featured image and does not find one, it will display the default image.
使用媒体上传器上传默认图像并保存设置。 该图像可以是任何通用图像,也可以包含您的网站徽标作为背景。 就是这样,现在当您的主题正在寻找特色图片而找不到图片时,它将显示默认图片。
翻译自: /
wordpress图片插件
更多推荐
wordpress图片插件
发布评论