Linux 软件免费装
Banner图

Image Override

开发者 billerickson
更新时间 2015年8月19日 22:49
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.3

标签

image featured thumbnail

下载

1.1 1.2

详情介绍:

When you upload an image, WordPress will automatically scale/crop it to many different sizes. If you're not happy with the auto-crops, use this plugin to upload an alternative image. If you have images showing up in your theme already, there's nothing you need to do after activating this plugin. All WordPress functions that provide the thumbnail should now automatically work with your override image. This plugin will add a metabox to every post type and allow you to modify every image size (built-in and custom ones added using add_image_size). You can use two filters to change these (image_override_post_types and image_override_sizes). For examples, see the documentation. Documentation No support will be provided by the developer

安装:

  1. Upload the image-override folder to your /wp-content/plugins/ directory
  2. Activate the "Image Override" plugin in your WordPress administration interface
  3. Create (or edit) a page or a post with a featured image.
  4. Down below, in the Image Override metabox, upload an alternative image for one of the sizes, and save the post.
  5. Any function you're currently using to display the image (ex: the_post_thumbnail( 'medium' ) ) will now display the new image if the override is applied to that size.

更新日志:

1.2 1.1 1.0