I am using
add_theme_support('custom-logo', array(
// The logo will be displayed with the following sizes:
'width' => 200,
'height' => 200,
));
to display a logo image in my sidebar.
in functions.php I have set the size for the large logo:
add_theme_support('custom-logo', array(
// The logo will be displayed with the following sizes:
'width' => 200,
'height' => 200,
));
However, I would also like to use the same logo in the header, but with a size of 80x80px. This means I need to set two different sizes for the_custom_logo
. Is this possible? If so how?
I have tried using add_image_size
but I believe this is wrong so I am not really sure how to do this.