Okay
  Public Ticket #2323794
Logo link
Closed

Comments

  •  2
    DANIEL BASTOS started the conversation

    Hi,

    I need that the logo goes to other link: www.leiloesbr.com.br

    I didnt see where I can change this.

    Best Regards Daniel

  •  1,558
    Laborator replied

    Hi Daniel,

    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.google.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

  •  2
    DANIEL BASTOS replied

    Hi Art,

    Didn't work. Opens a page that has not been loaded.

    Best Regards Daniel

  •  1,558
    Laborator replied

    Hi Daniel,

    I have modified the code to this and now it works properly:

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

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    DANIEL BASTOS replied

    Hi,

    It Worked. Great !

    Thank You, 

    Best Regards Daniel