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

Header Image Uploader

描述

A simple WP plugin that adds a meta box in your post admin to allow upload the header image for your post.

Installation

  1. Download the Header Image Uploader Plugin.
  2. In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
  3. Activate the plugin.
  4. Done! The image uploader meta box will appear on add/edit post.

Printing the image output is very simple. Just use this code in your template file.

  <?php /*$image = get_post_meta(get_the_ID(), '$key', true); */
                       $id = get_post_meta($post->ID, 'imhy', true);
                       $image = wp_get_attachment_image_src($id, 'full-size');
                      ?>
                      <img src="<?php echo $image[0]; ?>" />

Support

Contact the plugin author: Imran Ahmed Khan

Developer

Are you a developer want to contribute to develop this plugin? Go to Contact Us.

屏幕截图

  • Uploader field
  • WordPress media uploader
  • Image uploaded
  • Image selected

安装

  1. Download the Header Image Uploader Plugin.
  2. In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
  3. Activate the plugin.
  4. The image uploader meta box will appears on add/edit post.

评价

此插件暂无评价。

贡献者及开发者

“Header Image Uploader” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Header Image Uploader”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial release