Site Lock Home Page

Home Forums Legacy Support Support queries How-to & Troubleshooting Site Lock Home Page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #39303
    vasilisgtr
    Spectator
    I am posting again about this topic because it is closed on new answers. The redirection worked nice but I noticed that after Site Lock links(like header/footer logos)  send me to the member>profile page and not to my home page. I need to change the core function that sends users to member>profile. How can I do that? It is very important for users to navigate at home page instead of the member>profile page.  
    #39562
    Anshuman Sahu
    Keymaster
    To change the url on logo please add the following code in your wplms-customizer.php file in wplms-customizer plugin : add_filter('wplms_site_link','custom_home_link_site_lock'); function custom_home_link_site_lock($link){ return 'http://your-site.com/home'; } Change this in the function to your home page link : your-site.com/home
    #39666
    vasilisgtr
    Spectator
    I did that but now I can't even login because it redirects me back to the login page.
    #40055
    Anshuman Sahu
    Keymaster
    Sorry that would not work ,please remove that code . You need to override the login-.php and footer.php files for this with the help of child theme . Install blank child theme (available in package) and copy the header.php and footer.php file in it . In child theme header and footer , remove " <?php echo vibe_site_url(); ?> " and place your site url manually in the href parameter . refer : http://prntscr.com/amdzyt but above solution will only work if you use only default header and footer form layout options .
    #40090
    vasilisgtr
    Spectator
    Ok Alex, thanks. I will check it out.
    #40283
    H.K. Latiyan
    Participant
    Please let us known about your findings here.
    #40351
    vasilisgtr
    Spectator
    Hi guys, It worked! And the child theme option is a great solution for the updates too! I also copied transparent header style and everything worked with this header too. Although I think that it would be better if we could choose from here a custom link.
    #40473
    H.K. Latiyan
    Participant
    We haven't added this option in LMS settings. And thanks for confirming that your issue is resolved. So marking the topic as resolved and closing the topic.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Site Lock Home Page’ is closed to new replies.