I know that there’s no proper way to add another WP_Customize_Background_Image_Control() than to just add_theme_support( 'custom-header' ). So, I just add a WP_Customize_Image_Control() with other alternative controls to achieve the same functionalities as WP_Customize_Background_Image_Control().

Now, how can I add a WP_Customize_Background_Image_Control(), I already did this but my customize stop running, my page shows blank page?

$wp_customize->add_setting( 'layout_container_imageposition', array(
    'default'         => 'center center',
    'transport'       => 'postMessage',
) );
$wp_customize->add_control(
    new WP_Customize_Background_Position_Control(
        $wp_customize,
        'layout_container_imageposition',
        array(
            'label'           => __( 'Image Position', 'dynamicb3' ),
            'section'         => 'layout_container',
        )
    )
);

Can some figure it out? Or it’s the same as WP_Customize_Background_Image_Control() that no proper way to duplicate?

Read more here: How to add a WP_Customize_Background_Image_Control()?


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: