显示创世纪的特色图片 strong>,您可以选择默认或备用的特色图片,如果帖子/页面未设置特色图片,或者帖子/page's Featured Image is too small (smaller than your medium image setting), and on archive and taxonomy pages.
页面的“特色图片”太小(小于中等图像设置),并且在存档页面和分类页面上。
You may set the Default Featured Image under Appearance > Display Featured Image Settings.
您可以在外观>显示特色图片设置下设置默认特色图片。 p>
You may set a Featured Image for each term within a taxonomy (categories, tags, and any taxonomy for custom post types).
您可以为分类法中的每个术语(分类,标签和自定义帖子类型的任何分类法)设置“特色图片”。
This image will be used on taxonomy archives, and as a fallback image for posts within that taxonomy if no featured image exists (or if the featured image is too small).
如果没有特色图片(或特色图片太小),则该图片将用于分类档案,并作为该分类中帖子的后备图片。
If a post is assigned to multiple terms and has no featured image of its own, the most used term which has a featured image assigned will be the one used.
如果帖子被分配了多个术语并且没有自己的特色图像,则分配了特色图像的最常用术语将是使用的那个术语。 p>
If your site uses Custom Post Types, you can set a Featured Image for each Post Type on the main Display Featured Image for Genesis settings page.
如果您的站点使用“自定义帖子类型”,则可以在“显示创世记的特色图像”主设置页面上为每种帖子类型设置“特色图像”。
If your single post within this type does not have a featured image, the Post Type Featured Image will be used as a fallback.
如果您在此类型中的单个帖子没有特色图片,则该帖子类型的特色图片将用作后备广告。 p>
Add Your Featured Image to Your RSS Feed
将特色图片添加到RSS Feed h4>
Now you can add the Featured Image from each post to your RSS feed.
现在,您可以将每个帖子的精选图片添加到RSS feed。
This is an optional setting and applied intelligently:
这是一个可选设置,可以智能地应用: p>
- if your feed is set to output the full text, the Featured Image will be added to the beginning of your post content as a full width image.
- 如果您的供稿设置为输出全文,则“特色图片”将作为全宽图片添加到帖子内容的开头。 li>
- if your feed is set to output only the summary of your content, the Featured image will be added to the beginning of your summary as a thumbnail, aligned to the left.
- 如果您的供稿设置为仅输出内容摘要,则精选图片将作为缩略图添加到摘要的开头,并与左侧对齐。 li>
ul>
You can check/change your feed settings on your site’s Settings > Reading page.
您可以在网站的“设置”>“阅读”页面上检查/更改Feed设置。 p>
If you are already inserting your Featured Image into your feed through another function or plugin, you’ll want to remove that before activating this feature; 如果您已经通过其他功能或插件将“特色图片”插入到Feed中,则需要在激活此功能之前将其删除;otherwise you will have two copies of the image added to your feed!
否则,您会将图像的两个副本添加到Feed中!
If you are using Send Images to RSS, don’t worry about it.
如果您使用的是“将图像发送到RSS”,请不必担心。
I’ve made sure these two plugins coexist happily.
我确保这两个插件可以愉快地共存。 em> p>
Simple Styling
简单的样式 h4>
Display Featured Image for Genesis has some styling built in but I have intentionally tried to keep it minimal.
显示创世纪特色图片 strong>内置了一些样式,但我有意尝试将其最小化。All styling is for the banner image options, as the large options seem pretty straightforward.
所有样式均用于横幅图像选项,因为大型选项看起来非常简单。
Stying for titles are largely inherited from your theme–for example, the title will use the same size and font for your page titles, whether you are using a Featured Image or not.
标题的样式很大程度上继承自您的主题,例如,无论您是否使用“特色图片”,标题都将使用相同的大小和字体作为页面标题。
Some styles you can incorporate into your own theme:
您可以将某些样式合并到自己的主题中: p>
.has-leader
applies to any page using a leader/banner image.-
.has-leader code>适用于使用领导者/横幅图像的任何页面。Applies to the whole page.
适用于整个页面。 li>
.big-leader
the container which holds the leader/banner image and the post/page Title and excerpt or description.-
.big-leader code>用于保存领导者/横幅图像以及帖子/页面标题和摘录或描述的容器。 li>.featured-image-overlay
style appended to the post/page title if Move Excerpts option is not selected (default).如果未选择“移动摘录”选项 em>(默认值),则在帖子/页面标题后附加-
.featured-image-overlay code>样式。 li>.excerpt
(for single posts/pages) and .archive-description
(for archives) are styled as a unit.-
.excerpt code>(用于单个帖子/页面)和 .archive-description code>(用于档案)设置为一个单元。These are the containers for the post/page/archive/taxonomy title and description if the Move Excerpts option is selected.
如果选择了“移动摘录”选项 em>,则这些是帖子/页面/档案/分类法标题和描述的容器。 li>.featured
is appended to the large image output directly above the post/page content.-
.featured code>被附加到帖子/页面内容正上方的大图像输出中。 li>
ul>