Good afternoon, I have a template in html5, and I want to adapt it with wordpress creating custom fields in the customizer, I have a problem, I have created the main panel which I want to host the sections of my page, and this panel will add a section, but I could not add another one, the code I have is
// PANEL PRINCIPAL
$wp_customize->add_panel( 'davidvpino_theme_options', array(
'title' => __( 'Opciones de Tema DavidVPino', 'davidvpino' ),
'capability' => 'edit_theme_options',
'description' => __( 'Administracion de Secciones', 'davidvpino' ),
'priority' => 1,
) );
// FIN DE DEL PANEL PRINCIPAL
// SECCIONES DEL PANEL PRINCIPAL
$wp_customize->add_section( 'davidvpino_theme_home', array(
'title' => __( 'Seccion Inicio', 'davidvpino' ),
'capability' => 'edit_theme_options',
'panel' => 'davidvpino_theme_options',
'description' => __( 'Imagen y texto de la sección Inicio', 'davidvpino' ),
'priority' => 10,
) );
$wp_customize->add_section( 'davidvpino_theme_about', array(
'title' => __( 'Seccion Acerca de', 'davidvpino' ),
'capability' => 'edit_theme_options',
'panel' => 'davidvpino_theme_options',
'description' => __( 'Imagen y texto de la sección Acerca de', 'davidvpino' ),
'priority' => 20,
) );
// FIN DE SECCIONES DEL PANEL PRINCIPAL
the davidvpino_theme_home
section appears in the panel that you create but davidvpino_theme_about
does not appear as shown in the image
Someone could tell me exactly what is due, if you should create another array-type function to add several sections to a panel.