[wordpress插件] 7K Image Uploader Meta Box7K图像上传器元框

wordpress 插件 文章 2020-01-22 15:40 602 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

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文件,可在帖子编辑器下添加图片上传器字段。

Installation

安装

    1. Download the 7K Image Uploader Meta Box Plugin.
    2. 下载7K Image Uploader Meta Box插件。

    3. In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
    4. 在WordPress管理中,转到“插件”>“添加新内容”>“上载”,然后选择插件ZIP文件。

    5. Activate the plugin.
    6. 激活插件。

    7. Done!

    8. 完成!

      The image uploader meta box will appear on add/edit post (Check the screenshots)

      图片上传器元框将出现在添加/编辑帖子中(请检查屏幕截图

      .

    Printing the image output is very simple.

    打印图像输出非常简单。

    Just use this code in your template file.

    只需在您的模板文件中使用此代码即可。

    $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;

    This very first release doesn’t support custom post type.

    此第一版不支持自定义帖子类型。

    Worry not, for the next version it does.

    不用担心,对于下一个版本,它会这样做。

    Support

    支持

    Contact the plugin author: Kharis Sulistiyono

    联系插件作者: Kharis Sulistiyono

    Developer

    开发人员

    Are you a developer want to contribute to develop this plugin?

    您是开发人员想要为开发此插件做出贡献吗?

    Go to GitHub page.

    转到 GitHub页面

安装步骤

    1. Download the 7K Image Uploader Meta Box Plugin.
    2. 下载7K Image Uploader Meta Box插件。

    3. In your WordPress Administration, go to Plugins > Add New > Upload, and select the plugin ZIP file.
    4. 在WordPress管理中,转到“插件”>“添加新内容”>“上载”,然后选择插件ZIP文件。

    5. Activate the plugin.
    6. 激活插件。

    7. The image uploader meta box will appears on add/edit post.
    8. 图像上传器元框将出现在添加/编辑帖子上。

下载地址

https://downloads.wordpress.org/plugin/7k-image-uploader-meta-box.zip

https://downloads.wordpress.org/plugin/7k-image-uploader-meta-box.zip

-EOF-

AI助手支持GPT4.0