I'm using twentytwentyone-child theme and I want to link the custom_logo to the homepage even on the homepage.
But I can't find any setting for that?
I read this: https://developer.wordpress.org/reference/functions/the_custom_logo/
And it says: "Displays a custom logo, linked to home unless the theme supports removing the link on the home page."
But if I look into the site-branding.php of the parent-theme I can only find this:
<?php if ( has_custom_logo() && $show_title ) : ?>
<div class="site-logo"><?php the_custom_logo(); ?></div>
<?php endif; ?>
<div class="site-branding">
<?php if ( has_custom_logo() && ! $show_title ) : ?>
<div class="site-logo"><?php the_custom_logo(); ?></div>
<?php endif; ?>
There is no if/else for linking it or don't link it.
How can I do that?