This topic has 7 replies, 5 voices, and was last updated 9 years by airsidworld.
-
Author
Tagged: logo url
-
June 29, 2013 at 14:56 #137
opingus3
Participant1.how can i edit the logo link to redirect to another page when user is logged in and not back to the homepage
2. how do i also edit the language in the search form one on the homepage page
thanksJune 29, 2013 at 17:52 #143SQadmin
KeymasterHi
1. in header.php line 123 change:
href=””
with
href=””change MY_URL with your desired url
2.
Make sure you have all strings translated. You can find the search form in page-parts/home-search-form.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 4, 2014 at 15:34 #10513FD
ParticipantHi,
I have tried this fix in the v2.3.1 but after login the profile name is added to the MY_URL. So instead of linking to http://www.testpage.com/wall it´s linking to http://www.testpage.com/admin/wall. (If you are logged in as “admin”)
I can´t find the place to fix this. I want the logo link to be http://www.testpage.com/wall after login and when not logged in just http://www.testpage.com.Thank you for helping. 🙂
February 7, 2014 at 17:08 #10690Abe
KeymasterHi,
You are putting a wrong link in there. It should be like:
href=”<?php if ( is_user_logged_in() ) echo "/wall"; else echo get_home_url(); ?>”
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.May 28, 2015 at 23:44 #60454airsidworld
ParticipantHello,
As FD i’d like login users to be redirect to mysite.com/accueil-utilisateur
So as discribe i’ve changed in header.php in child theme
href=”< ?php echo get_home_url(); ?>”
with
href=”< ?php if ( is_user_logged_in() ) echo “/accueil-utilisateur”; else echo get_home_url(); ?>”but when clicking on the logo i get the following url
mysite.com/ “/accueil-utilisateur”Can you please help with this.
June 8, 2015 at 00:16 #61480Abe
Keymaster@airsidworld be carefull to the double quotes in the code. try to retype them
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.June 10, 2015 at 23:07 #61904airsidworld
ParticipantThanks !
I had to retype double quote and delete some spaces. -
AuthorPosts
The topic ‘logo link’ is closed to new replies.