Apraksts
A simple WP plugin that adds a meta box in your post admin to allow upload the header image for your post.
Installation
- Download the Header Image Uploader Plugin.
- In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
- Activate the plugin.
- 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.
Uzstādīšana
- Download the Header Image Uploader Plugin.
- In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
- Activate the plugin.
- The image uploader meta box will appears on add/edit post.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Header Image Uploader” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Header Image Uploader” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- Initial release