Important:
This support area is for Kalium 3 users only. Support for Kalium 4 has moved to our new platform at support.laborator.co. If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.

Okay
  Public Ticket #1895157
Changing logo link
Closed

Comments

  • Liz Degen started the conversation

    Hi!

    I was wondering if you could guide me in changing the url of the navigation logo. I know that it's automatically set to link to whatever the "homepage" url is, but my client has set this site up as a child domain and would like the main logo to link to the parent domain, "https://www.ipsidy.com" If you could let me know how to do this, that would be super helpful. I want to make sure I'm editing the theme file properly so I don't take down the whole site. Thank you so much!!

    - Liz

  •  1,563
    Laborator replied

    Hi Liz,

    If you are using the Kalium Child theme then go to Appearance > Editor and in the functions.php file of the child theme add this code:

    if (!function_exists('replace_logo_url')){
        function replace_logo_url(){
            return home_url() . 'https://www.ipsidy.com';
        }
        add_filter( 'kalium_logo_url', 'replace_logo_url', 99 );
    }
    

    Here you can find more information why we use the child theme.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Liz Degen replied

    Hi Art -

    Thank you so much for your reply! I added the code to functions.php in the Child theme. I refreshed the page in a new window, and when you first click the logo in the navigation, it goes to the link "https://www.ipsidy.com/use-caseshttps://www.ipsidy.com" and then a 404 error comes up. It looks like it's just adding the new url on top of the current one. The url works properly on the second click. Any idea why this might be happening?

    Thanks,

    Liz

  •  1,563
    Laborator replied

    Hi Liz,

    Can you please share your site and FTP credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • Liz Degen replied

    Hi again!

    Unfortunately I don't have access to the FTP credentials for this website. I only have WP credentials for this specific URL and I would have to ask before sharing that too. (This is a corporate company and they have a lot of security limitations.) Do you think there's any way around this?

    Thanks,

    Liz

  •  1,563
    Laborator replied

    Hi Liz,

    Can you please share your site credentials then, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group