Envio de arquivo para as opções do tema
$my_sections[] = array(
'title' => 'Opções do Site',
'header' => '',
'desc' => '',
'icon_class' => 'icon-large',
'icon' => 'el-icon-cog',
//'submenu' => false, // Setting submenu to false on a given section will hide it from the WordPress sidebar menu!
'fields' => array(
array(
'id' => 'footer_file',
'type' => 'media',
'type' => 'gallery',
'url' => true,
'title' => 'Download do Contratante',
'compiler' => 'true',
'mode' => false,
),
),
);