Some websites have a corporate partner and want a second logo, but all of you know WordPress has only a primary logo and want to find a tip to solve this issue. To add a second logo in the WordPress Customizer, follow these steps: <ol> <li>Using <strong>customize_register</strong> in <strong>functions.php </strong>register second logo in function.php <div> <pre>function mytheme_customize_register( $wp_customize ) { // Add setting for the secondary logo $wp_customize->add_setting( 'secondary_logo' ); // Add control for the secondary logo $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'secondary_logo', array( 'label' => __( 'Secondary Logo', 'mytheme' ), 'section' => 'title_tagline', 'settings' => 'secondary_logo', ) ) ); } add_action( 'customize_register', 'mytheme_customize_register' );</pre> </div></li> <li>Display <strong>Primary logo</strong> and <strong>second logo</strong> together add function to get logo in <strong>function.php</strong> Now, you can put this logo in the place you need by calling mytheme_display_logos(); in footer.php, header.php, or whatever. <div> <pre>function mytheme_display_logos() { // Display the primary logo echo '<a class="logo-container" href="' . esc_url(home_url('/')) . '" rel="home">'; $custom_logo = wp_get_attachment_image_src(get_theme_mod('custom_logo'),'full'); if ($custom_logo) { echo '<img class="custom-logo" src="' . esc_url($custom_logo[0]) . '" width="100" height="100" alt="' . esc_attr(get_bloginfo('name')." Primary Logo") . '">'; } // Display the secondary logo $secondary_logo = get_theme_mod('secondary_logo'); if ($secondary_logo) { echo '<img class="custom-logo secondary-logo" src="' . esc_url($secondary_logo) . '" width="100" height="100" alt="' . esc_attr(get_bloginfo('name')." Second Logo") . '">'; } echo '<span class="fs-4">'.esc_html(get_bloginfo('name')).'<span>'; echo '</a>'; }</pre> </div></li> <li>Upload logo <ul> <li>Go to <strong>Appearance > Customize</strong>.</li> <li>Find the <strong>second logo</strong> option and upload an image.</li> <li>Save changes and preview your site. <blockquote>But, If you don't upload Primary or Second logo, It is going to show only your site name.</blockquote> </li> </ul> </li> <li>Final Preview shown as below and hope this content help you <a href="https://www.v-norm.com/wp-content/uploads/2025/03/Screenshot-2025-03-11-234719.png"><img class="alignnone size-full wp-image-3167" src="https://www.v-norm.com/wp-content/uploads/2025/03/Screenshot-2025-03-11-234719.png" alt="" width="436" height="119" /></a></li> </ol>