Okay
  Public Ticket #3729927
Site Logo Link
Closed

Comments

  • yankrymsky started the conversation

    By default, clicking on the site logo takes you to the home page of the site. I'd like modify this to have the site logo link to a page of my choosing. Is this possible?

    {"wp":{"use":false,"adminUrl":"","username":"","password":""},"ftp":{"use":false,"url":"","port":"","user":"","password":"","path":""}}
  • [deleted] replied

    To apply a custom link to the logo in your theme, you can use the apply_filters( 'kalium_logo_url', home_url() ) filter. Here's how you can modify this to add your custom URL:

    Steps:

    1. Open your theme's functions.php file: This is where you'll add the custom filter.
    2. Add the following code:

    function custom_kalium_logo_url( $url ) {
        // Replace with your custom link
        return 'https://example.com';
    }
    add_filter( 'kalium_logo_url', 'custom_kalium_logo_url' );