This topic has 3 replies, 2 voices, and was last updated 9 years by wielandsmith.

  • Author
  • #37014
     wielandsmith
    Participant

    Hi, I added some code to the child theme’s functions.php to lock people out of the main site unless they’re logged in. This can be seen at http://mytalent.la/landing/ (the page is still a mess, I just want to get it to work). If I log in via the form (modal or otherwise), it redirects me to my member page. If I sign in via facebook, it keeps me on the landing page, which I don’t want to do. I’d like ideally to redirect users who sign in to the homepage. If you have a solution for this, I would greatly appreciate it. It’s an amazing theme. I appreciate the support.

    Monica

    #37546
     wielandsmith
    Participant

    So is there any way to get the facebook login to redirect?

    #37719
     Abe
    Keymaster

    Hi, you can make it to match your needs by editing this file wp-content/themes/kleo/kleo-framework/lib/function-facebook-login.php
    It is about line 93 and instead of window.location.reload(); you should come with something like window.location = ‘http://mysite.com/my_page’;

    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.

    #39348
     wielandsmith
    Participant

    perfect! thanks!

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?