[wordpress插件] Details King Pro细节King Pro

wordpress 插件 文章 2020-04-15 23:40 534 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Stay up-to-date with the latest by following @kingproplugins on Twitter, @kingproplugins

://facebook.com/kingproplugins" rel="nofollow">KingProPlugins on Facebook or King Pro Plugins on Google+

“> Google+上的King Pro插件

Built as a continuation of the blog posts on King Pro Plugins – Building a simple WordPress Plugin

“> King Pro插件–构建一个简单的WordPress插件

Details King Pro creates an easy way to have global values that can be used

Details King Pro 创建了一种简单的方法来拥有可以使用的全局值

site with either via the provided shortcode or

通过提供的简码或
使用

via the PHP functions.

通过PHP函数。

Fields dynamically created by you can have a variety of values such as single textbox plain text value, block textarea plain text value, WYSIWYG content

您动态创建的字段可以具有多种值,例如单个文本框纯文本值,块文本区域纯文本值,所见即所得内容

value, file upload (such as a logo), or a date picker field.

值,文件上传(例如徽标)或日期选择器字段。

If you have any suggestions or would like to see a feature in the plugin, please let me know in the support forum.

如果您有任何建议或希望在插件中看到功能,请在支持论坛中让我知道。

Any issues you are having, I’d also love to know, so again, please let me know using the support forum.

我也很想知道您遇到的任何问题,请再次通过支持论坛让我知道。

Check out the King Pro Plugins range

查看King Pro插件范围

How To Use

使用方法

Use Shortcodes

使用简码

Shortcodes can be used in any page or post on your site.

简码可用于您网站上的任何页面或帖子。

By default:
    

默认情况下:
    

[dkp k=”your-field-key”]

[dkp k =“您的字段密钥”]

If you would like to display an error if the key is not found:
    

如果找不到密钥时要显示错误:
    

[dkp k=”your-field-key” e=true]

[dkp k =“ your-field-key” e = true)

To add this into a template, just use the “do_shortcode” function:
    

要将其添加到模板中,只需使用“ do_shortcode”函数:
    

<?php if(function_exists('dkp_func'))echo do_shortcode(“ [dkp k ='your-field-key']”));

?>

?>

Of course, why do that when you have functions you can use:

当然,为什么要在有功能的情况下可以这样做:

<?php the_dkp_field($ field_key,$ error);

?>

?>

This will print the value right there, or if you need to use the variable prior to printing it, use:

这将在此处打印值,或者如果您需要在打印之前使用变量,请使用:

<?php $ value = get_dkp_field($ field_key,$ error);

?>

?>

Having Trouble?

有麻烦吗?

Get support either on the support forums here or at @kingproplugins on Twitter, @kingproplugins

.com/kingproplugins" rel="nofollow">KingProPlugins on Facebook or King Pro

.com / kingproplugins“ rel =” nofollow“> Facebook上的KingProPlugins King Pro

Plugins on Google+

Google+上的插件

安装步骤

    1. Download and unzip the zip file onto your computer
    2. 将zip文件下载并解压缩到计算机上

    3. Upload the ‘details-king-pro’ folder into the /wp-content/plugins/ directory (alternatively, install the plugin from the plugin directory within the admin)
    4. 将“ details-king-pro”文件夹上载到 / wp-content / plugins / 目录中(或者,从管理员的plugin目录中安装该插件)

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

    7. Create your first field within the ‘Details King Pro’ section of the admin
    8. 在管理员的“ Details King Pro”部分中创建您的第一个字段

    9. Within the WYSIWYG editor, place the short code ‘[dkp k=”your-field-key”]’ or within the code,

    10. 在WYSIWYG编辑器中,将短代码“ [dkp k =” your-field-key”]]或代码中的<?php the_dkp_field('your-field-key');

      ?>

    11. ?>

    Having Trouble?

    有麻烦吗?

    Get support either on the support forums here or at @kingproplugins on Twitter, @kingproplugins

    .com/kingproplugins" rel="nofollow">KingProPlugins on Facebook or King Pro

    .com / kingproplugins“ rel =” nofollow“> Facebook上的KingProPlugins King Pro

    Plugins on Google+

    Google+上的插件

下载地址
https://downloads.wordpress.org/plugin/details-king-pro.1.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] CCIChat Live Chat for WordPress WebsitesWordPress网站的CCIChat实时聊天
[wordpress插件] LinkedIn Company UpdatesLinkedIn公司更新
[wordpress插件] Advanced Testimonial Generator高级证明书生成器
[wordpress插件] ClinicalWP CoreClinicalWP核心
[wordpress插件] BOOKING SEARCH HOTEL预订搜索酒店
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6127
如何解决渲染层网络错误Failed to load media? 17393
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3108
删除部分微信用户个人数据的通知,怎么删除? 6381