Okay
  Public Ticket #2105380
Logo Link in Header
Closed

Comments

  • hrobotics started the conversation

    Hi, I'm looking to change the hyperlink of the logo in the header, so that clicking it will redirect the user to an external homepage rather than the Wordpress front page. Where can I find the code for this in the themes file directory?

    {"wp":{"use":false,"adminUrl":"https://hrobotics.eu/learn/wp-admin","username":"","password":""},"ftp":{"use":false,"url":"","port":"","user":"","password":"","path":""}}
  • [deleted] replied

    Hi hrobotics,

    The logo in our theme uses WP Hook filter to allow users change logo URL to their preferred one:

    function set_custom_logo_url( $old_url ) {
        return "https://newurl.com/";
    }
    add_filter( 'kalium_logo_url', 'set_custom_logo_url' );
    This code should be added in functions.php to change the logo URL.