Viewing 1 replies (of 1 total)
  • Thread Starter nerijusgogas

    (@nerijusgogas)

    OK, so solved issue #2 using this code snippet:

    add_action('after_setup_theme', 'remove_admin_bar');
    function remove_admin_bar() {
      if (!current_user_can('administrator') && !is_admin()) {
        show_admin_bar(false);
      }
    }
    

    I solved issue #3 using this code snippet:

    add_action('wp_logout','ps_redirect_after_logout');
    function ps_redirect_after_logout(){
        wp_redirect( home_url() ); 
        exit();
    }
    

    But I still have issue #1:
    I am using Elementor Hello theme, when a user clicks “Login/Sign up with Google on mobile device, it goes to google desktop website, where user can choose the email to login/sign up with. After login/sign up it goes back to my website desktop version instead of mobile. If user refresh the page it goes to mobile version.

    Can someone help me with this?

    • This reply was modified 2 years, 7 months ago by nerijusgogas.
Viewing 1 replies (of 1 total)

The topic ‘Google Login’ is closed to new replies.