Navigation Issue

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #237956
    rangu
    Participant
    Hi Link 1 When I go https://my.icba.org.in/ it opens Link 1, But instead when a user goes to the web page without logging in it should take the user to Link 2. Link 2 Whenever a user goes to the website he should be taken to Link 2. Link 1 page should not be shown. Link 3 If the user is logged in to the browser he should be taken to Link 3 instead of Link 1. What  I am saying is do not keep Link 1 page, instead show Link 2 and Link 3 in place of Link 1.
    #238035
    logan
    Member
    Hello, Add this code in your wplms-customizer.php file in wplms customizer plugin : add_action('template_redirect',function (){   if(is_home() || is_front_page()) { if(is_user_logged_in()){ wp_redirect('http://www.link1.com'); // give the url of link 1 exit(); }elseif(!is_user_logged_in()){ wp_redirect('http://www.link2.com'); // give the url of link 2 exit(); }else{ wp_redirect('http://www.homepage.com'); // give the url of link 3 exit(); }   }   },1);   also there is a setting in wp-admin >> lms >> setting >> student || instructor redirect after login. please use that too.
    #238079
    rangu
    Participant
    This reply has been marked as private.
    #238144
    Diana
    Participant
    This reply has been marked as private.
    #238230
    rangu
    Participant
    This reply has been marked as private.
    #238243
    Diana
    Participant
    This reply has been marked as private.
    #238436
    rangu
    Participant
    The login is working now. I know those settings but, when I go to the admin page it is showing blank page. So I wanted those links to keep redirects to normal pages. Could you please send those two links as mentioned above
    #238533
    logan
    Member
    Pal :) sorry, i was on holiday. what is the issue, which two links share those two links so that i can modify the code,
    1. link 1....??
    2. link 2....??
    Share the screenshot or video of the blank page, Visuals are always more effective than just the written word. An image is more colorful than a group of words, literally and figuratively. People tend to stop and look at compelling visuals. Our attention is more readily attracted to a picture rather than simply a group of words. In an instant, an image, if curated well, can convey an idea or an emotion which will stick with you much longer than words on a page.
    #238551
    rangu
    Participant
    ..
    #238553
    rangu
    Participant
    This reply has been marked as private.
    #238631
    logan
    Member
    This reply has been marked as private.
    #238652
    rangu
    Participant
    I already have the background image but it does not show there. But when I click on any element then the backgroung image shows up.  
    #238685
    rangu
    Participant
    Link 1 The above link is shown when not logged in. It is blank even though I kept the background header image like below. When I login it shows the background image link 4 How to solve it?
    #238779
    logan
    Member
    This reply has been marked as private.
Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Navigation Issue’ is closed to new replies.