[Resolved] How do I change the link for the logo?

Home Forums Support [Resolved] How do I change the link for the logo?

Home Forums Support How do I change the link for the logo?

  • This topic has 7 replies, 2 voices, and was last updated 4 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1224095
    Carsten

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

    #1224109
    Leo
    Staff
    Customer Support
    #1224126
    Carsten

    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?

    #1224172
    Leo
    Staff
    Customer Support

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

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

    #1224179
    Carsten

    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/”;
    } );

    #1224183
    Leo
    Staff
    Customer Support

    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?

    #1224198
    Carsten

    Working now, thanks

    #1224252
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.