I'm using add_theme_support( 'custom-header' )
to upload images for an image slider. The slider also has other settings in the customizer (duration, fade, overlay color, etc).
Because there are multiple settings all related to the slider, I'd like to group all of them in the same Customizer panel but I don't see a way to move custom-header
into the same panel.
There are settings available but they don't seem to help in this particular case:
$defaults = array(
'default-image' => '',
'width' => 0,
'height' => 0,
'flex-height' => false,
'flex-width' => false,
'uploads' => true,
'random-default' => false,
'header-text' => true,
'default-text-color' => '',
'wp-head-callback' => '',
'admin-head-callback' => '',
'admin-preview-callback' => '',
);
add_theme_support( 'custom-header', $defaults );
https://codex.wordpress.org/Custom_Headers
So the question is how to customize the location of custom-header
in the customizer?