[wordpress插件] Insert Featured Image Shortcode插入特色图片简码

wordpress 插件 文章 2020-01-31 01:00 615 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Adds a [post_thumbnail] shortcode for use with wordpress post thumbnails.

添加[post_thumbnail]简码以用于wordpress帖子缩略图。

Size can also be set using [post_thumbnail size=”XXXX”].

也可以使用[post_thumbnail size =“ XXXX”]设置大小。

(You can call the function directly in your theme with .)

(您可以直接在主题中使用 <?php post_thumbnail('size = thumbnail');?> 调用该函数。)

Just insert the shortcode into any post’s content and when it will be replaced with the featured image.

只需将简码插入任何帖子的内容中,何时将其替换为精选图片。

This works only with the featured images introduced in WordPress 2.9.

这仅适用于WordPress 2.9中引入的特色图像。

For more information head to the full information page for WordPress Post Thumbnail

有关更多信息,请访问 WordPress发布缩略图的完整信息页面

Shortcode.

简码。

安装步骤

    1. Download the zip file
    2. 下载zip文件

    3. Unzip and upload the plugin to your wp-content/plugins/ folder.
    4. 解压缩该插件并将其上传到您的 wp-content / plugins / 文件夹。

    5. The new box will automatically appear on edit/write post pages.
    6. 新框将自动出现在编辑/撰写帖子页面上。

下载地址

https://downloads.wordpress.org/plugin/add-post-thumbnail-shortcode.1.2.2.zip

https://downloads.wordpress.org/plugin/add-post-thumbnail-shortcode.1.2.2.zip

-EOF-

AI助手支持GPT4.0