This topic has 3 replies, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #186344
     alexlii
    Participant

    Hello,

    There are four subsite: brand, shop, community, account in our multisites, and I just want to redirect user to a specific URL once they click the logo of subsites, any simple way or putting short code snippets into child theme,  or custom the url in theme option?

     

    Thanks

    Alex

    #186373
     Kieran_SQ
    Moderator

    Hi,

    If you would like to change the destination URL for the logo you will need to copy the below file from the KLEO main theme to the KLEO Child theme and edit line 152. If the folder page-parts does not exist in the KLEO Child theme already you will need to create it manually.

    /kleo/page-parts/general-header-section.php

    Change from

    <a href="<?php echo home_url(); ?>">

    To

    <a href="https://www.mydomain.com/custom-page/">

    OR (get the current site URL)

    <a href="<?php echo network_site_url(); ?>">

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #215422
     alexlii
    Participant

    Hi @Kieran_SQ,

    With latest version of Kleo, I can not find again: <a href="<?php echo home_url(); ?>">

    Would you please have a check and update it? it might be also helpful others who search the answer.

    Thanks.

    Alex

    #215442
     Kieran_SQ
    Moderator

    Hi,

    The line has changed from the below

    <a href="<?php echo home_url(); ?>">

    To

    <a href="<?php echo $logo_href; ?>">

    You’ll find this code on line 154 (see screenshot)

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)

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

Log in with your credentials

Forgot your details?