• Resolved figure2

    (@figure2)


    Hello, I have added the following code to my child theme:

    <?php if( function_exists( 'the_custom_logo' ) && has_custom_logo() ) : ?>
       <section id="site-logo">
           <?php the_custom_logo(); ?>
       </section>
    <?php endif; ?>

    I can see it’s working in the “Site Identity” section of the “Customize” menu but it’s not showing up in my theme:

    Any idea what is blocking the logo?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Afterimage Designs

    (@afterimagedesigns)

    Hi figure2,

    Thanks for using our theme. It seems that you’ve created a new function for the site logo ‘the_custom_logo’, Did you copy the header.php of the parent theme to the child theme? Remove the custom function you’ve created and copied the header.php to the child theme.

    This will solve your issue. Thanks.

    Theme Author Afterimage Designs

    (@afterimagedesigns)

    Hi @figure2,

    I would like to ask if your issue is solved. Thanks.

    Thread Starter figure2

    (@figure2)

    I decided to develop my own Bootstrap starter theme for my needs. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t get logo to display on my child theme’ is closed to new replies.