This topic has 2 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #141810
     SimplyElope
    Participant

    Hello,

    I was wondering if there is a way at assign a link to my custom logo. I would like (when someone clicks on the logo) for it to go to my core site and not the directory home page.

     

    #141823
     Kieran
    Participant

    There may be a more dynamic way of targeting this with a little PHP but I am unaware of it if there is.

    If you’re using the child theme the following method should work for you – this assumes that you’re running the very latest theme update.

    1. Create a folder in your child theme called page-parts

    2. Copy general-header-section.php located in the main theme (this can be found at /wp-content/themes/kleo/page-parts/general-header-section.php) to your newly created folder

    3. Edit line 152 of the file general-header-section.php in your child theme and replace <a href="<?php echo home_url(); ?>"> with <a href="http://www.MYDOMAINNAMEHERE.com">

    Remember to always backup the original file locally before making any changes.

    #142329
     Radu
    Moderator

    Thank you @Kieran for providing solutions

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?