Okay
  Public Ticket #823709
Change site logo URL
Closed

Comments

  • Nigel started the conversation

    how do I change the url of my website’s logo? I want it to point to a different URL please.  If you can send me a code snippet to put into my theme's functoins.php that would be perfect. I will then edit it to whatever I want.

  • [deleted] replied

    Hi Nigel,

    This question is related to theme developer and I am unable to give you any solution about this because I am not backend developer.

    Our theme developer Arlind can help you with this, but he is not in the office until 18 July.

    When Arlind come back, just reply to this thread and you will make sure he will see your comment.

    Hope for your understanding :)

  • Nigel replied

    A reminder - please send me the code snippet as I understand your coder should be back by now.

  • [deleted] replied

    Hi Nigel,

    Here is the code to change logo URL:

    add_filter( 'aurum_logo_url', laborator_immediate_return_fn( 'http://custom-url.com' ) );
    This should be added to functions.php and keep for future updates as well. Its custom code just for you.
  • Nigel replied

    IT's changing the url for the whole site. all I want it to do is change the url on the logo. so that when the user clicks the logo in the header they are taken to elegantcv.com instead of elegantcv.com/store

  • [deleted] replied

    Hi Nigel,

    You haven't followed my steps that I gave you thats why the logo URL wasn't applied. So I've just added this code in functions.php (end of file):

    // Aurum Logo URL fix
    add_filter( 'aurum_logo_url', laborator_immediate_return_fn( 'https://www.elegantcv.com' ) );

    And it fixed the issue!

  • Nigel replied

    It's because I want to add it as a code snippet :-/

    using: https://wordpress.org/plugins/code-snippets/

    this way I don't have to keep repasting it for every update


  •  1,558
    Laborator replied

    Hi Nigel,

    Then better use the Child Theme and your changes will not be lost on every new update.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group