• Hi,
    I use the WooComerce Social Login plugin and I’ve just installed WP User Avatar. I have 2 issues:
    The first one is that the Avatar plugin works fine for people that registered with email, but for some photos it rotates the picture counterclockwise. How can I avoid that?
    The second one is that for people who registered with social login, it doesn’t show the social media picture in the profile. When you go to my account page, you see your social profile picture, but you are not able to use this picture in the profile. How can I fix that?
    Website: http://casemos.com
    Thank you,
    Carolina

    https://wordpress.org/plugins/wp-user-avatar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same error with WooCommerce Social Login.

    Carolina,

    Insert this code in your child theme’s function.php:

    function my_avatar_filter() {
      // Remove from show_user_profile hook
      remove_action('show_user_profile', array('wp_user_avatar', 'wpua_action_show_user_profile'));
      remove_action('show_user_profile', array('wp_user_avatar', 'wpua_media_upload_scripts'));
    
      // Remove from edit_user_profile hook
      remove_action('edit_user_profile', array('wp_user_avatar', 'wpua_action_show_user_profile'));
      remove_action('edit_user_profile', array('wp_user_avatar', 'wpua_media_upload_scripts'));
    
      // Add to edit_user_avatar hook
      add_action('edit_user_avatar', array('wp_user_avatar', 'wpua_action_show_user_profile'));
      add_action('edit_user_avatar', array('wp_user_avatar', 'wpua_media_upload_scripts'));
    }
    Thread Starter carolsaife

    (@carolsaife)

    Thanks Udak… It didn’t work for me. I only have to insert this code in the end of the child theme function.php?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WP User Avatar & Social Login’ is closed to new replies.