Answer the question
In order to leave comments, you need to log in
Why is the menu not displayed in the customizer?
Here is my code:
$wp_customize->add_section('background_section', array(
'title' => 'Фоновое изображение',
'priority' => 30,
// 'panel' => 'background',
));
$wp_customize->add_setting('background_setting', array(
'default' => '',
));
$wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'background_setting', array(
'label' => 'Фоновая картинка',
'section' => 'background_section',
'settings' => 'background_setting',
)));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question