This topic has 7 replies, 5 voices, and was last updated 8 years by airsidworld.

  • Author

    Tagged: 

  • #137
     opingus3
    Participant

    1.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
    thanks

    #143
     SQadmin
    Keymaster

    Hi
    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.php

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

    Hi,

    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. 🙂

    #10690
     Abe
    Keymaster

    Hi,
    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.

    #10724
     FD
    Participant

    Hi,

    Yes, that´s right. Thanks for the help. 🙂

    #60454
     airsidworld
    Participant

    Hello,

    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.

    #61480
     Abe
    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.

    #61904
     airsidworld
    Participant

    Thanks !
    I had to retype double quote and delete some spaces.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘logo link’ is closed to new replies.

Log in with your credentials

Forgot your details?