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