php - Logo custom width not implementing

admin2025-06-02  3

add_theme_support( 'custom-logo', array(
        'height'      => auto,
        'width'       => 200,
        'flex-width' => true,
        'flex-height' => true,
    ) );

and

function theme_prefix_the_custom_logo() {
    if ( function_exists( 'the_custom_logo' ) ) {
    the_custom_logo();
    }
}

Live link

But it is not taking the custom width and height dimension.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748800475a313826.html

最新回复(0)