-
Author
-
January 20, 2018 at 07:18 #186344alexliiParticipant
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
January 20, 2018 at 17:37 #186373Kieran_SQModeratorHi,
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 solutionIf 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.
December 18, 2018 at 04:51 #215422alexliiParticipantHi @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
December 18, 2018 at 13:28 #215442Kieran_SQModeratorHi,
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 solutionIf 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. -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.