ResolvedChange Logo Link

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26265
    branchezdigital
    Participant

    Hey can you please guide me how can I change the Logo link normally it is the homepage I need to change the .homepage link to another custom link.

    #26285
    Althemist
    Keymaster

    Hello branchezdigital,

    Not really sure if this can be done. I’ll ask our lead developer Alex to step in and give you directions. Please, note that you’d need to edit the theme header and some functions, so extensive PHP knowledge would be required, as it’s not just a simple URL to replace in the code.

    Regards,
    Dimitar

    #26296
    Alex
    Keymaster

    Hello branchezdigital,

    You can do that from the child theme, which is included in the package.
    In the child theme’s functions.php, just add following function at the end:

    function lafka_wpml_get_home_url() {
            // Just enter the url you want the logo to lead to.
    	return 'https://www.spacex.com/vehicles/starship/';
    }

    Regards,
    Alex

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register