[wordpress插件] meta boxes元框

wordpress 插件 文章 2020-04-20 03:20 558 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Using this plugin you can create custom post and you can add various types of metaboxes to those custom posts, posts and pages.

使用此插件,您可以创建自定义帖子,还可以向这些自定义帖子,帖子和页面添加各种类型的元框。

Now how to get value of these meta boxes in template files?

现在如何在模板文件中获得这些元框的价值?

Call this function in your template file

在模板文件中调用此功能

djmetabox_getvalues(postid,type,slug);

djmetabox_getvalues(postid,type,slug);





postid : id of that post

postid:该帖子的ID





type: type of meta box 1,2,3,4,5 for Text Field,Text Area,Image Upload,Dropdown List,Checkboxes respectively.

类型:分别用于文本字段,文本区域,图像上载,下拉列表,复选框的元框1、2、3、4、5的类型。





slug: slug of that perticular metabox you can get it by looking at post or page or cutom post in which you have added that meta box.

子弹:您可以通过查看已在其中添加了该元盒的帖子或页面或纯属帖子来获取该元形元盒的子弹。



full instructions:?http://www.tejuscreative.com/djmetabox.docx

完整说明:? http://www.tejuscreative.com/djmetabox.docx

>

>

my facebook profile :https://www.facebook.com/dhananjay.singh2<

我的Facebook个人资料: https://www.facebook.com/dhananjay.singh2 <

/p>

/ p>


?my company website:?
?我的公司网站:?

/tejuscreative.com/" rel="nofollow">http://tejuscreative.com/

/tejuscreative.com/“ rel =” nofollow“> http://tejuscreative.com/

安装步骤

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

解压缩该zip文件,然后将其内容拖放到WordPress安装的wp-content / plugins /目录中,然后激活“来自插件的插件”页面。

?

下载地址
https://downloads.wordpress.org/plugin/djmetabox.zip
-EOF-

AI助手支持GPT4.0