Only single featured image is not enough sometimes.
有时仅仅一张具有特色的图像是不够的。
So you can have one more by using this plugin.
因此,使用此插件,您可以再拥有一个。
It is just 7 kilobytes PHP file which adds image uploader field under post editor.
这只是7 KB的PHP文件,可在帖子编辑器下添加图片上传器字段。 p>
Installation
安装 h4>
- Download the 7K Image Uploader Meta Box Plugin.
- 下载7K Image Uploader Meta Box插件。 li>
- In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
- 在WordPress管理中,转到“插件”>“添加新内容”>“上载”,然后选择插件ZIP文件。 li>
- Activate the plugin.
- 激活插件。 li>
- Done!
- 完成!
The image uploader meta box will appear on add/edit post (Check the screenshots)
图片上传器元框将出现在添加/编辑帖子中(请检查屏幕截图)
.
。 li>
ol>
Printing the image output is very simple.
打印图像输出非常简单。
Just use this code in your template file.
只需在您的模板文件中使用此代码即可。 p>
$id = get_post_meta($post->ID, 'iumb', true); $ id = get_post_meta($ post-> ID,'iumb',true);$image = wp_get_attachment_image_src($id, 'full-size');
$ image = wp_get_attachment_image_src($ id,'全尺寸');
echo $image;
echo $ image;
code> pre>
This very first release doesn’t support custom post type.
此第一版不支持自定义帖子类型。
Worry not, for the next version it does.
不用担心,对于下一个版本,它会这样做。 p>
Support
支持 h4>
Contact the plugin author: Kharis Sulistiyono
联系插件作者: Kharis Sulistiyono p>
Developer
开发人员 h4>
Are you a developer want to contribute to develop this plugin?
您是开发人员想要为开发此插件做出贡献吗?
Go to GitHub page.
转到 GitHub页面。 p>