Title: Term Featured Image Fallback
Author: Eduardo Lazaro
Published: <strong>2017 年 4 月 29 日</strong>
Last modified: 2017 年 5 月 1 日

---

搜索插件

![](https://ps.w.org/term-featured-image-fallback/assets/banner-772x250.jpg?rev=
1647804)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/term-featured-image-fallback/assets/icon-256x256.png?rev=1647804)

# Term Featured Image Fallback

 作者：[Eduardo Lazaro](https://profiles.wordpress.org/neeonez/)

[下载](https://downloads.wordpress.org/plugin/term-featured-image-fallback.zip)

 * [详情](https://cn.wordpress.org/plugins/term-featured-image-fallback/#description)
 * [评价](https://cn.wordpress.org/plugins/term-featured-image-fallback/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/term-featured-image-fallback/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/term-featured-image-fallback/#developers)

 [支持](https://wordpress.org/support/plugin/term-featured-image-fallback/)

## 描述

Features:

 1. Add featured images to all terms of any taxonomy, including, categories, tags or
    terms of any custom taxonomy.
 2. Set a fallback option for posts of any post type so they use term featured images
    as fallback for post featured images.
 3. Set a priority in terms so the each post uses the higher priority featured image
    as fallback in case the post has many terms associated.
 4. Set also a priority in taxonomies in case a post has one or more terms of different
    taxonomies associated.
 5. Enable and disable the fallback option by post type.
 6. Clean uninstall option to delete all data related to this plugin so you can keep
    your database clean.
 7. If you are a developer, you can use the cs__the_term_thumbnail() and the cs__get_term_thumbnail_id()
    functions to get the featured image or the featured image id for any term.

### Tutorial

 1. Go to Appearance -> Taxonomy images
 2. In “Taxonomy configuration” you have a list of taxonomies.
     2.1. In the first select
    box you can select here whether its terms should have a featured image. 2.2. In
    the second select box you can select if posts should use this taxonomy as a fallback
    for the featured image in case they have a term associated. You can also select
    the priority in case they have terms of more than one taxonomy. 2.3. In the “Post
    type configuration” area there’s a list of post types. You can select if the taxonomy
    featured image fallback should be enabled or disabled for each post type.
 3. If you go to the page of a taxonomy in which the featured image is enabled, you
    should be able to upload a featured image and also to set the priority, in case
    a post has more than one term of this taxonomy.
 4. Functions for developers:

4.1. cs__the_term_thumbnail($termid[OPTIONAL])
 You can use this function to print
the term featured image in case there’s one selected. You can pass the termid parameter
to print the image for a term. If you don’t pass the termid parameter, it will print
the current taxonomy image in case tou are in a term archive page or if there is
a term in the current query. 4.2. cs__get_term_thumbnail_id($termid[OPTIONAL]) You
can use this function to get the the term featured image id in case there’s one 
selected. You can pass the termid parameter to get the featured image id of that
term. If you don’t pass the termid parameter, it will get the current taxonomy image
id in case tou are in a term archive page or if there is a term in the current query.

## 屏幕截图

 * [[
 * [[
 * [[
 * [[

## 安装

 1. Unzip and upload the “taxonomy-featured-images” directory to the plugin directory(`/
    wp-content/plugins/`)
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Installation Instructions

 1. Unzip and upload the “taxonomy-featured-images” directory to the plugin directory(`/
    wp-content/plugins/`)
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

此插件暂无评价。

## 贡献者及开发者

「Term Featured Image Fallback」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Eduardo Lazaro ](https://profiles.wordpress.org/neeonez/)
 *   [ Eduardo Lazaro ](https://profiles.wordpress.org/eduardo-lazaro/)

[帮助将「Term Featured Image Fallback」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/term-featured-image-fallback)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/term-featured-image-fallback/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/term-featured-image-fallback/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/term-featured-image-fallback/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/term-featured-image-fallback/)。

## 更新日志

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.4.1**
 *  最后更新：**9 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.4 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/term-featured-image-fallback/)
 * 标签
 * [featured](https://cn.wordpress.org/plugins/tags/featured/)[featured image](https://cn.wordpress.org/plugins/tags/featured-image/)
   [taxonomy](https://cn.wordpress.org/plugins/tags/taxonomy/)[term](https://cn.wordpress.org/plugins/tags/term/)
   [thumbnail](https://cn.wordpress.org/plugins/tags/thumbnail/)
 *  [高级视图](https://cn.wordpress.org/plugins/term-featured-image-fallback/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/term-featured-image-fallback/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/term-featured-image-fallback/reviews/)

## 贡献者

 *   [ Eduardo Lazaro ](https://profiles.wordpress.org/neeonez/)
 *   [ Eduardo Lazaro ](https://profiles.wordpress.org/eduardo-lazaro/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/term-featured-image-fallback/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PKKYCEKCNCCCU)