how to set site logo in wordpress code example
Example 1: adding logo support to wordpress site
add_theme_support( 'custom-logo' );
Example 2: adding logo support to wordpress site
if ( function_exists( 'the_custom_logo' ) ) {
the_custom_logo();
}