Site logo

Archived topic

How do I change the link for the logo?

7 replies · Started by Carsten on April 2, 2020

Viewing posts 1–8 of 8

Hi there, how do I change the link for the logo, to link to another page?

Thanks, I added the code snippet to my functions.php in my child theme, but it does not work, it still link to the default page?

Can you copy the and paste the full code you are adding here?

Make sure to highlight the code and click the code button.

I added this in the end of the functions.php. The access to the /start page requires users to be logged in, but this is not the issue.

add_filter( 'generate_logo_href', function() {
return "https://mydomain/start/";
} );

Just checked the site and currently, you are only using the site title and not the logo so the code doesn't work.

Will you be adding a logo?

Working now, thanks

No problem :)

This archived topic is closed to new replies.