跳到内容

Header Image Uploader

v1.0

imran3229 · 2014年9月1日 上架

Simple WordPress plugin adds image uploader meta box.

正在使用
20+
评分
暂无
累计下载
3,960
最近更新
2025年11月9日
需要 WordPress 3.0+已测试到 6.8.13

贡献者

截图

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

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums