Title: Post Thumbnail Extras
Author: sewpafly
Published: <strong>2013 年 4 月 9 日</strong>
Last modified: 2014 年 12 月 16 日

---

搜索插件

![](https://ps.w.org/post-thumbnail-extras/assets/banner-772x250.jpg?rev=705217)

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

![](https://ps.w.org/post-thumbnail-extras/assets/icon.svg?rev=981033)

# Post Thumbnail Extras

 作者：[sewpafly](https://profiles.wordpress.org/sewpafly/)

[下载](https://downloads.wordpress.org/plugin/post-thumbnail-extras.zip)

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

 [支持](https://wordpress.org/support/plugin/post-thumbnail-extras/)

## 描述

#### Features

 * Provides a shortcode for embedding post-thumbnails. Authors can quickly change
   pictures in posts without wading through HTML. This can be awesome in several
   ways: if your post-thumbnails change the width or height due to a theme change,
   or if you have cropped them with another tool — this will always pull wordpress’
   latest image).
 * Includes a hook into the media library to create the above shortcode.
 * Add new post thumbnails via WordPress Settings → Media.

#### Future Plans

Submit any other ideas at https://github.com/sewpafly/post-thumbnail-extras/issues.

## 屏幕截图

 * [[
 * In Settings → Media, click the plus sign to add a new post thumbnail.
 * [[
 * Update the width/height and whether or not the post-thumbnail should be cropped
   to an exact size. (If the width or height is set to 0, that boundary constraint
   is not enforced). Make sure you click the “Save Changes” button so that the changes
   are stored in the database.
 * [[
 * In the media editor, you can choose to insert a shortcode of a single picture
   with the “Insert shortcode” button.

## 安装

#### Shortcode

Use the shortcode `[pt]` in your posts to quickly embed the featured image as a 
thumbnail. Use the attribute ‘size’ to change to a different post-thumbnail size(
e.g. `[pt size='medium']`). You can also use any image in your media gallery if 
you know the id, by using the `id` attribute (`[pt id='100']`).

Use the `link` attribute to wrap the image in a link.

 * `link='file'` will create a link to the full size image.
 * `link='post'` will create a link to the attachment page.
 * `link='http...'` creates a link to any URL.

Use the media library to quickly add this shortcode for the selected image by pressing
the “Insert shortcode” button.

#### Add/Delete Post Thumbnails

 1. In Settings → Media, click the plus sign to add a new post thumbnail.
 2. Update the width/height and whether or not the post-thumbnail should be cropped
    to an exact size. (If the width or height is set to 0, that boundary constraint
    is not enforced — effectively, it’s infinite). Make sure you click the “save” button
    so that the changes are stored in the database.

## 常见问题

  Did you even test this?

Yes. No. Sort of. Thanks for asking. But [let me know if you’re having problems](https://github.com/sewpafly/post-thumbnail-extras/issues)
and I’ll see what I can do.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Post Thumbnail Extras」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ sewpafly ](https://profiles.wordpress.org/sewpafly/)

[帮助将「Post Thumbnail Extras」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/post-thumbnail-extras)

### 对开发感兴趣吗?

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

## 更新日志

#### 6.0

 * Added `ptx_html_attrs` filter for modifying the html output
 * Fixed the `shortcode_atts` so that the `shortcode_atts_ptx` filter will fire

#### 5.0

 * Updated for wordpress 3.8
 * Added code to check for pending operations on the Options → Media screen.

#### 4.0

 * Added alignment and link options to the shortcode
 * WordPress 3.6-beta2 fix

#### 3.0

 * Shortcode Creation with the Media Library
 * Display post thumbnail information for thumbnails created by other plugins and
   themes

#### 2.0

 * CRUD (Create/Read/Update/Delete) operations on post-thumbnails

#### 1.0

 * Initial cut

## 额外信息

 *  版本 **6.0**
 *  最后更新：**11 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 2.5 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/post-thumbnail-extras/)
 * 标签
 * [awesome](https://cn.wordpress.org/plugins/tags/awesome/)[featured image](https://cn.wordpress.org/plugins/tags/featured-image/)
   [media library](https://cn.wordpress.org/plugins/tags/media-library/)[post thumbnail](https://cn.wordpress.org/plugins/tags/post-thumbnail/)
 *  [高级视图](https://cn.wordpress.org/plugins/post-thumbnail-extras/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/post-thumbnail-extras/reviews/)

## 贡献者

 *   [ sewpafly ](https://profiles.wordpress.org/sewpafly/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/post-thumbnail-extras/)

## 捐助

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

 [ 捐助此插件 ](http://sewpafly.github.io/post-thumbnail-editor/extras/#toc_donations)