Support » Plugin: Login for Google Apps » Pull avatar into posts

  • Resolved Blueresto

    (@blueresto)


    This plugin automatically pulls the avatar from the user’s Google account instead of relying on Gravitar or some other avatar plugin. I’ve been researching how I could include the post author’s avatar next to the title of their post. I’ve found this code:

    <?php echo get_avatar( get_the_author_meta(’email’), '48' ); ?>

    However, this still tries to pull in the author’s gravatar, which doesn’t exist with Google Apps Login plugin. Does this plugin use a different method to pull a user’s avatar throughout the WordPress site?

    I apologize if there is a simple solution to this. I’m still very new to WordPress and I’m not extremely familiar with the codex just yet.

    https://wordpress.org/plugins/google-apps-login/

Viewing 1 replies (of 1 total)
  • Thank you for your message.

    Sorry for any confusion here, but the basic free plugin allows you to authenticate into your existing WordPress user account using Google single sign on. That assumes the email address of your WordPress user is signed up as a Google account too – most email addresses probably are these days.

    We also have Premium/Enterprise versions of Google Apps Login that take care of WordPress user management – e.g. ensuring all your employees from your Google Apps domain (and only those people) automatically have accounts created in WordPress.

    Anyway, it doesn’t sound like you need that functionality. We have a (very inexpensive – $9 or so) premium plugin called Google Profile Avatars that works as an add-on to any version of Google Apps Login, including the free version. That picks up a user’s latest Google profile photo URL whenever they use ‘Login with Google’ to access WordPress, and also replaces their Gravatar throughout the site. That includes BuddyPress avatars which use yet another system…

    Hopefully this explains what you’re trying to find out. If you still need some help getting the profile photo into parts of your WordPress site, maybe it would be easiest to offer support over email. Please feel free to get in touch: contact@wp-glogin.com

    Thanks,

    Dan

Viewing 1 replies (of 1 total)
  • The topic ‘Pull avatar into posts’ is closed to new replies.