1

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.

1 Answer 1

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.

4
  • 1
    My question is how to add more than one. did you try to add more than one?
    – BenB
    Dec 14, 2020 at 19:24
  • Ah, my bad. I will edit my answer. Dec 14, 2020 at 19:29
  • this can work, add_theme_support( 'custom-logo'). the issue is how can I add text to allow the user know this is the footer logo and not header logo it appears as just "logo"
    – BenB
    Dec 14, 2020 at 20:02
  • I've not explored the area in question but I am pretty sure there are hooks for changing the customizer. Dec 15, 2020 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.