[wordpress插件] Custom fields shortcode自定义字段简码

wordpress 插件 文章 2020-04-08 07:00 446 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

USAGE:

用法:

use [cf] shortcode in your post content to show the custom field value without edit your theme files.

在帖子内容中使用[cf]简码显示自定义字段值,而无需编辑主题文件。

EXAMPLE:

示例:

[cf]somekey[/cf]

[cf] somekey [/ cf]

returns value of ‘somekey’ custom-filed.

返回自定义字段“ somekey”的值。

安装步骤

    1. Upload custom-fields-shortcode folder to the /wp-content/plugins/ directory
    2. custom-fields-shortcode 文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/custom-fields-shortcode.0.1.zip
-EOF-

AI助手支持GPT4.0