Show second custom logo on page

Question

i would really appreciate it if somebody could help me to show my second logo on my wordpress site in the navigation section. I am trying to find a solution for many days now. I added the code below to be able to manage the logo in the customizer. And that worked. I see the logo in the customizer but no matter what i try, it is not shown on the site next to the custom logo. Whats wrong??

Code in functions.php:

function your_theme_customizer_setting($wp_customize) {
// add a setting 
    $wp_customize->add_setting('geva-homepage_custom-logo2');
// Add a control to upload the hover logo
    $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,   'geva-homepage_custom-logo2', array(
    'label' => 'Second Logo',
    'section' => 'title_tagline', //this is the section where the custom-logo from WordPress is
    'settings' => 'geva-homepage_custom-logo2',
    'priority' => 8 // show it just below the custom-logo
    )));
}

add_action('customize_register', 'your_theme_customizer_setting');
0
Chrissi 3 months 0 Answers 7 views 0

Leave an answer