admin管理员组文章数量:1317906
This is my code:
$configuracoes = register_post_type( 'configuracoes', $args );
$configuracoes->add_meta_box(
'dados',
'Personalize os dados de impressão',
array(
'tabs',
array(
'Dados Pessoais' => array(
array(
'name' => 'Série',
'label'=> 'Série',
'type' => 'text',
'underscore' => false
)
),
'Dados Profissionais' => array(
array(
'name' => 'Tempo de Profissão',
'label'=> 'Tempo de Profissão',
'type' => 'text',
'underscore' => false
),
)
)
)
This code generates this form:
How can I put in place of the input, a text box similar to the one on the page to add a new blog post for example?
本文标签: custom fieldAdding text box with addmetabox
版权声明:本文标题:custom field - Adding text box with add_meta_box 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742027701a2415857.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论