I’m trying to achieve this but…I think I don’t understand enough coding…:(
Do I place this instead of add_theme_support in function.php ?
Do I have to change anything elsewhere ?
In the codex I don’t understand this part :
Use function_exists() wrapper to maintain backwards compatibility with older versions of WordPress.
To get the URL of the custom logo image:
$custom_logo_id = get_theme_mod( ‘custom_logo’ );
$image = wp_get_attachment_image_src( $custom_logo_id , ‘full’ );
echo $image[0];
or
$custom_logo_id = get_theme_mod( ‘custom_logo’ );
$custom_logo_url = wp_get_attachment_image_url( $custom_logo_id , ‘full’ );
echo ‘‘;
Thanks a lot for your time !