[wordpress插件] Custom Types and Fields自定义类型和字段

wordpress 插件 文章 2020-04-10 05:20 522 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

All custom types must currently be created in code since this was the easiest way to create it.

当前必须在代码中创建所有自定义类型,因为这是创建它的最简单方法。

The plugin ties in to the standard HTML and Image fields functionality within WordPress.

该插件与WordPress中的标准HTML和“图像”字段功能相关联。

Select boxes, checkboxes and

选择框,复选框和

standard text fields can also be created.

也可以创建标准文本字段。

By having content in the code, you can do things like create dropdowns of other content easily, as well as make migration between environments easier (example code is supplied).

通过在代码中包含内容,您可以轻松地进行创建其他内容的下拉菜单,以及使环境之间的迁移更加容易(提供示例代码)。

安装步骤

1) Upload the plugin to ‘/wp-content/plugins/’ directory 2) Activate the plugin through the plugins

1)将插件上传到“ / wp-content / plugins /”目录2)通过插件激活插件

3) Move the file “sample-types.php” to your active theme directory 4) Update the file with any custom types you want to create

3)将文件“ sample-types.php”移动到活动主题目录中。4)使用要创建的任何自定义类型更新文件

You will still need to create templates to go with your custom types: https://codex.wordpress.org/Custom_Fields https://codex.wordpress.org/Function_Reference/get_post_custom https://codex.wordpress.org

您仍然需要创建模板以使用自定义类型:https://codex.wordpress.org/Custom_Fields https://codex.wordpress.org/Function_Reference/get_post_custom https://codex.wordpress.org

/Function_Reference/get_post_meta

/ Function_Reference / get_post_meta

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

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Blog Layout by WebLumia InfomaticsWebLumia Infomatics的博客布局
[wordpress插件] Content Update Notification内容更新通知
[wordpress插件] CodeMirror for CodeEditorCodeMirror for CodeEditor
[wordpress插件] AffiliateWP Checkout ReferralsAffiliateWP Checkout推荐人
[wordpress插件] CF7 Required custom fieldCF7必填的自定义字段
随便看看
微信小程序支付和H5支付可以用同一个商户号吗和appid?两种方式的退款接口有什么差别?求救 1899
老是提示"你所提供的应用内容与所选类目不符",但是又没有符合的类目让我选,社交类的应该选择哪个? 653
微信开放平台认证之后,授权绑定的appID提示:不支持关联该类型的appID,微信客服说目前不支持, 1526
H5发放商家券错误码268435461 595
小商店对应的微信支付商户,没有营销中心配置不了优惠券。小商店里有营销中心,但是灰色的,怎么才能使用? 1195
当前商户号暂不支持关联该类型的AppID? 2603
微信申报支付单 返回的一直是未申报 state:UNDECLARED 786
签名失败,验签失败 678
微信商户提现权限处罚 809
调起微信支付jsapi后,不想支付了关闭支付页,页面被卡住了,怎么办? 639