Change the logo in the header to a different URL when clicked on in the Kadence theme

Change the logo in the header to a different URL when clicked on in the Kadence theme on child sites. The default state would be the site logo in the header would go to the site URL of the site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'kadence_logo_url', 'custom_logo_url' );
function custom_logo_url( $url ) {
	$url = 'https://www.example.com';
	return $url;
}
1 Like

Change the site login to link to a different URL in the Kadence theme on child sites.

:stop_sign: This code does not do AT ALL what the description says. :stop_sign:

This code changes the link that is used when you click on the logo (in the header).

Please remove that snippet.

I have updated the description to be clearer in what exactly the code snippet does.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.