We can add one site logo to site customize with add_theme_support( 'custom-logo' );
How can add another logo? Seems like the custom-logo theme support only allows to add one site logo and I need to a footer logo as well
I know its possible to add this to a custom theme settings page but prefer to add this to the customize screen same place where theme logo is added.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
I think you might be looking for something like this:
add_theme_support( 'custom-logo', array(
'height' => 480,
'width' => 720,
) );
You could also go with:
add_theme_support( 'custom-header', array(
'height' => 480,
'width' => 720,
) );
Use the custom-header for the top logo and the custom-logo for the footer (or the other way round).
Another approach might be to define a thumbnail size:
add_image_size( 'custom-footer-logo', 220, 220, array( 'left', 'top' ) );
You would have to work with the WordPress customizer controls to make a control to add and change the footer. But you could add as many images to your theme as you want that way.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0