Using this plugin you can create custom post and you can add various types of metaboxes to those custom posts, posts and pages.
使用此插件,您可以创建自定义帖子,还可以向这些自定义帖子,帖子和页面添加各种类型的元框。 p>
Now how to get value of these meta boxes in template files?
现在如何在模板文件中获得这些元框的价值? p>
Call this function in your template file
在模板文件中调用此功能 p>
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.
子弹:您可以通过查看已在其中添加了该元盒的帖子或页面或纯属帖子来获取该元形元盒的子弹。
p>
full instructions:?http://www.tejuscreative.com/djmetabox.docx
完整说明:? http://www.tejuscreative.com/djmetabox.docx p
>
>
p>
my facebook profile :https://www.facebook.com/dhananjay.singh2<
我的Facebook个人资料: https://www.facebook.com/dhananjay.singh2 <
/p>
/ p>
p>
?my company website:?
?我的公司网站:?
/tejuscreative.com/" rel="nofollow">http://tejuscreative.com/
/tejuscreative.com/“ rel =” nofollow“> http://tejuscreative.com/ p>