Make the logo image go to a custom URL

For the Talon theme, where can I make a change so that the logo image goes to a custom URL when clicked?

Hello, please check these links:

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.
aThemes Support

Thank you for your help, Roman. I’ve got it figured out!

One more question, I hope you can help. Is there a way to make this code only work while on the home page? For example, while on the shop page, clicking the logo would take you to the home page, but while on the home page the logo takes you to a custom URL.

add_filter( 'get_custom_logo', 'wecodeart_com' );
function wecodeart_com() {
$custom_logo_id = get_theme_mod( 'custom_logo' );
$html = sprintf( '<a href="%1$s" class="custom-logo-link" rel="home" itemprop="url">%2$s</a>',
        esc_url( 'CUSTOM URL HERE' ),
        wp_get_attachment_image( $custom_logo_id, 'full', false, array(
            'class'    => 'custom-logo',
        ) )
return $html;   


This goes beyond our support policy, unfortunately. It’s considered advanced customization. As an option, you can contact Codeable, or find a reputable freelancer on Upwork. Hope for your understanding.

Kind Regards, Roman.
aThemes Support